0
10 Reasons why you should be using features


   Florian Lorétan
                                  24. aug 16:00
         ...
Florian Lorétan
.net
10 Reasons
why you should be using
           Features
     or why you've been missing out so far
CCK
:-o
views
:-|
...
:-o
features
:-)
features?
features?
Reason




#1
Features puts configuration into code
What can be exported: exportables
   Default Views
   Imagecache Presets
   Ctools
       Panels
       Open Layers
...
Default
Default
Overridden
 Default
Default
Overridden
 Default
Default
What can be exported: non-exportables
   Content Types, including fields and fieldgroups
   Roles & Permissions
   Menus
...
Default
Overridden
 Default
Default
Overridden
 Default
Default
What can't be exported
   Input formats
   Things that can only be
    identified using sequential numeric IDs
Reason




#2
Features lets you
organize your project
Reason




#3
drush

``
drush features-list
drush features-export
drush features-diff
drush features-revert
drush features-revert-all
drush featur...
drush features-list         features
drush features-export       fe
drush features-diff         fd
drush features-revert  ...
drush features-list         features
drush features-export       fe
drush features-diff         fd
drush features-revert  ...
Reason




#4
With features,
configuration can be version-controlled
Reason




#5
Features can be shared
         Central
        Repository
Features can be shared
            Central
           Repository




 Default
Features can be shared
            Central
           Repository




 Default                Default
Features can be shared
            Central
           Repository




 Default                Overridden
                  ...
Features can be shared
            Central
           Repository




 Default                Default
Features can be shared
                Central
               Repository




  Default
Needs Review                Default
Features can be shared
            Central
           Repository




 Default                Default
Reason




#6
Features make deployment easy




     Central
    Repository
Features make deployment easy




     Central
    Repository
Features make deployment easy




     Central
    Repository
Features make deployment easy




     Central
    Repository
Reason




#7
Features makes major upgrades possible
Drupal          Images
Modules         mp3
Themes          Attachments


Content types   Nodes
Roles           Users
Vocab...
Functionality    Content

Drupal          Images
Modules         mp3
Themes          Attachments


Content types   Nodes
R...
Drupal          Images
Modules         mp3
Themes          Attachments


Content types   Nodes
Roles           Users      ...
Drupal          Images
Modules         mp3
Themes          Attachments


Content types   Nodes
Roles           Users      ...
Reason




#8
Reason




#9
Fourth Law of Software Development:


       “When you let your clients change things,
                     they break.”
Fourth Law of Software Development:


       “When you let your clients change things,
                     they break.”
Fourth Law of Software Development:


       “When you let your clients change things,
                     they break.”
 ...
Reason




#10
You?
:-)
questions?
http://cph2010.drupal.org/node/15028
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
10 Reasons why you should be using features for your Drupal project
Upcoming SlideShare
Loading in...5
×

10 Reasons why you should be using features for your Drupal project

3,452

Published on

Slides from the DrupalCon presentation: http://cph2010.drupal.org/sessions/10-reasons-why-you-should-be-using-features-your-drupal-project#

Published in: Technology
3 Comments
10 Likes
Statistics
Notes
  • I see no reasons to use Drupal for people who knows at least basics of PHP and MySQL. Drupal good CMS just for 'primary' use. It shoulde be adjusted only in admin interface, no more. No programming with Drupal! It is painfull procedure.
    I like some article: erickennedy.org/Drupal-7-Reasons-to-Switch
    It describes everything about Drupal very well.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • This is the Archive.org video of this presentation. Very good audio.
    http://www.archive.org/details/10ReasonsWhyYouShouldBeUsingFeaturesForYourDrupalProject
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • LOL, Florian, I love the CVS pharmacy logo.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
3,452
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
108
Comments
3
Likes
10
Embeds 0
No embeds

