I have recently been updating the JQuery imGoogleMaps Plugin that I created earlier this year. The new version of the plugin will display multiple addresses on a Google Map. I’ll discuss the updated version of the imGoogleMaps plugin in another post. In this post, I’ll discuss how to use JQuery to load multiple addresses from Json data.
Monthly Archives: September 2008
The Javascript Object
JavascriptI use Javascript Objects quite frequently when I am developing web applications. These objects are very flexible and are easy to create and easy to manipulate. In this post, I will discuss how I use Javascript Objects to store and retrieve application data.
Google Closure
Ajax, Google ClosureI just read an interesting article on Ajaxian.com that discussed Google Closure. I began to look at the API documentation this afternoon and found it to be a quite robust Javascript Library. I was especially geeked with the number of ui widgets available with this Library (currently 138).
Some the names of the ui widgets are interesting (AnimatedZippy, AbstractImagelessRoundedCorner, DimensionPickerRenderer). But the documentation and demos seem to be adequate enough to quickly learn how to use each widget.
The library also comes with a Closure Compiler – a JavaScript optimizer that compiles web apps down into compact, high-performance JavaScript code.
I can’t wait to use it.
JSON Validator
Javascript, PebbletCakePHP and YUI: CSS File Location
Ajax, CakePHP, YUII recently started converting an existing PHP project to CakePHP and YUI 2.8. The first decision that I had to make was where to place the YUI CSS files. I tried to find a quick, yet elegant solution, but I ended up with solution that was not so quick (or elegant).
I copied all of my YUI files from webroot/js/yui/ to webroot/css/yui/. I then opened each folder under webroot/css/yui/ and removed all of the js files (leaving the assets folder). If a folder contained js files only, then I deleted the folder.
I opened each folder under webroot/js/yui/ and removed all asset folders and css files. If a folder contained css files only, then I deleted the folder.
I spent about an hour trying to find another solution, so I guess the few minutes it took to remove the files/folders was worth it.

