Re: [SMARTY] [Template - announce] Templeet 0.9.2 available
| From: | Stefan Ernst | Date: | Thu, 07 Nov 2002 16:42:42 +0000 |
| Subject: | Re: [SMARTY] [Template - announce] Templeet 0.9.2 available | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6360@lists.php.net to get a copy of this message | ||
Hi,
> 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.
this will result in a large amount of files, as you can imagine, and
I don't see any advantages in doing so, because you could even write
some php code with include().
> Probably, but Templeet also adds a cache system, build-in functions
> which makes your life easier, etc.
this is actually what smarty does already - I don't see any
differences in that, except one: What you explained before is - as far
as I understood it - a way to put the full logic inside the template
again with an abstraction level that allows you to use your
'templates' in different scripting languages.
But this is actually another scripting language and has in my opinion
nothing to do with a real template engine that seperates logic from
the html-stuff. Additionally, I can't imagine any significant
performance issues, using just another php-based interpreter for
template-parsing, compared to Smarty.
bye
--
Stefan Ernst
stefan@corais.com