Why Do Cool Kids Chose PHP to Build Websites?

PHP Developer's Journal

Subscribe to PHP Developer's Journal: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get PHP Developer's Journal: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


PHP Authors: Hovhannes Avoyan, AppDynamics Blog, Trevor Parsons, Andreas Grabner, Harald Zeitlhofer

Related Topics: RIA Developer's Journal, PHP Developer's Journal

RIA & Ajax: Article

AJAXify Your Wordpress Blog with AJAXWp

Gianni Milanesi creates JavaScript Enhancement


Technologist and entrepreneur Gianni Milanesi has created a lightweight JavaScript enhancement that adds AJAX functionality to WordPress blogs. It speeds up load times, increases the responsiveness of the user interface and gives the blog an overall cooler look.

The script can be downloaded at: giannim.com/blog/index.php?page_id=13/.

Basic installation of the script requires moving three files to the Wordpress installation directory and pasting several line of code into the header.php file of the current blog theme. AjaxWp degrades gracefully and leaves the blog functional even for users with JavaScript disabled.

Unlike many typical AJAX applications, AjaxWp also supports bookmarking and has built in browser history management, so users can navigate through the blog using the browser back and forward buttons.

The script operates transparently by parsing the (X)HTML of the blog, and adding onclick event handlers to all links that point to internal blog pages. When a user clicks on a link AjaxWp traps the event and, instead of letting the browser navigate to the target page, requests the target page with AJAX. The requested page is then parsed by the AjaxWp engine, filtering out redundant markup (like the header and footer), and inserted in the designated area of the blog.

AjaxWp can work in two modes: Quick, minimal configuration and faster deployment; and Optimized, greater performance and optimization. Specifics on installing either option are available at the project's Website.

More Stories By RIA News Desk

Ever since Google popularized a smarter, more responsive and interactive Web experience by using AJAX (Asynchronous JavaScript + XML) for its Google Maps & Gmail applications, SYS-CON's RIA News Desk has been covering every aspect of Rich Internet Applications and those creating and deploying them. If you have breaking RIA news, please send it to [email protected] to share your product and company news coverage with AJAXWorld readers.

Comments (2) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
AJAXWorld News Desk 09/23/06 05:13:05 PM EDT

Technologist and entrepreneur Gianni Milanesi has created a lightweight JavaScript enhancement that adds AJAX functionality to WordPress blogs. It speeds up load times, increases the responsiveness of the user interface and gives the blog an overall cooler look. The script can be downloaded at giannim.com/blog/index.php?page_id=13/.

AJAXWorld News Desk 09/23/06 05:12:30 PM EDT

Technologist and entrepreneur Gianni Milanesi has created a lightweight JavaScript enhancement that adds AJAX functionality to WordPress blogs. It speeds up load times, increases the responsiveness of the user interface and gives the blog an overall cooler look. The script can be downloaded at giannim.com/blog/index.php?page_id=13/.