Re: A good tutorail on templates?
| From: | Maxim Maletsky | Date: | Wed, 14 May 2003 18:46:57 +0000 |
| Subject: | Re: A good tutorail on templates? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147638@lists.php.net to get a copy of this message | ||
On Wed, 14 May 2003 12:59:38 +1000 (EST)
<daniel@electroteque.org> wrote:
> i quite like phemplate
>
> simple , does what i need it to do, doesnt have or require dirty code
>
> http://pukomuko.esu.lt/phemplate/
>
> tutorial is not in english apart from the code but its pretty good ,
> although i have made some changes to the class , the clean up unknown vars
> tends to remove my curly braces from javascript :|
Fact is, Smarty compiles your HTML code as PHP code. So, Smarty, in
reality, is not really a template engine, but rather a HTML - PHP converter
of its kind. It takes all your tags, converts them to PHP variables and
uses that PHP file unless you change your template. In short - it's
faster. To see still whether phemplate can do that.
--
Maxim Maletsky
maxim@php.net