Click to See Complete Forum and Search --> : Coding Idea - EasyTemplate


codepo8
01-22-2003, 08:28 AM
I had this idea in my head for a long time and already used it in a
half baked version in my free scripts.

A small collection of PHP functions that allow a clean separation of
PHP Logic and HTML layout without relying on special tags or constructs,
that are annoying when you develop the templates without the PHP engine.

Please tell me what you think:

http://www.onlinetools.org/tools/easytemplate/index.php

tomhath
01-30-2003, 10:50 PM
Seems like a reasonable approach.

If you're not already familiar with it, you might want to take a look at XSLT transformations. They're a different approach to the same problem; more powerful but doubtless harder to work with.

http://hotwired.lycos.com/webmonkey/98/43/index2a.html?tw=authoring