Get Started with Ruby On Rails
Posted by - NA - on 30 August 2005 05:47 PM
Don't know where to start with Ruby on Rails? We've got you covered!
Ruby On Rails
Ruby On Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. From the Ajax in the view, to the request and response in the controller, to the domain model-wrapping the database, Rails gives you a pure-Ruby development environment. To go live, all you need to add is a database and a web server.
Note: we use Ruby with Passenger while cPanel uses Ruby with Mongrel, so the cPanel Ruby app is not available.
Just Ruby (without Rails)
If you would like to use Ruby without the Rails framework (just like PHP is used) then you probably want to learn about eRuby. Although eRuby does not offer the same framework and structure that Ruby on Rails does, it makes it easy to upload a Ruby script file (an 'rhtml' file) that works once uploaded. There is no need to start or stop a server like you have to do with Rails.