| Dossy Shiobara 2007-09-27, 7:11 pm |
| On 2007.09.27, Jim Davidson <jgdavidson@MAC.COM> wrote:
> This reminds me of the Smarty for PHP. Has anyone looked at porting
> Smarty to ADP? It's pretty PHP-specific but the syntax, like Tom's
> stuff below, is pretty convenient.
>
> http://smarty.php.net/
Wow, Jim--I'm surprised to hear that you like Smarty. :-)
It should be possible to write a Smarty template parser to use instead
of the ADP parser. Smarty's tight coupling to php makes this a bad
idea, though--i.e., without the ability to evaluate php code in a Smarty
template, most php pages that use Smarty won't work "out of the box" in
a Smarty template parser for AOLserver.
Still, if someone wanted to take on this kind of work, I'd love to see
it demonstrated.
-- Dossy
--
Dossy Shiobara | dossy@panoptic.com | http://dossy.org/
Panoptic Computer Network | http://panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
|