NYCPHP Meetup

NYPHP.org

[nycphp-talk] Parsing <php: possible?

Jon Baer jonbaer at jonbaer.net
Mon Jul 19 09:45:56 EDT 2004


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

Chris Snyder wrote:
| The reason <script language="php"> doesn't work is because the browser
| doesn't know how to execute the code client-side, right?
|

Uggg I think I missed my point completely w/ this post ...

You can run <script language="php"> @ the server level now, I wasn't
talking about the client ... the idea was to build "components" to give
to page dev people ... I guess you'd have to work w/ Java OO to
understand it (yes it is alot of tedious work) and it is almost like a
Smarty approach except inline (you dont have to stuff variables and then
send to a page).

The Zend/zend_language_scanner.l seems to handle this workload ... im
sure it can be played around with to handle tags ... in fact I found an
old Zend post w/ similar idea ...

http://www.zend.com/lists/php-dev/200202/msg01372.html

- - 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+9CUQdvbi5oMr0cRAigpAKD4U33vFBnXzFhNkfMjGFUXX9qM8gCgsxq8
8XAei+rCnmlzKmVs5eVCxqI=
=352Y
-----END PGP SIGNATURE-----



More information about the talk mailing list