Web Hosting > Ruby on Rails
Spiral Hosting deliver leading technology solutions through our high performance servers and feature-rich hosting packages.
Ruby on Rails is included at no extra cost on all our linux-based web hosting and reseller packages.
This page aims to explain how to get started with Rails, an innovative and powerful development framework.
It's perfect for creating code for blogs, forums, online communities, e-commerce and other projects.
What is Ruby on Rails?
Ruby on Rails (often shortened to just Rails) is an open-source Web 2.0 application framework written in Ruby. It is a real-world programming language that allows application development with less code, minimal configuration and maximum simplicity.
Ruby follows the Model-View-Controller architectural pattern, which allows developers to separate data (model) and user interface (view) in their applications and therefore they can re-organise data without having to re-code all the user interfaces.
There are two fundamental principles behind Ruby on Rails:
Ruby on Rails (often shortened to just Rails) is an open-source Web 2.0 application framework written in Ruby. It is a real-world programming language that allows application development with less code, minimal configuration and maximum simplicity.
Ruby follows the Model-View-Controller architectural pattern, which allows developers to separate data (model) and user interface (view) in their applications and therefore they can re-organise data without having to re-code all the user interfaces.
There are two fundamental principles behind Ruby on Rails:
- DRY - Don't Repeat Yourself
All information is in a single location, so the developer does not need to specify column names in class definitions. Ruby can retrieve this information from the database. - Convention over Configuration
A developer only needs to specify unconventional aspects of their application. For example, if there's a class Sale in the model, the corresponding table in the database is called sales by default. It is only if someone deviates from this convention, such as calling the table "products_sold", that they need to write code regarding these names.
Ruby on Rails Resources
- Official Ruby on Rails Homepage | Books, tutorials and manuals
- Screencasts: Create a weblog in 15 minutes | Putting Flickr on Rails
- Presentations: Roskilde '04: Introduction to Rails | Amazon '06: Programming Happiness
- Recommended Reading: Ruby on Rails Cheat Sheet | Summer of Rails
- RailsLodge.com: A RoR plugin directory with documentation and member reviews.
- On Amazon: Agile Web Development with Rails | Ruby on Rails for Dummies
