drupal day 2011 - features: una vita felice

12
Features: configuration out of Database! Luca Corbo / Daniele Piaggesi - bmeme

Upload: drupalday

Post on 22-Nov-2014

1.163 views

Category:

Technology


0 download

DESCRIPTION

Talk di Daniele Piaggesi & Luca CorboIl 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.

TRANSCRIPT

Page 1: Drupal Day 2011 - Features: una vita felice

Features: configuration out of Database!

Luca Corbo / Daniele Piaggesi - bmeme

Page 2: Drupal Day 2011 - Features: una vita felice

Agenda

‣ The dreams‣ The real life‣ Modules we really need‣ What you need to know...

Page 3: Drupal Day 2011 - Features: una vita felice

Luca Corbo

Link: http://bmeme.comLink: http://lucasforge.bmeme.comLInk : http://www.openattitude.net

@lucacorbo

Page 4: Drupal Day 2011 - Features: una vita felice

Daniele Piaggesi

Link: http://bmeme.comLink: http://syscallme.bmeme.comLInk : http://www.openattitude.net

@g0blin79

Page 5: Drupal Day 2011 - Features: una vita felice
Page 6: Drupal Day 2011 - Features: una vita felice

The dreams

bmeme.make

Build a Drupal web application with a single click !

Page 7: Drupal Day 2011 - Features: una vita felice

The dreams

Reuse your configurations as piece of code in different instances of Drupal

Page 8: Drupal Day 2011 - Features: una vita felice

The real life

What we need to package:

‣ Drupal core ‣ Contrib & Custom modules‣ Libraries & Patches‣ Theme‣ Structure (entities, views, contexts, ....)‣ Environment configuration‣ Data

Page 9: Drupal Day 2011 - Features: una vita felice

The real life

What we need to package:

‣ Drupal core ‣ Contrib & Custom modules‣ Libraries & Patches‣ Theme‣ Structure (entities, views, contexts, ....)‣ Environment configuration‣ Data

Drush make & Profile

Which tools can help:

Features Strongarm Node export features

Page 10: Drupal Day 2011 - Features: una vita felice

Modules we really need

‣ Features‣ Features extra‣ Features Plumber‣ UUID / UUID Features‣ Strongarm‣ Context & Delta‣ Boxes ‣ Node export

and obviously.... drush

Page 11: Drupal Day 2011 - Features: una vita felice

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