Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><strong>Ruby</strong> is an object oriented programming language. <strong>Rails</strong> is a framework built in Ruby for developing web applications. I have been using rails for about 6 months now, and its been great so far. If you want some of the same features of rails, you should also consider django (python), cakephp or symfony (php).</p> <p><strong>Pros:</strong> </p> <ul> <li><strong>MVC Architecture</strong> - Code is organized, broken up into small, manageable<br> files</li> <li><strong>Database abstraction</strong> - you dont have to write SQL queries, database types are easily interchanged</li> <li><strong>Convention over Configuration</strong> - rails automatically knows file, database, variable names without explicitly being specified</li> <li><strong>Fast Development</strong> - Rails requires less lines of code because of all the functions it automatically takes care of and is more expressive, resulting in faster development</li> </ul> <p><strong>Cons:</strong></p> <ul> <li><strong>Slower</strong> - this is often debated, but a comparable rails application is slower than its PHP counterpart. Rails 3 is supposedly going to include speed increases. </li> <li><strong>Less Literature</strong> - rails lacks the plethora of tutorials, books and api that is available for PHP.</li> <li><strong>Less Hosting Support</strong> - Not all shared hosts support rails, but you can set it up on any vps or dedicated. Deployment is also a bit tougher in Rails as opposed to PHP</li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload