Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating...
Transcript of Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating...
![Page 1: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/1.jpg)
Features VS CMI - The battle for Drupal 8
By - Neetu Morwani
![Page 3: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/3.jpg)
1. What is CMI?2. Need of CM(Configuration Management)3. Key aspect of CMI4. Features module5. Enhancements made in features module in Drupal 86. Differences
DOWN THE LINE ...
![Page 4: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/4.jpg)
CMI
Configuration Management Initiative
![Page 5: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/5.jpg)
CONSISTENCY# Single Approach for Configuration - Storage of Configuration as YAML Files
![Page 6: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/6.jpg)
![Page 7: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/7.jpg)
Better Staging Of Configuration
![Page 8: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/8.jpg)
Working of Configuration Management
Config directory = 'sites/default/sync';
![Page 10: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/10.jpg)
EXPORT
![Page 11: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/11.jpg)
IMPORT
![Page 12: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/12.jpg)
SYNCHRONIZE
![Page 13: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/13.jpg)
if (Dest site UUID == Source site UUID) {CMI success! :)
}else {
CMI fails! :(}
Limitation of CM :
![Page 15: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/15.jpg)
?
![Page 16: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/16.jpg)
FEATURES
![Page 17: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/17.jpg)
FEATURES IN DRUPAL 8:
![Page 18: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/18.jpg)
FEATURES
Was Features developed for deployments?
It was designed for
![Page 19: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/19.jpg)
Photo Gallery Feature -
![Page 20: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/20.jpg)
1. Configuration for Auto-creating features2. Bundles3. Namespaces4. Production/Stage site need not have the features
module.5. Modular UI
Enhancements in Drupal 8 FEATURES
![Page 21: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/21.jpg)
![Page 22: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/22.jpg)
![Page 23: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/23.jpg)
Functionality D7 Core D7 core + Features
D8 Core D8 Core + Features
Export Full site config (no content) NO NO YES YES
Export selected config items NO YES YES YES
Track config changes (Full site) NO NO YES YES
Track config changes (Selected items) NO YES YES YES
Stage configuration NO YES YES YES
Package Configuration NO YES NO YES
Reuse configuration in other project NO YES NO YES
Collaborate on the same project NO YES YES YES
![Page 24: Features VS CMI - The battle for Drupal 8 Features... · 1. Configuration for Auto-creating features 2. Bundles 3. Namespaces 4. Production/Stage site need not have the features module.](https://reader033.fdocuments.us/reader033/viewer/2022052611/5f05c5667e708231d4149fe5/html5/thumbnails/24.jpg)
HAPPY END TO THE STORY