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

3,877 views

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
No Downloads
Views
Total views
3,877
On SlideShare
0
From Embeds
0
Number of Embeds
31
Actions
Shares
0
Downloads
111
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/
















































  • 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

    ×