About Ruby on Rails
Ruby on Rails or also simply termed as Rails is an open source Web application framework that is written in Ruby, a general purpose programming language utilized primarily in Web programming.
What is the idea behind Ruby on Rails?
Ruby on Rails is based upon the pattern of Model-View-Controller, which splits your application into three main parts:
What are the Guiding Principles of Rails?
There are certain guiding principles on which the popularity of Rails is based.
Opinionated: Rails unlike Perl, which is non-opinionated software, is cited as opinionated. For numerous problems that are to be solved by Web application developers, there are specific Rails ways. In case you work with the Rails conventions, you’ll be left with fewer decisions to make and you’ll discern more of what you require is already there. Thus, the benefit is enhanced development, better collaboration, and easier upkeep.
Convention Over Configuration: It means you’ll be more productive. You won’t have to devote time in setting up configuration files. In addition, you’ll devote less time in thinking about what names to design and where things go. And, since other developers know the same conventions, it’s easier to collaborate.
Don’t Repeat: In software development, code reuse remains a basic technique. Rails primarily works on the advantage of Ruby’s multiprogramming features to not only reutilize code, but also eliminate code, wherever possible. Having knowledge regarding Rails conventions makes it easier to create entire simple Web applications with just some lines of code.