Top Banner
Features
23
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Features

Features

Page 2: Features

Worked on

while working at

Since then I have been working on

at

Gokul N K

Page 3: Features

Drupal is a database heavy content management system.

This makes the staging workflow a painful process.

Enter Exportables(Part of Ctools)

Page 4: Features

Ctools is a group of nifty APIs and tools to improve the developer

experience and efficiency.

Earl Miles (Merlin of Chaos)

Did you know that Ctools stool for Chaos Tools

Page 5: Features

Sharing Databases?•Cumbersome process.•In Distributed teams it can be a nightmare.•Content and Settings are not separated.•Cannot do DB dumps on live sites.

Page 6: Features

BeforeMove the changes from database to

the code.

Code Settings and Content Resides in File System Database

Page 7: Features

After

Code & Settings Content Resides in File System Database

Page 8: Features

Advantage of saving settings in code

1. All settings in code. 2. Can be revisioned.3. Database changes can be

grouped. Hence easier to move selective changes to production.

4. Content and settings are separated.

Page 9: Features

Enter Features

Page 10: Features

Why features?

1. Development of website makes more contextual meaning, when it is discussed feature wise.

2. Easier to export feature by feature.

3. No need of any database changes on staging and prod.

Page 11: Features

For Features

Get comfortable with contexts and boxes.They will save your day.

Page 12: Features

Challenges in Features

1. Two people can’t work on same feature simultaneously.

2. Auto-detected dependencies can be wrong.

3. Once features are over-ridden then updates cannot be used.

4. Features that extend existing features.

Page 13: Features

Not all can problems can be fixed

1. Features Extra : http://drupal.org/project/features_extra

2. Features Plumber : http://drupal.org/project/features_plumber

3. Features Override : http://drupal.org/project/features_override

4. Ftools : http://drupal.org/project/ftools

Page 14: Features

Features Extra

Support for few popular modules, which features module doesn’t

support out of the box.

1. Blocks2. Node-queue3. Profile

Page 15: Features

Features Plumber

Remove wrongfully auto-detected dependencies.

Page 16: Features

Those who have worked with the features know the problem of

downloading a feature, copying it to the correct location, clearing cache.

All this only to find out that you have forgotten to add something else.REPEAT THE PROCESS AGAIN :P

Page 17: Features

Features Tools Auto create

Revert them All http://drupal.org/node/986932

S Safe Auto create

Page 18: Features

Features Override

View level overrides

Page 19: Features

Features Override

Advanced overrides. (Granular)

Page 20: Features
Page 21: Features

Configuration Module

Move the changes from database to the code.

Page 22: Features

Configuration Management Architecture

Will it solve the issue? May be most of them, but not all.

Page 23: Features

You are not an exception?

Thank you, Gokul