RE: template systems

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

 



Hi,

Templating systems are really a matter of taste. You have a few options,
depending also on the paradigm you want to use (Model2, MVC ... maybe read
up on that as that is good general knowledge).

Also, please check the archives as this question has already been discussed
at length ;-)

Anyway, I will give my 5c worth, when I say that I have gotten to like
HTML_Template_Flexy (a pear package) quite a lot. This paradigm forces you
to do almost all of your logic stuff on the php side, whilst nicely
separating html and php code (you can really end up with some pretty
straight forward html pages, with a little Flexy code - cool things is also
that you can use Flexy code inline (as in <p flexy:if=""></p>) makes for
neat code!)

Another plus for Flexy is that it is not bloated like Smarty. Fair enough,
Smarty is pretty cool, but it just gives you too many ropes to hang yourself
with.

Not sure how easy integration with Quickform is ... should not be a problem
as most things happen on the code side anyway.

Hope that helps. 

-----Original Message-----
From: Eternity Records Webmaster [mailto:webmaster@xxxxxxxxxxxxxxxxxxx] 
Sent: 05 December 2005 11:00 AM
To: php-general@xxxxxxxxxxxxx
Subject:  template systems

Hi...

I was wondering if there are any template systems out there that are fairly
easy to use (that don't require hours and hours reading books) and that are
fairly good as well? I need one also that works with pear packages since I
use html_quickform a lot. I considered checking out smarty but wasnt for
sure if that one would be the best.

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

-- 
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