May 31, 2012, by admin
what is Ruby on Rails ?
Ruby on Rails, often shortened to Rails or RoR, is an open source web application framework for the Ruby programming language. 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 requires 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 supposition that there is a “best” way to do things, and it’s designed to persuade that way – and in some cases to discourage alternatives. If you learn “The Rails Way” you’ll perhaps discover a tremendous increase in efficiency. If you continue 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 contains quite a few 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 suppositions about what you want to do and how you’re going to do it, rather than requiring you to denote every little thing through endless configuration files.
REST is the best pattern for web applications – organizing your application around resources and standard HTTP verbs is the fastest way to go.