News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Leaseweb Labs Blog:
Migration to Symfony2 continued
February 09, 2012 @ 11:51:59

On the LeaseWeb Labs blog there's a continuation from a previous post about migrating your Symfony1 application over to Symfony2. In the first part of this series of posts, Stefan Koopmanschap talked about wrapping your code to make it work. In this second post, Maurtis van der Schee tackles two issues Stefan mentioned - performance problems and handling authorization/authentication.

On December 21, 2011 Stefan Koopmanschap wrote an excellent article on this blog titled "Painless (well, less painful) migration to Symfony2." [...] We were very much inspired by his passionate elucidation and we were fully convinced of the urge to start migrating to Symfony2 as soon as possible. However, he also provided us with a "A word of caution" about 2 things: performance and authentication/authorization. This might get some people worried, but not us: it challenged us to find a solution for those two open issues.

They explain why these two things are a problem and some of their solutions they've created - a .htaccess for routing and manually replicating the Symfony2 session in the Symfony1 code. Included in the post are the rewrite rules and code to make these two things happen (and a small configuration change to make them work).

0 comments voice your opinion now!
symfony2 migration wrapper authentication performance authorization


blog comments powered by Disqus

Similar Posts

Tobias Schlitt's Blog: Radar charts, MS SQL support, dialog system and greetings from spiderman!

Liip Blog: Updating old Symfony2 CMF projects

Job Posting: Ning Seeks Web Application Performance Engineer (Palo Alto, CA)

ServerGrove.com: Creating console commands with Symfony2

PHPClasses.org: PHPNG Dramatic Speedup Features Coming in PHP 6 Release


Community Events





Don't see your event here?
Let us know!


framework refactor code symfony2 opinion developer unittest testing release list threedevsandamaybe language install series laravel configure introduction community interview podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework