Browse > Home /

| Subcribe via RSS

Google AJAX Libraries API Plugin

May 28th, 2008 | 25 Comments | Posted in development, plugins

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Update: I have updated this plugin to version 0.8- this version has a more extendable listener and also allows the loading of separate scriptaculous libraries.

Earlier this week Google announced their Ajax Libraries API.

The AJAX Libraries API takes the pain out of developing mashups in JavaScript while using a collection of libraries. We take the pain out of hosting the libraries, correctly setting cache headers, staying up to date with the most recent bug fixes, etc.

The Google Ajax Libraries API Plugin (what a mouthfull) is designed to make it easy to use the Google hosted libraries without the need to mess with your theme and plugin code.

When activated, the plugin will “listen” to all of the scripts added (via the WordPress wp_enqueue_script function) to your pages header and automagically switch the locally hosted library to a Google hosted one. Deactivating the plugin will remove the “listener” and your site will return to using the local versions.

WordPress MU administrators should copy the plugin into their MU-Plugins directory for it to be enabled across all of your hosted blogs.

Version 0.8 of this plugin is available for download below.

More »

Tags: , , , , , , ,

REST api interface plugin - PHP4 or PHP5?

October 31st, 2007 | 3 Comments | Posted in development, plugins

This is just a short post to ask for some advice and/or opinions.

I am working on the generic XML and JSON generating functions as part of the REST interface plugin that is currently in development.

I have started using the plugin in-house with good results and performance, but as we are running PHP5 pretty much exclusively here - it makes use of the native PHP5 XML and JSON functionality.

My question is - is it worth me providing a PHP4 version which uses external libraries? Or, more to the point - how many people out there are still running on PHP4 based servers?

Any advice would be greatly appreciated.

Tags: , , , , , ,