Add Comment
Source
Articles
Bookmark/Search this post with:
Delicious Delicious
Digg Digg
StumbleUpon StumbleUpon
Facebook Facebook
Google Google
Yahoo Yahoo
Technorati Technorati
19
Tuesday, April 19, 2011
By admin
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.