Re: A couple questions about templating

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/9/05, James Williams <jamwil.php@xxxxxxxxx> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux