Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've looked through some source code in the Symfony 2 components. The code is well organized, commented, and most of all it is of high quality.

As far as I am concerned, Symfony 2 is the gold standard example for developing a PHP project of any kind.



i researched a few php frameworks (sy2, zend, cake, li3, kohana, etc.) a little while, and by far i'm most satisfied with lithium (li3, http://lithify.me/). depending on 5.3 seems to open up a wide range of possibilities and oftentimes i feel like 'this is the way to do it', whereas i felt like 'the framework is getting in my way' with sy2 for example.


what do you think about Yii framework which is also gaining popularity these days,


I used Yii for a little bit while trying to decide if I wanted to use it or Symfony 2, and I just didn't like it. The page caching felt horribly clunky to me, and there was no built-in way to manage HTTP headers.

Ultimately though, I didn't decide against Yii because of what it couldn't do, but decided on Symfony 2 because of what it did do. It was just a more pleasant experience, and I never felt like I had to fight the framework to do what I wanted to do. Sure, it had a steeper learning curve than Yii (I started using it in the preview release stage, when documentation was in flux), but I feel that it made me write better code.


I think it's disgusting. It tries to use the component model, similar to ASP.NET. Even Microsoft realized what a disaster it was, and the community moving to ASP.NET MVC, which is similar to traditional frameworks.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: