Welcome To the Progress World with Ruby On Rails...

Hello My Friends, First thing First Welcome to Ruby On Rails Example Blog. Here We will talk about
the Ruby On Rails Overview, beginners and Professionals programming tutorials. I'm sure you'll like these basic guide. So Let's start with Ruby on Rails guidelines.

I'm Sure, You guys will first want to knows that "WHAT IS RAILS" "WHAT IS RUBY"hat is Rails?

What is Rails?
Rails is a web application development framework written in the Ruby language. It is designed to make programming web applications easier by making assumptions about what every developer needs to get started. It allows you to write less code while accomplishing more than many other languages and frameworks. Experienced Rails developers also report that it makes web application development more fun.
Rails is opinionated software. It makes the assumption that there is the "best" way to do things, and it's designed to encourage that way - and in some cases to discourage alternatives. If you learn "The Rails Way" you'll probably discover a tremendous increase in productivity. If you persist in bringing old habits from other languages to your Rails development, and trying to use patterns you learned elsewhere, you may have a less happy experience.
The Rails philosophy includes two major guiding principles:
  • DRY - "Don't Repeat Yourself" - suggests that writing the same code over and over again is a bad thing.
  • Convention Over Configuration - means that Rails makes assumptions about what you want to do and how you're going to do it, rather than requiring you to specify every little thing through endless configuration files.
What is Ruby?
Ruby is object-oriented: every value is an object, including classes and instances of types that many other languages designate as primitives (such as integers, booleans, and "null").
Variables always hold references to objects. Every function is a method and methods are always called on an object. Methods defined at the top level scope become members of the Object class. Since this class is an ancestor of every other class, such methods can be called on any object. They are also visible in all scopes, effectively serving as "global" procedures. Ruby supports inheritance with dynamic dispatch, mixins and singleton methods (belonging to, and defined for, a single instance rather than being defined on the class). Though Ruby does not support multiple inheritance, classes can import modules as mixins.
Ruby has been described as a multi-paradigm programming language: it allows procedural programming (defining functions/variables outside classes makes them part of the root, 'self' Object), with object orientation (everything is an object) or functional programming (it has anonymous functions, closures, and continuations; statements all have values, and functions return the last evaluation). It has support for introspection, reflection and metaprogramming, as well as support for interpreter-based[38] threads. Ruby features dynamic typing, and supports parametric polymorphism.
According to the Ruby FAQ,[39]
 "If you like Perl, you will like Ruby and be right at home with its syntax. If you like Smalltalk, you will like Ruby and be right at home with its semantics. If you like Python, you may or may not be put off by the huge difference in design philosophy between Python and Ruby/Perl."

So Getting Started with Rails

This guide covers getting up and running with Ruby on Rails. Just Wait for My First Post about Ruby on Rails...

Comments

Post a Comment