* Mag <[EMAIL PROTECTED]>:
> I am searching for a REAL simple templateing
> class/package
>
> I have googled for this and basically SMARTY and PAT
> is too bulky, the people who will be using this script
> will be pretty dumb and all I can trust them to do
> would be something like this:
>
> <header>
> <category> ---- <contents>
> <footer>
>
> and the template should have a cacheing feature...

I use Smarty. The thing about Smarty is it can be as simple or as
complex as you want it. I personally feel you could do exactly as you
describe with it -- just tell your designers the bare minimum of what
you will allow in a template.

You might look into Savant as well -- but the idea behind Savant is that
a template is simply another PHP page, only you do code related to
display logic only. I don't believe it does caching, either (though I'm
unsure of that point).

PEAR also has a number of templating systems, and I'd be surprised if
they don't do caching; look under the HTTP or HTML categories on PEAR
for some possibilities.

-- 
Matthew Weier O'Phinney           | mailto:[EMAIL PROTECTED]
Webmaster and IT Specialist       | http://www.garden.org
National Gardening Association    | http://www.kidsgardening.com
802-863-5251 x156                 | http://nationalgardenmonth.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to