Front End Drupal
Designing, Theming, Scripting

Tools and techniques for learning to create themes for the Drupal 6 CMS.

By: Staff


Drupal is a content management system that has been in development since 2001 with Drupal 6 being the current production version- Drupal 7 is currently available as a developer release. Front End Drupal focuses on theming Drupal 6 sites, so while there is a some good coverage of how Drupal organizes and stores content, as the book's name implies, the focus is on the visible parts of the website- this is not the book if you want to write your own extensions modules.

Front End Drupal is notable for a few things: it has a good explanation of how data is organized in Drupal, there's coverage of converting themes from other Content Management Systems (CMS) and there's a section on JavaScript as it relates to Drupal.

Drupal has an well thought-out system for storing different kinds of data in a node structure. I'm sure many coders have looked at a Drupal site and wondered why many had some kind of "node/123456" in the URL. The answer to many other questions about just how Drupal organizes information is covered in the first two chapters. In case you're wondering, yes, readers should be familiar with basic PHP as there's quiet a lot of it spread through-out the book. While this book isn't about programming Drupal's API, the information here is useful as you look to develop themes or create your own types of content.

As you'd expect, the meat of this book is how to create themes. Like other books on theming, it starts off with installing and then modifying starter-themes and builds from there. There is coverage of tools such as Firebug and the Theme Developer module and chapter three also covers some Mozilla Firefox plug-ins to help theme developers. One area designers sometimes avoid is theming Drupal's forms because of their complexity, in the book, forms are given their own chapter. Unlike Packt's Drupal 6 Themes, there isn't much coverage of older Drupal versions except for the section on migrating themes in chapter three, where they provide a 7-item check-list to convert Drupal 5 over to 6. WordPress and Joomal! are given similar treatment, including tables listing the equivalent to Drupal files in other CMS' themes. If nothing else, it gives readers a bit of an idea of the thinking behind different CMS. Theming makes up the main part of the book and pretty much every aspect from modifying to converting existing themes to Drupal is covered.

JQuery is given good coverage in the last three chapters. Chapter 9 starts off with a bit about JavaScript having an amateur reputation until the arrival of Ajax before diving into a mid-level introduction to JavaScript, especially on object-orientated programming. There's a lot of interesting bits of covered in the break-out boxes as far as JavaScript in relation to PHP and some of the many "gotchas" developers might run into. Using the Firefox FireBug plug-in for debugging is also covered in this section. Chapter 10 gives a quick overview of jQuery -- the official Drupal JavaScript library-- and then chapter 11 shows how to build a slide-show using jQuery that hooks into Drupal. Front End Drupal's JavaScript coverage is the best I've seen in a Drupal book yet.

By the end of the book readers will be familiar with Drupal's structure and be able to both create a theme nearly from scratch as well as convert themes from other content management systems. JavaScript is given coverage here to, especially how to integrate with Drupal's back end. The book itself has a clean layout with plenty of screen-shots, code examples and the appendixes cover installing Drupal and list some sample code from the book (this can also be downloaded from the book's website). If anything is missing, it would have been nice to have reference to what style-sheets control what aspect. Overall, if you looking to create themes for the current version of Drupal, this is good book to have.

Date published: 16-May-2009





Drupal 6 Themes

Learning the many ways to theme with Drupal 6

The CSS Anthology

Practical advice on how to solve design problems with CSS.

Building Findable Websites

Making your website understandable not only to search engines, but readers as well.

Drupal User's Guide

By the same author of last year’s well-regarded Front End Drupal; this similarly-sized book is aimed more at beginners.

The Definitive Guide to Drupal 7

If last-year's Professional WordPress is the must-have book for WordPress developers, then Definitive is at least the equivalent for Drupal developers.


2019 YYZTech

For American computers stores, visit: AmericanComputerDealer.com