Sam’s Teach Yourself Drupal in 24 Hours

If You Have 24 Hours to Spare, Why Not Learn Drupal?
Drupal’s history goes back around 2001 when it was one of the many Content Management Systems (CMS) that had sprung up along with the growing popularity of PHP. Maybe there is something about PHP or the people that got into web programming using it, but it seems like there was a time when everybody was doing their own CMS. PHP-Nuke creator Francisco Burzi sums it up nicely: “I learned PHP in less than a week and began modifying [Thatware]. There are too many mods to mention. It was practically a rewrite. I added some cool stuff, deleted some others and after more than 380 hours of hard work in 3 weeks! PHP-Nuke was born.”

While Drupal shared many of the same features of other CMS at the time, it’s a bit hard to say why it became more popular. Still, it is probably partly because of what it avoided, namely forking and a reputation poor security that plagued other early CMS. The accessibility of PHP is a bit of double-edged sword. Around the time Drupal arrived in 2001, PHP-Nuke had been forked several times. In a 2003 article in php|architect, XOOPS’s John Cox, a former PHP-Nuke contributor, basically said that it was great how easy it was to start adding things to PHP-Nuke; But that was also the problem: just about anybody could do it. And that led to difficulties cited by him and others to start their projects. In the open-source world, people refer to the originator of certain projects as benevolent dictators, but while coups are relatively rare, everybody is free to start their own country. In Drupal’s case, its originators seem to have avoided the splits that plagued the development of other CMS system, focused early on security, and kept a tighter rein on development.

See also  Smashing WordPress

But besides what they avoided, Drupal offers a lot of functionality and flexibility built-in. Like WordPress, a lot of Drupal’s power is found in the modules, both those included with the core release (blogging, comments, polls, etc.) as well as external ones. Beyond that it’s quite flexible, works with several different databases, there’s a choice of templating languages, most parts can be overridden if needed and other features that will appeal to developers. That said, this isn’t a book about writing modules, the Drupal site has reasonably good documentation on that now; instead, it concentrates on showing administrators how to use various modules available for Drupal.

Teach Yourself Drupal goes back and forth between administrating a Drupal site and adding and configuring modules, as well a good overview of how Drupal works internally. Roughly, the book could be broken down into chapters that cover administrating a site, the underlying structure of Drupal and building your website.

The book’s structure makes following along fairly easy. After the first two chapters on set-up and the basic principals of how Drupal is organized, the book moves back and forth between regular administrator tasks (adding users, setting permissions,etc.) and more “under the hood”-type tasks. Including using the Content Construction Kit (CCK) to add your data types to a Drupal site. While Drupal 6 is the current release, the book provides a fair amount of coverage of Drupal 7, which is expected out soon. There are a lot of screenshots which are handy as a lot of Drupal administration is filling in web forms. One thing some readers will notice is all the screenshots are of Drupal running on the macOS –which seems to be a bit of trend lately–, more useful is that there is some coverage of installing Drupal on MacOS. Like others in the “24-Hours” series, each chapter ends with a Q/A and a short quiz.

See also  Pro Drupal 7 Development

If you already know a bit about CMS and Drupal, you’ll probably want to skip to chapter 17 (or 16 if you’re going to build an e-commerce site with UberCart). From Chapter 17 on there’s coverage of how to arrange blocks, menus, even a bit on theming.

The book is aimed at people who are comfortable with installing web applications and are looking to set up a Drupal website. Theming Drupal is touched on in the final chapter, but the advice here is fairly basic. If that’s your interest, there are several books on that topic alone. If you are new to Drupal, Teach Yourself Drupal gives a relatively comprehensive understanding of how Drupal works and provides plenty of practical advice on getting started.