we are trying to integrate q2a with a custom php application.
We would ideally not want to rebuild the header and footer inside the q2a app and then have to maintain it in both apps.
Also the header and footer is not static but many things change depending on whether the users is logged in, what actions he has taken in the custom php app etc.
So the header and footer can be quite personalized and the logic is already built in our custom php app. Again.... we dont want to duplicate all this inside q2a.
What would in your opinion be the best way to tackle this? We were thinking of building some sort of web servce that returns the header and footer and then make an advanced theme that consumes this service to inject the header and footer for a given signed in user.
Any other more elegant way you can propose?