Hi Martin.
On 07.04.02 (10:00), martin langhoff wrote:
> I am trying to figure out a way to use midgard in a hybrid
> site. Some pages wil be served completely from Midgard, so I
> have the navigation, style, images, everything, developedin
> midgard. So far, so good.
>
> Now, several pages of the website have been developed
> separately in PHP. Their development track is completely
> separate from the stuff that midgard manages, and the logic is
> quite complex and hairy. I don't want it mixed with Midgard at
> all.
Understandable, and a standard problem.
> Now, I would like to be able to keep those pages as separate
> files that when served call a Midgard function (indicating the
> relevant site/style) that should build the HTML framework.
I'm not sure whether I understand your demands correctly.
Would it fulfill your requirements doing it the other way round,
by calling your outside applications via
include("/path/to/application.php");
from Midgard pages? Midgard would build the layout and
navigation stuff from the style associated to the page you're
calling your application from.
> I /could/ put everything in midgard, but, trust me, debugging
> complex code is not fun when it is enveloped in more complex
> code to handle display issues.
No doubt.
> I've looked into filetemplates, but it looks aied to address
> something different, as the example is the old admin site
> /completely/ done with files. I am not sure whether a hybrid
> approach is possible. And filetemplates has been labeled
> unstable by Emile...
I never tried them ... ;)
phr
--
Linksystem Muenchen GmbH [EMAIL PROTECTED]
Schloerstrasse 10 http://www.link-m.de
80634 Muenchen Tel. 089 / 890 518-0
We make the Net work. Fax 089 / 890 518-77
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]