Drupal Development Using Features

11
Drupal Development Using Features Randall Knutson LevelTen Interactive

description

Randall Knutson of LevelTen Interactive explains the benefits of using Drupal features during website development. The corresponding blog post can be found at http://www.leveltendesign.com.

Transcript of Drupal Development Using Features

Page 1: Drupal Development Using Features

Drupal Development Using Features

Randall KnutsonLevelTen Interactive

Page 2: Drupal Development Using Features

The power of Drupal

Drupal stores both content and configuration in the database

Content Configuration

Page 3: Drupal Development Using Features

The problem with Drupal

Drupal stores both content and config in the database

Development Staging Production

Page 4: Drupal Development Using Features

Splitting content and configuration

Content Configuration Configuration Content

Page 5: Drupal Development Using Features

It's not that easy

With config in files, you can't do browser based configuration

Content Configuration

Page 6: Drupal Development Using Features

The solution

Features allows config in either the database, files or both

Content & Configuration Configuration

Features

Page 7: Drupal Development Using Features

How features works

Changes in the browser are saved to the database

Features

Page 8: Drupal Development Using Features

Features can replace what is in database

Features

(Update)

Page 9: Drupal Development Using Features

Features can write this to a file

Features

(Revert)

Page 10: Drupal Development Using Features

When reading, database takes precedence

Features

Page 11: Drupal Development Using Features

Files are read when nothing in database

Features