Features VS CMI - The battle for Drupal 8 By - Neetu Morwani - - PowerPoint PPT Presentation

features vs cmi the battle for drupal 8
SMART_READER_LITE
LIVE PREVIEW

Features VS CMI - The battle for Drupal 8 By - Neetu Morwani - - PowerPoint PPT Presentation

Features VS CMI - The battle for Drupal 8 By - Neetu Morwani LEARNING IS ESSENTIAL DOWN THE LINE ... 1. What is CMI? 2. Need of CM(Configuration Management) 3. Key aspect of CMI 4. Features module 5. Enhancements made in features module in


slide-1
SLIDE 1

Features VS CMI - The battle for Drupal 8

By - Neetu Morwani

slide-2
SLIDE 2

LEARNING IS ESSENTIAL

slide-3
SLIDE 3
  • 1. What is CMI?
  • 2. Need of CM(Configuration Management)
  • 3. Key aspect of CMI
  • 4. Features module
  • 5. Enhancements made in features module in Drupal 8
  • 6. Differences

DOWN THE LINE ...

slide-4
SLIDE 4

CMI

Configuration Management Initiative

slide-5
SLIDE 5

CONSISTENCY

# Single Approach for Configuration - Storage

  • f Configuration as

YAML Files

slide-6
SLIDE 6
slide-7
SLIDE 7

Better Staging Of Configuration

slide-8
SLIDE 8

Working of Configuration Management

Config directory = 'sites/default/sync';

slide-9
SLIDE 9

Learn while you see

slide-10
SLIDE 10

EXPORT

slide-11
SLIDE 11

IMPORT

slide-12
SLIDE 12

SYNCHRONIZE

slide-13
SLIDE 13

if (Dest site UUID == Source site UUID) { CMI success! :) } else { CMI fails! :( }

Limitation of CM :

slide-14
SLIDE 14

Drush Support :

drush config-export drush config-import

slide-15
SLIDE 15

?

slide-16
SLIDE 16

FEATURES

slide-17
SLIDE 17

FEATURES IN DRUPAL 8:

slide-18
SLIDE 18

FEATURES

Was Features developed for deployments?

It was designed for

slide-19
SLIDE 19

Photo Gallery Feature -

slide-20
SLIDE 20
  • 1. Configuration for Auto-creating features
  • 2. Bundles
  • 3. Namespaces
  • 4. Production/Stage site need not have the features

module.

  • 5. Modular UI

Enhancements in Drupal 8 FEATURES

slide-21
SLIDE 21
slide-22
SLIDE 22
slide-23
SLIDE 23

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

slide-24
SLIDE 24

HAPPY END TO THE STORY

slide-25
SLIDE 25

Thank You

nn

Email - neetu.morwani@acquia.com Website - neetumorwani.com Twitter - @neetumorwani