Re: FW: safe mode ... sigh ...
| From: | Monte Ohrt | Date: | Wed, 27 Jun 2001 17:40:08 +0000 |
| Subject: | Re: FW: safe mode ... sigh ... | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1021@lists.php.net to get a copy of this message | ||
That was the initial intent, but now the template resources do
not rely on any particular database class. For template resources,
you just call a custom function and that function does whatever
you want... pear DB class, etc.
Hojtsy Gabor wrote:
>
> > I agree with a part of the discussion. The PEAR dependency is currently
> > more of a hassle than a benefit, so I myself would like to have that
> > dependency removed too. But Monte's argument that in the future there
> > may be more dependencies on PEAR is valid as well. But I think that we
> > might deal with that once we get there. PEAR may have become more
> > accepted and standard by then, so the dependency might not be a problem
> > anymore for the majority of providers.
>
> Arbitrary template sources are planned to be impelemented with
> the PEAR DB abstraction classes. That way you can get a template
> from a DB (of any type), maybe because of your multi-language
> templates... That is a big benefit in my mind. :)
>
> Goba
> ........................................................... . . . . .
> Editor of the Hungarian PHP manual, Admin of the Hungarian PHP mirror
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/