Talk di Daniele Piaggesi & Luca Corbo
Il modulo Features per Drupal 7, permette al developer di costruire singole funzionalità riusabili in molteplici situazioni, oltre a disaccoppiare definitivamente la fase configurativa del CMS con la sua base dati.
In questa sessione vedremo velocemente dei casi d'uso del sistema di ""featuring"" di Drupal, quando usarle e con quali accortezze. E perchè questa funzionalità rende Drupal un CMS decisamente più duttile e maturo della sua concorrenza.
6. The dreams
Build a Drupal web application with a single click !
bmeme.make
7. The dreams
Reuse your configurations as piece of code in different instances of Drupal
8. The real life
What we need to package:
‣ Drupal core
‣ Contrib & Custom modules
‣ Libraries & Patches
‣ Theme
‣ Structure (entities, views, contexts, ....)
‣ Environment configuration
‣ Data
9. The real life
What we need to package:
‣ Drupal core
‣ Contrib & Custom modules
‣ Libraries & Patches
‣ Theme
‣ Structure (entities, views, contexts, ....)
‣ Environment configuration
‣ Data
Which tools can help:
Drush make & Profile Features Strongarm Node export features
10. Modules we really need
‣ Features
‣ Features extra
‣ Features Plumber
‣ UUID / UUID Features
‣ Strongarm
‣ Context & Delta
‣ Boxes
‣ Node export
and obviously.... drush
11. What you need to know...
‣ Design first of all
‣ Don’t use shared fields
‣ Always declare your dependencies
‣ Check auto-detected dependencies
‣ Build one feature at once
‣ Follow the “kit” specs (http://drupal.org/project/kit)
... and cross your fingers