Live data from Hacker News

Symfony 2.0 is now available

symfony.com

31–40 of 75 posts

Re: Symfony 2.0 is now available

#31
post #26
post #22

Earlier quoted context omitted.

Sounds a little like apps in Djangoland. Maybe someone who knows both frameworks could confirm.

This has been a core idea in both Midgard MVC and MidCOM PHP frameworks, though we called them components. http://wiki.openpsa2.org/index.php/MidCOM_Components https://github.com/midgardproject/midgardmvc_core/blob/maste...

I really hate why Django calls them 'apps'. Kinda difficult to distinguish between a working application or a Django 'app'.

Re: Symfony 2.0 is now available

#32
I'm woking with Symfony 2 now for a half-year. And I can say that it is brilliant. Dependency Injection that they have implemented is a really nice feature. It is also great that it consists of de-coupled components. You can use any of the components including Dependency Injection in ur PHP projects.

Re: Symfony 2.0 is now available

#34
post #21

Earlier quoted context omitted.

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.

Re: Symfony 2.0 is now available

#35

I'd never heard of Symfony before. Can someone point to some tech details about the framework? The site does a lot of explaining what a framework is, and some general philosophies - but not what this particular framework is.

Symfony is a rather popular PHP framework; it is commonly regarded in the PHP community as one of the higher-quality frameworks (amidst many half-baked frameworks that cause serious problems once your use case moves past the blog tutorial). In terms of functionality, it's basically for PHP what Rails is for Ruby, but unlike many other PHP frameworks, it's been designed with the platform in mind rather than trying to…

Symfony is closer to django than to rails (in terms of APIs, I believe the project itself is built in a more modular manner) though, many of symfony's features are almost straight ports of django features, sometimes renamed.

Re: Symfony 2.0 is now available

#36
post #33

Can someone comment on Symfony vs. CodeIgniter? I've done a few projects in CI - any big compelling reason to switch to Symfony for the next one?

Symfony has cool command line interface to set up projects, crud and all model classes etc. It also has backend admin genretor. There is no built in ajax and javascript function in codeigniter (But you can add it as plugin)

Re: Symfony 2.0 is now available

#37

I'm woking with Symfony 2 now for a half-year. And I can say that it is brilliant. Dependency Injection that they have implemented is a really nice feature. It is also great that it consists of de-coupled components. You can use any of the components including Dependency Injection in ur PHP projects.

Same here, I have been using it on a new project since November 2010 and it has been great, following the commits on Github and upgrading when necessary has been relatively easy. This project has really opened my eyes to the power that Git + Github (when used properly) can bring to open source software.

I would also like to add that Fabien Potencier has been amazing and is officially a coding Robot!

Re: Symfony 2.0 is now available

#38
post #8

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.

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…

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.

Re: Symfony 2.0 is now available

#39
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.

Re: Symfony 2.0 is now available

#40
post #33

Can someone comment on Symfony vs. CodeIgniter? I've done a few projects in CI - any big compelling reason to switch to Symfony for the next one?

There is also sfGuardPlugin, a great plugin for user management. It has everything about user management, easily integrates with symfony. Saves you so much time.
Post reply on HN