Gokul N KWorked on while working atSince then I have been working on at
Drupal is a database heavy content management system.This makes the staging workflow a painful process. Enter Exportables(Part of Ctools)
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
Sharing Databases?•Cumbersome process.•In Distributed teams it can be anightmare.•Content and Settings are notseparated.•Cannot do DB dumps on live sites.
Before Move the changes from database to the code. Code Settings and ContentResides in File System Database
After Code & Settings ContentResides in File System Database
Advantage of saving settings in code1. 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.
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.
For FeaturesGet comfortable with contexts and boxes. They will save your day.
Challenges in Features1. 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.
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
Features Extra Support for few popular modules, which features module doesn’t support out of the box.1. Blocks2. Node-queue3. Profile
Features PlumberRemove wrongfully auto-detected dependencies.
Those who have worked with the features know the problem ofdownloading a feature, copying it tothe correct location, clearing cache.All this only to find out that you have forgotten to add something else. REPEAT THE PROCESS AGAIN :P
Features Tools Auto createRevert them Allhttp://drupal.org/node/986932 S Safe Auto create