News Feed
Sections




News Archive
feed this:

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

Nick Halstead's Blog:
Making a TAG Cloud out of Zend_Cache
May 09, 2007 @ 10:14:00

In his current work with a project staring the Zend Framework, Nick Halstead has figured out a way to create a tag cloud that can be loaded quickly with the help of the Zend_Cache component.

Zend_Cache is a caching mechanism that either lets you cache chunks of output or chunks of data. Both concepts are easy to implement within your code and given time they become second nature to use. And because they are simple to implement you find yourself using them anywhere and everywhere.

In his example, he grabs treed category data and dumps it (formatted) into a Zend_Cache object. He also mentions what he calls a "touch of genius on the part of the Zend Framework team" - the ability to tag the cache and make it easy to reference.

Finally, it's back out to the front end, an interface to the cached object that pushes the data back out as a series of formatted links pointing to content associated with the chosen tag.

0 comments voice your opinion now!
tagcloud zendframework zendcache cache data tagcloud zendframework zendcache cache data


Zend Developer Zone:
Automatic Tag Clouds for Every Site
January 09, 2007 @ 14:16:00

The Zend Developer Zone has a new post referencing one of the featured classes from the PHPClasses.org website - one that can create an automatic tag cloud for just about any site out there.

But how can you build a tag cloud for a site that did not have any kind of content tagging or categorization? This is a problem that can be solved by the Automatic Keyword Generator class written by Ver Pangonilo from the Philippines.

The ZDZ post includes an example of the class' usage - a pretty simple example of how it parses a string of data and, using a set of rules, parses through it to create the tags for the information.

0 comments voice your opinion now!
automatic tagcloud parse data folksonomy phpclasses automatic tagcloud parse data folksonomy phpclasses


15tags Blog:
Tagcloud demo with source!
June 19, 2006 @ 17:03:01

On the 15tags blog today, there's a look at creating a tagcloud for your site, complete with a demo and the source for the project.

I should have done anything but creating this demo, but I took the time and did it anyway. So here it goes: A demo of the tagcloud script I wrote, in action. If you want to influence the tagcloud you can do this by writing down a comment on this post.

They demonstrate the tool with a simple cloud (made up of common words) and included support for Unicode characters. The cloud in the post changes based on the comments made on the post.

You can grab the source here.

0 comments voice your opinion now!
tagcloud demo source comment unicode tagcloud demo source comment unicode



Community Events





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


release language community security voicesoftheelephpant artisanfiles library opinion version composer framework tool podcast list introduction symfony interview laravel conference series

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