Bookmark/Search this post with:
Tuesday, April 19, 2011
Or, how I learned to stop worrying and love object oriented database APIs
The release of Drupal 7 has brought a lot of changes for developers: new features, updated APIs, deprecated modules, and more. One of the biggest changes is Drupal 7’s new database API, an object-oriented system that fundamentally alters the way most developers will build database queries in Drupal. In this article, we’ll take a look at how the new API dramatically simplified one contrib module’s complex code, and how to spot similar opportunities in your own code.