I was just reading a little on this. This is the way you build a template
system. Smarty uses "{ }". Maybe you could check out the Smarty page and get
an idea. <http://smarty.php.net/>

Or maybe you could just use Smarty, you can change the "{ }" to anything you
want.


> Hi All,
> 
> I need to write a PHP extension or a PHP template system (this is the
> question) to parse some commands enclosed in square brackets inside web
> pages. Please note that the commands are in the form [command1] and not
> <?php [command1] ?>.
> I want use PHP because these commands needs to be remapped with a "web
> oriented" language.
> 
> Is it technically possible to remap these square brackets tags to php?
> And if yes, what is the best way? A custom template system or a C PHP
> extension?

Get Smarty.

If you get into Smarty could you let us know how 'steep' it was? 


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

Reply via email to