News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

LotsOfCode.com:
Tag Cloud Tutorial
September 06, 2007 @ 08:57:00

In this tutorial on the LotsOfCode website, the author looks to help you create a feature common to several (including this one) websites out there - a tag cloud.

In this tutorial i am going to show you how to create a basic word / tag cloud using php. I am going to create a class based cloud, this is because it will be more convenient for people to adapt it on there own websites, if you don't know much about class based programming then click here to take a look at the class tutorial.

They pull the information from their "words array" (where words can be dynamically added to it) and use a percentage rating to base the CSS size for the data's span tag. The entire class listing is provided in one big chunk to make copy and paste easy.

3 comments voice your opinion now!
tag cloud tutorial dyanmic css size class method tag cloud tutorial dyanmic css size class method


blog comments powered by Disqus

Similar Posts

Ibuildings techPortal: Doing the Heavy Lifting: Gearman and Magento

Zend Developer Zone: Paging and Sorting Data with Zend Framework, Doctrine and PEAR (part 1)

Brian Moon's Blog: The history of PHP eating newlines after the closing tag

MaltBlue.com: Hot to Use the Zend Form ViewScript Decorator in All Modules

Gonzalo Ayuso's Blog: Building a simple SQL wrapper with PHP. Part 2.


Community Events





Don't see your event here?
Let us know!


community laravel podcast interview release deployment tips opinion api introduction install package zendserver framework series update library language symfony list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework