I have an outdated application that I would like to move to Symfony2. This application is not created in MVC, it is not compatible with PSR-0, it is a very inherited application in which "/search.php" points to the file "search.php", and menus, headers and footers include different files.
If I could somehow connect this application quickly and dirty to Symfony2, and then start moving the pieces to it one at a time to the Symfony2 application architecture, which would be ideal. I really would not want to try to make a waterfall, to convey all this, and then do some massive update after 3-6 months. Can anyone recommend a way to execute a native php script that includes things like mysql queries in a Symfony2 controller or some other way to do this? I am currently browsing, possibly files in php or twig templates. Thanks!
source share