How Would You Write a "99 Bottles of Beer" Program?

A while back, I posted about 99 Bottles of Beer In PHP in an effort to see how others might programmatically write code that would take an initial variable and then iterate it down until it reached a specific value and then return a message.

Many programming languages offer multiple ways of accomplishing the same task and I decided that a great learning experience for me and for others would be to ask everyone and anyone to contribute their own variations using any language.

Beginning Drupal Module Development or How I Wrote the Cacheflusher Module (Part 1)


For the past five or six months, I've been itching to write a Drupal module. It seems to me to be the final step in attaining that Drupal nirvana, and you gain instant street cred as well at the monthly meet-ups. I've heard it also can up your certified to rock score too, since you get commits added to your history.

Clear Your Drupal 7 Cache with One Click

Sure, you can set a shortcut to admin/config or install the devel module, but what if you could clear your cache with one button?

This small module adds a flush cache button to your menu for easy, one-click cache flusing!

It could add years back to your life, and your wrist.

It has no configuration, just install and enable.

You may not want to use this on a production site - or at least disable it when you go live, since a permissions check might not be enough to prevent an unauthorized user from flushing your cache.

Apture is Available for Drupal 7

I used the Apture Service on my old Drupal 6 site with the Apture module, but since updating to Drupal 7, I found it was one of the modules that didn't have a Drupal 7 version.

I decided that I missed it enough, to rewrite it for Drupal 7. If you aren't familiar with the service or the module, here is what it can do for you:


Subscribe to RSS - Opensource