Reply to Re: [PHP] A couple questions about templating

Your name:

Reply:


Posted by Greg Donald on 05/10/05 02:54

On 5/9/05, James Williams <jamwil.php@gmail.com> wrote:
> 1st question) I need a professionaly opinion on to which solution is
> better, considering speed, security, and expandability.

Bench them both with Apache's ab.

> 2nd question) Like I said before, I've mastered the art of variable
> replacement, but how would one go about adding support for if {}
> statements as well as loops. I'm a little bit lost when it comes to
> this.

eval() will parse your PHP code. I use that with filemtime() for my
own simple templating/caching system.


--
Greg Donald
Zend Certified Engineer
http://destiney.com/

[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

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