Looks really interesting and it would be very easy to use PHP-Models
from client side, but - like mentioned in article and first comment -
the security issues should be solved before someone use it. Actually I
don´t know how to solve these security lacks - i think there must be a
unique hash or something else. Don´t know. Article is bookmarked :)
-- Jan
Hello everybody,
Not too long ago I wrote to this mailinglist about linking
Zend_Db_Table to client side code (think javascript, ajax, web 2.0). I
have since written some javascript code that does just that. Because I
think it may be of interest to some of you, I would like to bring this
to your attention. I have written a short article about it on my
weblog, you can see it at
http://naneau.nl/2007/04/17/introducing-jstable/ . Basically it's
javascript code that mimics Zend_Db_Table, Zend_Db_Table_Rowset and
Zend_Db_Table_Row. This allows you to work with models on the client
side like you would in php.
I don't know whether it is bad practice, or even considered spam, to
announce such things here. The code I have written is freely available
to all of you under an MIT license, and I have no real interest in any
of you using it, other than wanting to be of assistance. Please excuse
me if this is wrong.
Of course I would also like to ask for comments. I do these things for
fun, and I love to learn. So your reactions are more than welcome.
Best regards,
Maurice Fonk