Hacker News new | ask | show | jobs
by celalo 5435 days ago
For those wants to know more about Symfony, I can assure you Symfony and Yii are at different leagues. Symfony is so much more featured than any PHP framework out there. Yml based settings and modeling plus the Admin Generator is one of a kind. I believe it is even better than Django and Rails, when it comes to flexibility and extensibility.
4 comments

Just curious about that first sentence there... are you saying that Symfony and Yii are both in the same league, different from everything else, or that Symfony is in a league different from the one that Yii is in?

I haven't looked at Symfony, but I was really impressed by the event driven nature of Yii, and I couldn't wipe the smile off my face when I started looking into the active page elements.

I think 2.0 is as good an excuse as any to check out Symfony though, so goodbye to the weekend :)

I was meaning "Symfony is in a league different from the one that Yii is in"

I value Symfony so much because you can create all model classes, crud forms etc from command line (as much as you want as you update your schema) just based on specifications from a easy to manage yml file. Also with ORM behaviors, you are in control of everything about your model.

In that case I wonder what makes you compare the two frameworks and what you actually think the two are in such a separate league. You keep talking about Symfony without actually comparing it with Yii as your initial statement made me think you would. :)
Sorry about misleading, when I talk about symfony and tell about its features, I tried to pick superior parts where Yii lacks
I also have some experience with symfony, at least 1.0. If you are one of those who thinks rails seems nice, but the job demands php/you prefer php, symfony is a good choice.

symfony was the project that made me realize that php doesn't need to be ugly.

How is 'yml based settings' one of a kind, or a deal-breaker when choosing frameworks?
I should not say 'yml based settings' is a deal-breaker but it sure is a very good way of configuring the project. I personally take advantage of this convenience quite often. You can easily update your schema through yaml files and you can build&generate your whole model including auto-generated forms & filters for CRUD in a glimpse. I believe this is very friendly with agile principles.
But you can just as easily update settings stored in other formats.
Yes you are right. But It does not have to be all about yaml format itself. Instead, Symfony utilizes this format to get things done in a fast and neat way, in comparison to others.
Does Symfony had Lazy loading? which is the reason behind the performance of Yii.