New Project: Ruby on Rails or Symfony2 ( or other framework) New Project: Ruby on Rails or Symfony2 ( or other framework) symfony symfony

New Project: Ruby on Rails or Symfony2 ( or other framework)


Personally, I'd recommend that if you're starting a new project which happens to be the largest project you've ever had to do then you should stick with what you know best. This happens to be PHP.

I've used Ruby or Rails. In fact, we have some production apps at our company that use RoR. The best way I learnt RoR was to work on small projects. I would never have considered to choose a programming language which I'm not familiar with and then on top of that learn a new framework to start coding a big project.

As for Symfony2, we started using it a couple of weeks ago. Symfony2 is an excellent framework and looks very promising. It's clean, nicely decoupled and fast. However, we ran into too many bugs/headaches/inconsistencies in Symfony2 to continue using it. We will start working on it again once it has matured and the documentation grows (lots of the docs are now out of date). Hopefully, they'll release some sort of Jobeet tutorial but for Symfony2.

Moving on to CakePHP. CakePHPs code base is old. In fact, it works fine on PHP 4.3.2. It doesn't take advantage of all the goodness that PHP5 has to offer (absract classes, interfaces, private & protected properties, exceptions, magic methods, annotations, pass objects by reference etc.) CakePHPs database abstraction layer, whilst it has had improvements, is not incredibly efficient once your database structures becomes too complex (many joins for example) it crumbles quite badly.

Moving on to Symfony 1.4 which I've used for many large projects

I enjoy using because:

  1. PHP5
  2. Event system
  3. Dependency Injection
  4. Caching system
  5. Forms (nice integration into Doctrine 2) In fact, this is my favourite feature.
  6. Many plugins (sfGuard for user management, for example)
  7. Twig (nice templating language)
  8. Highly configurable
  9. Scalable (although not as fast as Symfony2)
  10. A lot of documentation (Jobeet tutorial is great)

If PHP is for the moment your forte and you need to start working on a large project then start using a PHP based framework as you know the language syntax and functions the best.

Move onto RoR when you have a small project to do.

Just my 2 cents.

Best of luck.


To me Symfony2 has been great so far. Documentation is scarce compared to Symfony1.x but it's much easier to get started in Sf2 and, with things being very explicit, requires less knowledge of how the framework works internally.

There's an app/check.php script that will warn you of any dependency needed to run it, and support mostly happens in their mailing list which is very active (didn't even know there was a BB). Some components, like Twig, also have their own lists.


This is an old topic but things have changed a bit and I would recommend Symfony2. Their current documentation is great (symfony.com) and its much easier to learn for newbies. I did try RoR but with symfony I just got into it much quicker.