Reply to Re: Template style question

Your name:

Reply:


Posted by Petr Smith on 11/06/05 12:11

Smarty sucks. Mixing presentation and logic is never good idea. I know
Smarty is very popular, but big popularity doesn't always mean quality.

Back to original question: If you decided to reinvent the wheel, please
don't reinvent square wheel without tire.

Mixing presentation and logic is bad. You should have no sqls, loops,
ifs or any other logic things in templates. Templates should be editable
by any stupid guy, anyone who knows just css/html. No sql, no php, no
other language.

Back to original idea to parse table. Do not copy bad ideas from other
templating engines. Again - reinvent a better wheel or use some from
1000s of existing libraries. Download some existing libraries, think
about good and bad things, make it better, make it different! Otherwise
we will end with 1000+1 stupid, same, useless templating libraries.

Petr

James Benson wrote:
> Give smarty a try rather than re-inventing the wheel
>
>
> http://smarty.php.net
>

[Back to original 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

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