Re: jsp style tag libraries

From: Date: Tue, 06 Aug 2002 20:24:48 +0000
Subject: Re: jsp style tag libraries
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-86578@lists.php.net to get a copy of this message
I'm sure its possible but you may need to tap into the zend engine. But whats wrong with calling a simple function <?=country_combobox()?> or you can do something like this with defines include.php <? define(country_combobox, "<select></select>"); ?> <?=country_combobox?> You really don't gain much by doing it <country-combobox /> vs <?=country_combobox?> -brad --- Redmar Kerkhoff <redmar@interrupt.nl> wrote: > Hya, > Is it possible with an extension to write something similar like the jsp tag > libraries without rewriting the zend engine? > For people who do not know how tag libraries work -in short- you can write > something like this: > <country-combobox /> and that will generate a comobox filled with all the > country's (for registration pages) > It's very handy because designers are familiar with HTML style tags and do > not have to know what's behind the > country-combobox object. (in this case i want it to be a php class that's > generating the code for a countryfilled combobox) > > // Redmar Kerkhoff, Netherlands. > > If it's possible then i'm going to develop it. (if it isn't here already (i > couldn't find it)) > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com

« previous php.dev (#86578) next »