Re: Overloading Tags with PHP functions

From: Date: Tue, 15 Jan 2002 18:27:28 +0000
Subject: Re: Overloading Tags with PHP functions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77156@lists.php.net to get a copy of this message
Kristian Köhntopp wrote: > Finally, I always liked the ability of the Roxen webserver to > bind code to tags. Having Roxen's <gtext> tag, for instance, in mind I wrote, after a lecture in my University's ''XML'' class I attend this term, TINX. TINX (This Is Not XSP), which I put into PEAR, currently allows for tag-triggered function and method calls. I have some more plans for TINX, but basically I'd like a blend between Roxen's concept and XSP. An XSLT stylesheet that transforms XSP into PHP should not be that tricky, the XSLT stylesheet that transforms XSP into Java is only a couple of 100 lines long. > The following code is slow and very ad-hoc. Still, I'd like you > to have a look at it and think about it - I'll gather reviews and > opinions and probably turn it into C at some later time. Having something similar to Roxen's tags in PHP would be great. An extension in PECL would be perfect, but a PHP version in PEAR for starters would be not bad, either :-) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

« previous php.dev (#77156) next »