NYCPHP Meetup

NYPHP.org

[nycphp-talk] Parsing <php: possible?

Jon Baer jonbaer at jonbaer.net
Mon Jul 19 13:09:24 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Krook wrote:

| I see where you're going with this, you basically want to emulate a
| templating system which uses a system like Java's taglibs or, prior to
| that, ATG Dynamo's JHTML, so as to shield your presentation layer
| developers from business logic.  In particular you want to be able to
| create a bean (or the result of an included function) for use on the
page.
|  For example, getting a user bean from the following type of tag:

Yep .. the "Dynamo" approach, I was actually pretty pysched when the
thought of writing + linking directly to other .jsp's as components was
announced.  I don't think there is really an anology to JavaBeans as
PHPBeans (its really just set/get methods) but Id really like to get it
going for a number of reasons, one being IDE support, alot easier to
work with.  I think to each his own in terms of templating, if you can
cycle through result sets w/ tags cool, if its with Smarty {} braces
cool, ...

I just think its a cleaner/manageable approach .. for PHP5 I can see
people using it .. or @ least trying to :-)

Will be spending the weekend hacking Zend! lol (unless someone from Zend
says 'save your sanity, its not worth it')

- - Jon

- --

pgp key: http://www.jonbaer.net/jonbaer.asc
fingerprint: F438 A47E C45E 8B27 F68C 1F9B 41DB DB8B 9A0C AF47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA/ABEQdvbi5oMr0cRAoaWAKCgHfU4+r09fsrb1e9hGkG+KkOVngCeJxhK
Wl8hx/6YSinknz65GhbH9b4=
=AGIb
-----END PGP SIGNATURE-----



More information about the talk mailing list