You are here: Re: cross platform problem - advice needed « All PHP « IT news, forums, messages
Re: cross platform problem - advice needed

Posted by axlq on 10/11/08 11:54

In article <4rksc2hdfpcen5h8grlf37ms6dlkpfa0nl@4ax.com>,
Andy Dingley <dingbat@codesmiths.com> wrote:
>3. If you must use templating in HTML, then you can do better markers
>than "%%title%%"

For templating, personally I'm a big fan of smarty -- see
http://smarty.php.net

CSS lets you separate styling from markup.

Smarty lets you go further, separating php scripts from HTML
content.

The HTML content is all in templates and the php scripts perform
all the logical operations, set the smarty template variables to be
filled in, etc. The smarty templates have directives to include
other templates, if/elseif/then logic, math and logic operators,
etc.

-A

 

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

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