Re: [SMARTY] [Template - announce] Templeet 0.9.2 available

From: Date: Thu, 07 Nov 2002 15:56:33 +0000
Subject: Re: [SMARTY] [Template - announce] Templeet 0.9.2 available
References: 1 2 3 4 5 6  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6359@lists.php.net to get a copy of this message
Robert a écrit : >> As far as I've seen Smarty, it allows you to export the HTML (template) >> outside of your PHP, but you still have to write your own PHP code. Also >> it adds an overhead as you have to, first write the php, then the >> template which has a very special syntax (but this is a matter of taste >> I guess). Templeet allows you to not have to write your own PHP, the >> command are as short as possible, and having them into your template >> with your HTML isn't a problem. > Forgive me if I'm wrong, but I thought the original purpose behind a > templating system is to seperate the PHP code from the HTML. That means > you put it in a seperate file so that the programmers can work on it > and it doesn't confuse your web designers. Well you can do that if you wish with Templeet, just put the code somewhere and use ~include("code.txt") for example, which isn't worth than having to put specific commands into your template to print vars, block, or anything you want. You always have to put specific things into templates, templates are not only HTML. Like { #var } (depends of your template engine). So as far as I'm concerned, I feel like Templeet is a template engine. But I'm sure others would have a different point of view :) > Basically it seems like all you've done here is gone ahead and written > another scripting language, not a template system. Templeet just uses > HTML with embedded code, which is basically what PHP was built for > anyway. Probably, but Templeet also adds a cache system, build-in functions which makes your life easier, etc. -- Fabien Penso <penso@linuxfr.org> | LinuxFr a toujours besoin de : http://perso.LinuxFr.org/penso/ | http://linuxFr.org/dons/ A PHP Template Engine ? Take the best ! http://templeet.org/

« previous php.smarty.general (#6359) next »