This site is archived.
Skip to Content

Drupal's new database layer

Your session in a few words: 
Overview of the new Drupal 7 database architecture
Track: 
Code it, test it, deploy it
Session Type: 
Lecture
Level of expertise: 
Intermediate
Language: 
English

Drupal's database layer has undergone a major overhaul in Drupal 7 to take advantage of new and powerful features in PHP 5. The new system includes over a dozen new features, from a query builder in core to support for Master/slave replication. As with most major overhauls, however, that means API changes. This session will cover the challenges of database abstraction, Drupal's approach, and how to fully leverage the new system in your own code and sites.

Agenda

  • Database abstraction: Why it's hard and even an unsolvable problem.
  • The old Drupal approach, and why it's not good.
  • The new Drupal approach, how to use it, and why it's awesome.
  • Leveraging the database on your own code.

Goals

After attending this session, you should have a good idea of ways to leverage the new, modernized database system for your own modules and sites.