Configuration Management in Drupal 7 SITE BUILDING ARRA'DI NUR RIZAL

SITE BUILDING | ARRA'DI NUR RIZAL | FEBRUARY 8 2013
Configuration
Management in Drupal 7
Drupalist since 2006
2
Outline
We will Cover...
•
•
•
•
What is Configuration Management
Different way to manage configuration
Features and Configuration
Demo ?
3
Loc, dev, stg, prd ?
Familiar ?
4
Configuration Management
Organization and coordination of
configuration of a site to accomplish
defined objectives.
5
Configuration Management
Click and Pray method
6
Configuration Management
Dump method
Source: http://nn.wikipedia.org/wiki/Fil:Afghan_HINO_dump_truck.jpg
7
Configuration Management
Paper-Tissue method
8
Configuration Management
Hook method
Source: http://en.wikipedia.org/wiki/File:Anatomyofafishhook.jpg
9
Configuration Management
FU method
Using Feature Module to distribute and organize configuration
Feature use case
1. Group configurations into one package for general or
specific cases
2. Export and manage configuration into a "feature" module
10
Configuration Management
Module
What is it
- D8 CMI concept (activestore and datastore/configstore
Architecture)
- Track specific configuration rather than an entire group of
configurations (feature module)
- Move configuration between environment and sites
11
Configuration Management
Module
Source: http://drupal.org/node/1872288
12
Configuration Management
Module
Replace Features Module ?
No
13
Configuration Management
Module
So, what is the difference?
Let use café analogy
14
Features and Configuration
15
Features and Configuration
- Ingredients are configurations and recipes are features.
- Recipes use ingredients, and features could use
configuration.
- Ingredients and recipes should not have dependencies.
- The recipes need to be notified by management system if
the ingredients change. This is how feature module and configuration management
module can work together
16
Configuration Management
Module
Status
No more version 1, only version 2 (alpha-2)
Drush command in place
Roadmap and milestone http://drupal.org/node/1787136
- Implementation of batch system
- Caching Implementation
- Ability to remove configuration variable
17
Configuration Management
Module
Status
Supported Components:
Content Types, Fields, Vocabularies, Text Formats, Image Styles,
Variables, Menu, Menu Links, Permissions.
Other components (if its contributed module is enabled).
Wysiwyg (requires Wysiwyg 7.x-2.2 or greather).
Views (requires Views).
Display Suite, Panels and other Ctools based modules (requries Ctools).
Roles (requires Role Export).
Ref: http://drupal.org/node/1861068
18
Configuration Management
Module
Want to Help ?
Configuration module needs more testers & devs, UI people.
http://drupal.org/project/configuration
19
DEMO
.
20
Wrap Up
Summary
What is Configuration Management
Different way to manage configuration
Feature module and configuration module
Please do try the configuration management module, use it
and tell the community what do you think about it.
21
Thank You
Links
http://drupal.org/project/configuration
http://www.wunderkraut.com/blog
Www.arradi.com
22