Comparing PHP/symfony and Ruby on Rails

I’ve had the opportunity to develop SaaS products in both PHP/symfony and Ruby on Rails over the past year. Being very popular development frameworks, there have been numerous discussions comparing the two, along with anything else to make web apps. With first-hand experience, I wanted to offer my thoughts from a technical CEO perspective. Here are the pros of both frameworks:

PHP/symfony

  • PHP language – PHP is a mix of a variety of languages like C, C++, and Perl making it is easy to pick up for classically trained programmers and newbies alike
  • Developer availability – PHP, an all purpose and wildly popular web programming language, makes it easy to find experienced developers
  • Deployment – symfony apps are very easy to deploy without bringing the web app down using rsync, assuming your script caching isn’t checking file timestamps every request (which isn’t the fastest)
  • MVC separation – symfony’s approach to the Model-View-Controller is very intuitive and logical being based on OOP and folder structures

Ruby on Rails

  • Ruby language – expressive and readable language that has amazing flexibility to do things like modify a class at run-time
  • ActiveRecord – extremely elegant Object Relational Mapping that requires very little code to layout table relationships and enforce constraints
  • Lines of code – yes, it’s true, you can develop a sophisticated web app in RoR with fewer lines of code that you would expect
  • Plugins & gems – RoR’s plugins, as well as Ruby gems, provide a wealth of modular functionality

I’m a big fan of both platforms — you can’t go wrong with either.

About David Cummings
Software entrepreneur

4 Responses to Comparing PHP/symfony and Ruby on Rails

  1. Pingback: Cons of Ruby on Rails Compared to PHP/symfony « Entrepreneur Musings - David Cummings

  2. My friend on Orkut shared this link with me and I’m not dissapointed at all that I came here.

  3. Pingback: Enrico Stahn » Blog Archive » Comparison: Symfony vs Ruby on Rails

  4. Pingback: Symfony Rocks? | SymfonyLab

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>