Ruby on Rails/Introduction

From Wikibooks, open books for an open world
Jump to: navigation, search
  Index Next: Getting Started/Install on Windows

Ruby on Rails, or often seen as RoR or just Rails, is an web application framework written in the programming language Ruby. Rails was created to be a project management tool for "37signals". Quickly, it became one of the most popular frameworks on the web and its ideas and philosophies has inspired many frameworks in different languages.

Features[edit]

  • Rails supports agile software development
  • Rails has a short and very intuitive language
  • Single blocks of code are intended to be short and clear
  • Rails is very flexible
  • Rails comes with a testing framework
  • The framework follows the principles of DRY (Don't repeat yourself)
  • Rails has some conventions: these allow quick development and consistent code
  • Rails uses the MVC-Architecture (Model-View-Controller)
  • Rails comes with an integrated server for local testing
  • Applications with Rails are RESTful