News Feed
Jobs Feed
Sections




News Archive
Joshua Eichorn's Blog:
Adding AJAX to a Website step by step, Part II
August 10, 2006 @ 07:57:28

Taking the next step in the series, Joshua Eichorn has posted part two of the "Adding Ajax to a Website step by step" series today, a continuation from this previous post.

I have a lot more change's i'd like to make to webthumb so the last article (Adding AJAX to a website step by step) is now the start of the series. In this article will be taking front page of webthumb and making it live. The the stats and recent thumbnails will update in real time, making for a nice slick presentation.

I hope to release and article for each improvement I make to webthumb, giving everyone idea of whats involved in AJAXing a real website. But a series of articles won't cover everything you want to know about AJAX.

The focus in this new post is his method of grabbing the latest information from the server without a needless page reload. In this case, that means grabbing the latest thumbnails that have been created.

He includes the code for the different parts: exporting the PHP class to allow the Javascript to access it, a sample response from the HTML_AJAX server and the server code itself. From there, it's back to the client side for the Javascript code to make the request (and set a timer on it) and updating the page with the latest content. There's also a brief mention of how HTML_AJAX can push out other Javascript libraries, which he uses to push moo.fx for a transition effect on the thumbnails.

0 comments voice your opinion now!
adding ajax website tutorial part2 realtime javascript library adding ajax website tutorial part2 realtime javascript library


blog comments powered by Disqus

Similar Posts

php|architect: Two New ART Articles (CakePHP and More Flex)

phpaddiction: Url Routing with PHP - Part Two

Mike Wallner's Blog: Dropping server load with HTTP caching

Richard Heyes' Blog: PEAR::DB database class(es) replacement

Rob Allen's Blog: A form in your layout


Community Events











Don't see your event here?
Let us know!


introduction example series language code framework testing podcast composer tool opinion functional conference release object database community zendframework2 interview development

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework