Slashdot review of Drupal 7 Module Development

December 30, 2010

Michael J. Ross contributed a review of our Drupal 7 Module Development book. Slashdot typically writes very fair reviews, and Michael's is no exception. He does a good job of digging into each chapter and examining both the strengths and weaknesses of the book.

Up front I would like to make a...

Google Summer of Code Mentor Summit, 2010

October 26, 2010

For the second year I was given the opportunity to represent Drupal at the Google Summer of Code Mentor Summit. The primary purpose of the Mentor Summit is to bring together the projects that participated in GSOC, and provide a forum for discussions.

While there, I learned about what other CMS systems...

Varnish String Concatenation in VCL

October 15, 2010

For whatever reason, I have not seen Varnish documentation on concatenating strings. It's not on the official operators list. Even more bothersome, I occasionally see people using regular expression substitutions (regsuball) to do string concatenation in Varnish's VCL.

In fact, string concatenation...

Why Object-Oriented Programming is Bad for Drupal

October 13, 2010

I have led or contributed to dozens of Open Source projects. And with one exception, all of my code has been Object Oriented. (That one exception is Drupal.) Java, Python, PHP, and even OO Perl... I'm a dyed-in-the-wool OO developer. So this may come as a shock to anyone who knows me, but I am about...

My Five Favorite New Productivity Tools: Nirvana, Homebrew, Ttytter, Sequel Pro, and Chrome

September 20, 2010

I spend most of my days doing software development and system administration. And I am always busy, so streamlining any part of my workday can have a big impact on how much I get done and how good I feel about my productivity. Taking a look back over the last six months, I see that I have added a...

New Book: Drupal 7 Module Development (released in RAW)

September 18, 2010

The Learning Drupal 7 Module Development book is now in Packt's RAW (Read As we Write) program. This has been an exciting few months, as Larry (Crell) Garfield, Ken Rickard, Greg Dunlap, John Albin Wilkins, Sam Boyer, Matt Farina and I have all worked together to bring this book to fruition. As you...

PHP Phar command line errors on OS X: Running 'php some.phar' generates '?????'

September 15, 2010

When I tried to run pyrus.phar on Mac OSX recently, I had a strange experience. Executing php pyrus.phar generated the output ??? and then exited. With a little more testing, I discovered that all of my Phar packages, when from from the command line, generate "garbage" output (a series of question...

Varnish: Reloading VCL configuration files with varnishadm

September 9, 2010

Did you know that you can reload varnish VCL configuration files without restarting varnish? While I could find any clear mention of this in the manual, it turns out to be a simple two-step task accomplished using varnishadm.

Prerequisites: Having Varnish Listen for Admin Connections

In order to...

Configuring MacGDBp for Debugging a Local Debian Virtual Machine

September 7, 2010

In my current Drupal development environment, I run an entire Debian server stack (LAMP + Memcache + Varnish, etc) inside of a VirtualBox virtual machine. On those frustration-laden occasions when I need to fire up the debugger, I use MacGDBp to connect to the virtual machine. Here's how I configure...

jQuery Checkboxes: Checking and unchecking the right way

September 3, 2010

When working with checkboxes in jQuery and JavaScript, sometimes all you really want to do is toggle the checked state of the checkbox. There are many examples of strange ways of accomplishing this, many of which are wrong or will only work on some browsers. Here is a correct (XHTML-correct) and compact...