Re: template module
| From: | Jesus M. Castagnetto | Date: | Fri, 03 Aug 2001 19:55:51 +0000 |
| Subject: | Re: template module | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1280@lists.php.net to get a copy of this message | ||
--- mailling@bigfoot.com wrote:
> I think a top level Template is good too. Is it possible to get the url of
> the template cache class form
> Jesus Castagnetto?
The generalized template cache class lives at:
http://www.scripps.edu/~jesusmc/cachedtpl/
or at:
http://www.castagnetto.org/CachedTemplate_page.php
I can make it dual licensing, i.e. add the PHP license to the GPL and then let
the user decide which one he likes best (I just got a request to see I can also
use the BSD license, "licenses 'r' us" ;-)
>
> > > > Nice idea. But this also means that the common template functionality
> > > > needs a common API. Is that doable (I'm not familiar enough with
> > > > IT[X]
> > > > and Smarty to tell)?
> > >
> > > It's not an entirely silly idea. Jesus Castagnetto wrote a template
> > cache class
> > > that interfaced to 6 or so different templates classes.
> > > There's no reason that a template class can't have a set of adaptors to
> > > communicate via a common API although I imagine Smarty is different
> > enough not
> > > to fit that mould.
> > >
> >It'd basically be a template engine abstraction layer. I suggest using
> >the top-level "Template" namespace for it, since template systems are
> >not limited to HTML.
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, e-mail: pear-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: pear-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/