No notes for slide



















  • Add animation for





























  • Screenshot from terribly confusing website





















  • Image source: http://www.superaction.com/website108/108/classic/
  • Image source: http://www.superaction.com/website108/108/classic/
  • Image source: http://www.superaction.com/website108/108/classic/
















































  • Transcript of "10 Reasons why you should be using features for your Drupal project"

    1. 1. 10 Reasons why you should be using features Florian Lorétan 24. aug 16:00 Microsoft
    2. 2. Florian Lorétan
    3. 3. .net
    4. 4. 10 Reasons why you should be using Features or why you've been missing out so far
    5. 5. CCK
    6. 6. :-o
    7. 7. views
    8. 8. :-|
    9. 9. ...
    10. 10. :-o
    11. 11. features
    12. 12. :-)
    13. 13. features?
    14. 14. features?
    15. 15. Reason #1
    16. 16. Features puts configuration into code
    17. 17. What can be exported: exportables  Default Views  Imagecache Presets  Ctools  Panels  Open Layers  Rules  Blocks (via context)  Variables (via strongarm)
    18. 18. Default
    19. 19. Default
    20. 20. Overridden Default
    21. 21. Default
    22. 22. Overridden Default
    23. 23. Default
    24. 24. What can be exported: non-exportables  Content Types, including fields and fieldgroups  Roles & Permissions  Menus  Vocabularies  Nodes, Terms & Users (using UUIDs) *
    25. 25. Default
    26. 26. Overridden Default
    27. 27. Default
    28. 28. Overridden Default
    29. 29. Default
    30. 30. What can't be exported  Input formats  Things that can only be identified using sequential numeric IDs
    31. 31. Reason #2
    32. 32. Features lets you organize your project
    33. 33. Reason #3
    34. 34. drush ``
    35. 35. drush features-list drush features-export drush features-diff drush features-revert drush features-revert-all drush features-update drush features-update-all
    36. 36. drush features-list features drush features-export fe drush features-diff fd drush features-revert fr drush features-revert-all fr-all drush features-update fu drush features-update-all fu-all
    37. 37. drush features-list features drush features-export fe drush features-diff fd drush features-revert fr drush features-revert-all fr-all drush features-update fu drush features-update-all fu-all
    38. 38. Reason #4
    39. 39. With features, configuration can be version-controlled
    40. 40. Reason #5
    41. 41. Features can be shared Central Repository
    42. 42. Features can be shared Central Repository Default
    43. 43. Features can be shared Central Repository Default Default
    44. 44. Features can be shared Central Repository Default Overridden Default
    45. 45. Features can be shared Central Repository Default Default
    46. 46. Features can be shared Central Repository Default Needs Review Default
    47. 47. Features can be shared Central Repository Default Default
    48. 48. Reason #6
    49. 49. Features make deployment easy Central Repository
    50. 50. Features make deployment easy Central Repository
    51. 51. Features make deployment easy Central Repository
    52. 52. Features make deployment easy Central Repository
    53. 53. Reason #7
    54. 54. Features makes major upgrades possible
    55. 55. Drupal Images Modules mp3 Themes Attachments Content types Nodes Roles Users Vocabularies Terms
    56. 56. Functionality Content Drupal Images Modules mp3 Themes Attachments Content types Nodes Roles Users Vocabularies Terms
    57. 57. Drupal Images Modules mp3 Themes Attachments Content types Nodes Roles Users DB Vocabularies Terms
    58. 58. Drupal Images Modules mp3 Themes Attachments Content types Nodes Roles Users DB Vocabularies Terms
    59. 59. Reason #8
    60. 60. Reason #9
    61. 61. Fourth Law of Software Development: “When you let your clients change things, they break.”
    62. 62. Fourth Law of Software Development: “When you let your clients change things, they break.”
    63. 63. Fourth Law of Software Development: “When you let your clients change things, they break.” override
    64. 64. Reason #10
    65. 65. You?
    66. 66. :-)
    67. 67. questions?
    68. 68. http://cph2010.drupal.org/node/15028
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×