Drush for Developers Second Edition

Almost everyone who does any form of Drupal development uses Drush - it's the Swiss Army Knife of the Drupal world. Drush is the Drupal Shell, and it lets you do a whole lot of amazing things with Drupal sites without actually going to the site, logging in, and clicking buttons.  It's a command-line tool (and since I'm an old UNIX hand, it's just right for me.

Despite the fact that we all use Drush, it's pretty clear that some of us use it better than others. I'm often really impressed with seeing someone else use it effectively, with powerful aliases, and doing workflow things with drush that I could hardly imagine. And let's face it, we can't always have a mentor at hand.

This book, Drush for Developers Second Edition,  can be your mentor. It's a pretty quick read (a little over 150 pages) as technical books go. It covers a lot of territory along the way, though.  As all these books seem to do, it starts out with installing Drush on your server, and then moves forward into using it.  Though I've been using Drush for some time now, I never have quite been able to grasp the more advanced uses, like using Drush to move code and features from development to test to production, for example.  This book give a really good idea of how to do some of those functions.

It's also good at giving simple examples of doing things like developing code to interact with Drush, and getting the most out of Drush in a developer enviromnent.

The chapters in the book cover a lot

  1.   Keeping your code and database synced up in different environments.
  2. Running and monitoring tasks in Drupal
  3. Doing debugging and error handling in Drush- I found this chapter particularly enlightening (and as it turns out I really wish I had read it last week when I desperately needed it.)
  4. Managing local and remote environments - running remote environments in Drush, and writing concise aliases.
  5. Setting up a development workflow using Drush - this gave me some great ideas for streamlining things I now do by hand - I'm really looking forward to trying this out.

You can buy a copy of this book at the Packt web site, and also at most technical book stores and online sellers such as Amazon .

Now if I only understood why this is the Second Edition when the first was apparently never published?