JPSPAN: Remoting for Javascript?

Posted on Monday 28 February 2005

Communication between Javascript and the server-side is getting more and more popular with the recent dHTML apps by Google getting a lot of press. Just noticed this toolkit for communicating between PHP and Javascript in a seemless fashion. It handles serialization of objects between Javascript and PHP in a transparent fashion, is object-oriented, allows you to call remote methods using two lines of Javascript etc. It’s like Remoting for Javascript.

Here’s the part I love: the classes used by JPSPAN are generic, like those of AMFPHP. Guess what? Classes made for either framework are practically interoptable out of the box. The one thing I don’t like about JPSPAN though is that unlike AMFPHP it doesn’t separate the class and the gateway (there is no gateway.php or /services). Obviously we could teach them a thing or two about good design! From the looks of it, it should be pretty easy to create a gateway that would work AMFPHP-style. Now we could have auth, web service consumption, database serializalization… Are you excited about this yet?


WordPress database error: [Can't open file: 'wp_comments.MYD'. (errno: 145)]
SELECT * FROM wp_comments WHERE comment_post_ID = '45' AND comment_approved = '1' ORDER BY comment_date

No comments have been added to this post yet.

Leave a comment




Your e-mail address is never displayed. If you run into issues with SpamKarma blocking you, email me at $patrick->5etdemi(com)


RSS feed for comments on this post | TrackBack URI