====== Symfony 2 ====== Please note that Symfony 2 is not yet ready for production. **The final release is planned for late 2010** and will only support PHP 5.3.2. In the meantime, we highly encourage you to use the current symfony 1.4 stable release for all your projects. update 2011-05-19: Symfony standard 2.0 Bêta 1: [[http://symfony-reloaded.org]], [[http://symfony.com/]] [[http://symfony-reloaded.org/quick-tour-part-1|A Quick Tour of Symfony 2.0]] KNPLabs est impliqué dans symfony2, [[http://www.knplabs.com/en/contributions|leurs contributions]]: * [[https://github.com/knplabs|KNPLabs's GitHub]] * [[http://symfony2bundles.org/|Symfony2 Bundles]]: Symfony2Bundles is a spontaneous community initiative! Its purpose is to help us to find the best Bundles. Symfony2Bundles inspects Bundles and give them an internal ranking, based on GitHub followers and forks, the frequency of the commits, the quality of documentation and tests, and more to come. These criterions are mixed up and result in an internal rank we use to highlight the best Bundles. * [[https://github.com/Herzult/ForumBundle|ForumBundle]] offers a simple Symfony2 forum. * [[https://github.com/knplabs/MenuBundle|MenuBundle]] provides object oriented menus for your Symfony2 project. The core menu objects can even be used outside of Symfony2. * [[https://github.com/FriendsOfSymfony/UserBundle|UserBundle]] provides authentication features for your Symfony2 Project. Compatible with Doctrine ORM & ODM. * [[https://github.com/knplabs/TimeBundle|TimeBundle]] provides helpers for time manipulation like "3 minutes ago", "2 weeks ago" ... * [[https://github.com/knplabs/TestSessionBundle|TestSessionBundle]] adds a test session storage that uses a file to store session information. It allows functional tests to use the session properly. * [[https://github.com/knplabs/ImagineBundle|ImagineBundle]] will provide image manipulation functionality to your Symfony2 based projects * [[https://github.com/knplabs/SnappyBundle|SnappyBundle]] provide HTML to PDF/image to your Symfony2 projects. You should have [[https://github.com/knplabs/snappy|Snappy]] (php5.3 branch) installed in your src/vendor dir and registered in your autoload. You also need the wkhtmltopdf and wkhtmltoimage executables provided by wkhtmltopdf. * AND MORE on https://github.com/knplabs .. Press: * [[http://www.journaldunet.com/developpeur/php/fabien-potencier-symfony-2-0-et-cloud-computing.shtml|"Symfony est le premier framework PHP intégré à Microsoft Azure"]] par Fabien Potencier (Sensio Labs). ===== Tips ===== ==== DI/IoC ==== Dependency Injection / Inversion of control It will be nice to get local or remote (SOA) intanciation of injected services, like within Spring Framework. * [[http://groups.google.com/group/symfony-devs/browse_thread/thread/779605b98ecb6197/57473e64bb236d09#57473e64bb236d09|discussion on symfony-devs]] * I think the hack should be done near [[https://github.com/symfony/symfony/blob/master/src/Symfony/Component/DependencyInjection/ContainerBuilder.php|Symfony\Component\DependencyInjection\ContainerBuilder{createService()]]