Programmer's Guide to Drupal
Principles, Practices, and Pitfalls
Publisher: O'Reilly Media
Final Release Date: December 2012
Pages: 114

If you’re a web programmer new to Drupal, this book shows you which programming techniques you can use—and which you should avoid—when building custom web applications with this content management framework. Drupal has its own set of programming principles that require a different approach, and many programmers make mistakes when relying on skills they’ve used for other projects. The guidelines in this book help you through the transition by demonstrating which programming practices conform to the “Drupal way,” and which don’t.

If you’re familiar with PHP, you’ll quickly learn how to take advantage of the powerful Drupal API.

  • Get a complete overview of Drupal, including Drupal core and add-on modules and themes
  • Learn Drupal’s basic programming principles, such as the ability to customize behavior and output with hooks
  • Discover common Drupal programming mistakes—and why hacking is one of them
  • Explore specific areas where you can put your programming skills to work
  • Learn programming tips and tools to help you perfect and debug your applications
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews


by PowerReviews
oreillyProgrammer's Guide to Drupal

(based on 1 review)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 1 customer

Displaying review 1

Back to top

(3 of 3 customers found this review helpful)


Good general developer overview

By tenken

from Central Coast CA, USA

About Me Designer, Developer

Verified Reviewer


  • Easy to understand
  • Helpful examples
  • Well-written


  • Not comprehensive enough

Best Uses

  • Intermediate

Comments about oreilly Programmer's Guide to Drupal:

The book covered a fair amount of general drupal development practices. Information on for instance Views API, Entities, Rules, coding best practices, Database API.

On my KindleFire I ended up with 30 highlighted sections / notes. I've been working with drupal 5+ years (mostly solo) so I dont use every sub-system of drupal ... I'm not fully comfortable with it.

Each section has a overview and example usage of a drupal API or a module's API. Which is pretty handy.

I wish the book would have covered, for instance, a page request life cycle callstack for a page like /admin/status/reports. And show how the hooks are used there-in. Xdebug and graphviz can make such an output.

Also, in general how that lifecycle relates to APIs drupal provides you: Storage API, module hooks, Theme API would be helpful.

It's a good book with many good exapmles. 1 step closer to be more fluent with many of drupals sub-systems.

Displaying review 1

Back to top

Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?