TagClouds in Pure JavaScript.

I recently had the bright idea to create a nice tag cloud application in pure JavaScript and power it via an XML file, and/or a backend (such as an RDBMS).

Then someone pointed me to Kang-min Liu’s Widget.TagCloud implementation.

Dammit.

Well, Kang-min’s version does not pull cloud information from an XML file or a database.  Instead it uses “array of hash.”  Basically an array containing JSON data or Object declarations.

I may modify his application to include both of these.  In one route I can use DOM methods to load an XML file for parsing, on the other, to keep it purely JavaScript, as in, no HTML document containing a form, I would have to use an XMLHttpRequest to coordinate data from the database.

We’ll see…

Leave a Comment