erikwebb's picture

Drupal Design Patterns

Based on a presentation at Florida Drupalcamp 2011

Drupal's code involves many common coding techniques that make your code more readable, maintainable, and efficient. Although there are countless PHP tricks that could be used, I will focus on helper functions and other common methods used specifically by Drupal developers when writing good code.

  1. Creating your own hooks
  2. Effectively using static variables
  3. Utilizing Drupal's cache
  4. Storing objects in the database
  5. Making the most of menus

Tags: 

Comments

When I was starting out in

When I was starting out in Drupal development, confronting the dreaded learning curve, I just wanted to know: where do I *start*? This write-up helps out enormously, although maybe is meant for those farther along the curve than pure beginners. =)

Add new comment