Andi Gutmans wrote:
Yeah, but the main problem with this kind of stuff is when you start
mapping classes and even references. I think it requires some additional
pluming to be really useful for writing robust JavaScript<-->PHP
connectivity so that it's flexible enough for all those PHP packages to
start using it.
I'm +1 for including JSON but not on the way the API is defined right now.
I guess I am confused. Javascript, and thus JSON, has no concept of an
object. It has something it calls an object, but that is just an
associative array. Are you trying to layer some other syntax on top of
JSON to convey more meaning than what JSON/Javascript natively supports?
I have looped in Douglas Crockford on this. I am about to hop on a
plane and will be somewhat out of touch for the next couple of days, but
he is the authority on this stuff so please run your proposed api by him.
-Rasmus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php