logo
Published on GreenAsh (http://greenash.net.au)

Deployment and migration: hot at DrupalCon DC

By Jaza
Created 19 Mar 2009 - 2:12pm

There was no shortage of kick-a$$ sessions at the recent DrupalCon DC [1]. The ones that really did it for me, however, were those that dealt with the thorny topic of deployment and migration. This is something that I've been thinking about for quite a long time, and it's great to see that a lot of other Drupal people have been doing likewise.

The thorniness of the topic is not unique to Drupal. It's a tough issue for any system that stores a lot of data in a relational database. Deploying files is easy: because files can be managed by any [2] number [3] of modern [4] Development Seed [5] gave a talk entitled: "A Paradigm for Reusable Drupal Features [6]". I understand that they first presented the Context [7] and Spaces [8] modules about six months ago, back in Szeged [9]. At the time, these modules generated quite a buzz in the community. Sadly, I wasn't able to make it to Szeged; just as well, then, that I finally managed to hear about them in DC.

Context and Spaces alone don't strike me as particularly revolutionary tools. The functionality that they offer is certainly cool, and it will certainly change the way we make Drupal sites, but I heard several people at the conference describe them as "just an alternative to Panels [10]", and I think that pretty well sums it up. These modules won't rock your world.

Exportables, however, will.

The concept of exportables is simply the idea that any piece of data that gets stored in a Drupal database, by any module, should be able to be exported as a chunk of executable PHP code. Just think of the built-in "export" feature in Views [11]. Now think of export (and import) being as easy as that for any Drupal data — e.g. nodes, users, terms, even configuration variables. Exportables isn't an essential part of the Context and Spaces system, but it has been made an integral part of it, because Context and Spaces allows for most data entities in core to be exported (and imported) as exportables, and because Context and Spaces wants all other modules to similarly allow for their data entities to be handled as exportables.

The "exportables" approach to deployment has these features:


Source URL:
http://greenash.net.au/posts/thoughts/deployment-and-migration-hot-at-drupalcon-dc