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
Chapter 1Overview of Drupal
What Is Drupal?
How Drupal Handles URL Requests
The Drupal Cache
Chapter 2Drupal Programming Principles
Principle: Drupal Is Alterable
Principle: Drupal Is International
Principle: Drupal Is Accessible and Usable
Principle: Drupal Is Database Independent
Principle: Drupal Is Secure; User Input Is Insecure
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.
Bottom Line Yes, I would recommend this to a friend