Drupal Coding Patterns

fakingfantastic's picture

Having worked closely with Drupal for years, I've had the opportunity to work on really big sites for A-List clients, contributed modules and patches for core and Drupal Commerce, as well being a lead developer at dev shops supporting Drupal sites day-in and day-out, I've come to get a nice grasp on good ways to code-wrestle Drupal.

Previously, I've given talks at other conferences about advanced Views configurations, Drupal Commerce, and the likes, and I've noticed the questions commonly asked were about how I was able to code the pieces together to make the site dance.

For this talk, I'd like to do a round-up on some common code patterns I use. This will be a down-n-dirty code session, so it's not for the faint of heart. Some topics may include, and are not limited too:

- Entities (metadata wrappers, relations, etc)
- Better node patterns (how not to need a node--[node-type].tpl.php for everything)
- Views theme templates (and how to stop it's markup vomit)
- Display Modes, and the coders who love them.

I think the coders in the house will get a lot out of it, and I'm looking forward to seeing how my fellow hackers handle these common scenarios.

Here are the modules and theme used in the talk (also attached): https://www.dropbox.com/s/sh4a2q4npz179f9/drupalcampnj.zip

Drupal Development
Experience level: 
Session Time Slot(s):