You are here: Re: [PHP] Re: Templating engines « PHP « IT news, forums, messages
Re: [PHP] Re: Templating engines

Posted by Jason Barnett on 04/30/05 01:14

Mattias Thorslund wrote:
....
>
>
> Who says PHP itself is a template engine? I think nobody. What are the
> "basic template features"?

Variables / placeholders
Looping construct(s)
Conditionals
A way to apply styles to text / markup

> However, there is a school of thought regarding templates that advocates
> template engines (written in, for instance, PHP) which use PHP as their
> template syntax, so that there is no need to invent new tags or
> placeholders. You could read the article I linked to before, it has
> examples. Actually, here's the link again:
>
> http://www.massassi.com/php/articles/template_engines/
>

The point of this article is that PHP is a good template engine ;)

 

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

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