Creating a website with multiple apps, plain PHP apps and static pages with Symfony? -
my boss big fan of buzzwords , insists should create our new website using symfony 2.
i have used symfony develop several apps, problem encounter website consists of several apps, static webpages , old php apps consisting of spaghetti code.
- would need various installations of symfony, 1 per app or can use same? use bundles this, or there better way?
- does make sense serve static webpages using symfony?
- if install symfony on root of site can use create common login system, can instruct symfony ignore requests old apps?
- just suggest: apps use 1 symfony installation , bundle each app
- for sake of coherent integration serve static pages symfony, perfomancewise doesn't make difference, since they'll served nicely symfony cache. of symfony 2.2 integration of static pages pretty straightforward done frameworkbundle:template:template in routing configuration of bundle. (e.g. see here: http://symfony.com/blog/new-in-symfony-2-2-cache-support-for-static-pages)
- as requests old apps, should think these best caught , redirected new corresponding apps whilst rewriting params according needs of new apps. done htaccess.
Comments
Post a Comment