Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Joshua Eichorn's Blog:
AJAX Hello World with JPSpan
Apr 20, 2005 @ 12:22:47

In a previous post we mentioned Joshua Eichorn's introduction to using SAJAX for integration of the XMLHttpRequest functionality into your site. Well, he's come back with another posting, this time it focuses on the JPSPan library, another more well-developed project.

JPSpan provides a lot more functionality then SAJAX, the biggest difference you notice on the javascript side of thing is that you have mapped objects, on the php side the biggest difference is that you have a server page and a client page.

He covers the same kind of things as before, giving you PHP code examples, a class to tie it together, and some of the HTML code to display the results. One of the key things that he makes note of (and can be immensely helpful if you use this technology on a large scale) is the ability for SAJAX to handle multiple outstanding calls. JPSPan hasn't quite gotten there yet, but it wouldn't be an overly difficult update...

Also, note: in some of the comments, they talk about the speed of the two packages - and note that JPSpan is a bit slower than SAJAX.

tagged:

Link:


Trending Topics: