Sorry I'm not sure if I was very clear: You set up a module/action in symfony to create the content for the portion of the page that you want to use symfony for. You could just export the html for the portion without the whole page decoration.
Then in standard PHP, you use an include (not sure you can do this over http) or you just open up the file and read the contents and out put it along with the rest of the page. Tom Haskins-Vaughan wrote: > So what if you use a PHP include to insert a portion of page that has > been rendered by symfony? > > > Balaji Srinivasan wrote: >> Hi Tom >> That works if the full page was served by symfony. We already use >> that. But now we have come to the point where portions of the page >> could be migrated to Symfony. In that case the full page will be >> served by the PHP code but we want portions of it to be rendered by >> Symfony. >> Balaji >> >> On Feb 17, 2008, at 1:43 PM, Tom Haskins-Vaughan wrote: >> >>> Hi Balaji, >>> >>> I've thought about this for an app I wrote in PHP that's in use at the >>> moment. I was thinking of putting symfony in a sub directory of the >>> web >>> root: www.domain.com/symfony/ >>> >>> There were going to be session issues, that I think someone on the >>> list >>> suggested possible solutions for, but that I never explored in depth. >>> >>> The two apps could use the same database. >>> >>> I know this isn't a comprehensive answer but hope it helps >>> nonetheless. >>> >>> Tom >>> >>> Balaji Srinivasan wrote: >>>> Hi There >>>> I have a current application that was developed in plain PHP. I want >>>> to migrate it over to Symfony. Instead of rewriting everything at one >>>> shot, I was wondering if there was a way where I could migrate >>>> portions of the web page (akin to component-slots) over to symfony >>>> and >>>> have it embedded in the legacy webpage. >>>> Is there a way to achieve this? This would help in the migration (and >>>> I suspect it will also encourage more people to migrate to Symfony). >>>> >>>> Thanks >>>> Balaji >>>> >>>> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---