Re: template usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2008-10-12 at 11:33 +0200, Alain Roger wrote:
> I'm just reading a book on PHP and they promote quite heavily smarty as
> template designer tool for presenting information and data to users.
> 
> they absolutly do not talk about pear and i'm a little surprised. That's why
> i'm wondering who use what and for which reason.
> 
> Basically let's say for data/information presentation to end user...what is
> the best lib (pear, smarty....) ?
> 
> On Sun, Oct 12, 2008 at 11:32 AM, Ashley Sheridan
> <ash@xxxxxxxxxxxxxxxxxxxx>wrote:
> 
> > On Sun, 2008-10-12 at 11:09 +0200, Alain Roger wrote:
> > > Hi,
> > >
> > > i would like to know if you are a lot to use PHP templates for your web
> > > application or web sites ?
> > > if yes, which one do you use (smarty, pear, yapter, phplib,...) ?
> > > and for which reason ? what is/are the advantages over the others ?
> > >
> > > thanks a lot,
> > >
> > I wouldn't really call them templates, they're more libraries, and they
> > all have their individual uses. Generally, your use of them will depend
> > on what you actually want.
> >
> > Can you explain a few details of what you are actually looking to do?
> >
> >
> > Ash
> > www.ashleysheridan.co.uk
> >
> >
> 
> 
I'm not sure comparing Pear and Smarty is really how to go about it.
It's a bit like comparing a apples and oranges. Smarty is indeed a
template/presentation framework, but Pear is more a library of
components (as is phplib) which offers some presentation components, but
isn't solely designed towards that purpose. Personally, if I were you,
I'd go with Smarty for the time being, as it has been designed as a
template engine, so it should be easier to get to grips with.


Ash
www.ashleysheridan.co.uk


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux