Posts tagged ‘PHP’

Jump on the PHP Bandwagon

I fell out of the software developer track for a number of years. I was a strong (although not the best) C language developer and had some C++ talent but I shifted gears when Java took off at my company. Since that time, I have done mostly scripting based hacks and small tools as “brain exercise” but not project level code.

Because of my shift to scripting, I now gravitate toward script languages for my demo customizations and projects. So it has been a mix of Perl, LotusScript, JavaScript, and most recently PHP. Continue reading ‘Jump on the PHP Bandwagon’ »

Tag Cloud – code Rewrite

My Tag cloud implementation started from the Matt’s weighted-categories implementation on hitormiss. It was working fine but I needed two things (yeah, just 2)

  1. the hover text to be more informative
  2. WordPress 2.1 support

I only needed to change one line to make the hover text include the category name (for cases where my font size was tiny). However, all went out the window when I upgraded to WP 2.1. Most of the weighted-categories code had been deprecated over the 2 years since it was first authored. So, I did some digging and figured out the new implementation.

Here is Matt’s code ported to WP 2.1. I still want to replace the regular expression calls with Perl compatible regular expressions for performance reasons.
Continue reading ‘Tag Cloud – code Rewrite’ »