Saturday, March 13, 2010

Building Tag Clouds in Perl and PHP

Tag clouds are everywhere on the web these days. First popularized by the web sites Flickr, Technorati, and del.icio.us, these amorphous clumps of words now appear on a slew of web sites as visual evidence of their membership in the elite corps of "Web 2.0." This PDF analyzes what is and isn't a tag cloud, offers design tips for using them effectively, and then goes on to show how to collect tags and display them in the tag cloud format. Scripts are provided in Perl and PHP.

Yes, some have said tag clouds are a fad. But as you will see, tag clouds, when used properly, have real merits. More importantly, the skills you learn in making your own tag clouds enable you to make other interesting kinds of interfaces that will outlast the mercurial fads of this year or the next.

Over the past few decades, digital technologies have dramatically increased ourability to store, organize, and access information. Today, I can instantly answer allkinds of questions that would have stumped me 20 years ago, and I have access toa wealth of words, sounds, and imagesfar more than I have the intellectualcapacity to consume. You could say we're in the midst of an informationexplosion, but I like to think we're being served an information cornucopia.

The abundance of this information is ever increasing, and the user interfaces webuilt ten years ago to access and organize it are starting to show signs of strain andwear, like a rickety folding table supporting the weight of a thousand pies.

Tag clouds are just one of a new crop of interfaces that aim to ease this strain.There are others, which succeed to greater and lesser degrees, and there will bebetter ones to come. I hope to have a part in making some of them, and I hope youdo too.

TABLE OF CONTENT:
  • Tag Clouds: Ephemeral or Enduring?
  • Weighted Lists
  • Some History
  • Design Tips for Building Tag Clouds
  • Making Tag Clouds in Perl
  • Making Tag Clouds in PHP


No comments:

Post a Comment