You are here: Re: [SMARTY] Compiler tag with modifiers « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] Compiler tag with modifiers

Posted by Ivo Jansch on 08/18/05 10:09

Hi,

Cal Henderson wrote:

> how is your 'parse' compiler different from eval?
> http://smarty.php.net/manual/en/language.function.eval.php

I think there are 2 differences:

- The compiled code is stored (using eval it's not) so it doesn't have
to be parsed on each request.

- It adds the template code using an include mechanism, so even when
cached, if the template contains dynamic (uncachable) plugins, it
will work. From what I understood from the code, using eval, even
dynamic plugins are cached.

Actually it works much like the {include} directive. It's mostly a
plugin-version of the {include} directive.

Greetings,
Ivo

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация