Drupal Deployment

2,793 views
2,742 views

Published on

An introduction to Drupal deployment with the Features module.

Published in: Technology, Art & Photos
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,793
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
35
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide
  • \n
  • - Drupal is awesome!\n- We’ve got a live site!\n- Uh oh, I need to make a change.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • - look at the big picture\n- think about all the moving parts\n- if we don’t, we may end up with unexpected results.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Drupal Deployment

    1. 1. Drupal DeploymentAn Introduction to Features ModuleJAMES SANSBURY * DO IT WITH DRUPAL 2011
    2. 2. The Problem
    3. 3. ‣ Content and Configuration are sleeping together
    4. 4. ‣ Content and Configuration are sleeping together‣ No standard for storing configuration
    5. 5. ‣ Content and Configuration are sleeping together‣ No standard for storing configuration ‣ Variable table
    6. 6. ‣ Content and Configuration are sleeping together‣ No standard for storing configuration ‣ Variable table ‣ Custom data store
    7. 7. ‣ Content and Configuration are sleeping together‣ No standard for storing configuration ‣ Variable table ‣ Custom data store ‣ Even [gasp] entities
    8. 8. Oh noes!
    9. 9. Solutions
    10. 10. Solutions‣ Update hooks
    11. 11. Solutions‣ Update hooks‣ SQL Queries
    12. 12. Solutions‣ Update hooks‣ SQL Queries‣ Patterns (http://drupal.org/project/patterns)
    13. 13. Solutions‣ Update hooks‣ SQL Queries‣ Patterns (http://drupal.org/project/patterns)‣ Exportables
    14. 14. Enter the Features Module
    15. 15. What is Features Module?
    16. 16. What is Features Module?Features module
    17. 17. What is Features Module?Features module is a module
    18. 18. What is Features Module?Features module is a module that creates modules
    19. 19. What is Features Module?Features module is a module that creates modulescalled ‘features’.
    20. 20. What is Features Module? [FAILFeatures module is a module that creates modulescalled ‘features’. ]
    21. 21. What is Features module?
    22. 22. What is Features module?‣ Exports configuration to code
    23. 23. What is Features module?‣ Exports configuration to code‣ Creates a module for that code (called a feature)
    24. 24. What is Features module?‣ Exports configuration to code‣ Creates a module for that code (called a feature)‣ Monitors discrepancies
    25. 25. What is Features module?‣ Exports configuration to code‣ Creates a module for that code (called a feature)‣ Monitors discrepancies‣ Provides tools to resolve those discrepancies
    26. 26. What is a “feature” module?
    27. 27. What is a “feature” module?‣ A module
    28. 28. What is a “feature” module?‣ A module‣ Glue code
    29. 29. What is a “feature” module?‣ A module‣ Glue code‣ Satisfies a specific use case
    30. 30. Let’s try it!
    31. 31. Step back.
    32. 32. Step back.
    33. 33. Namespace.
    34. 34. Use version control.
    35. 35. Be careful.
    36. 36. Be careful. Easy can still be powerful.
    37. 37. And we all lived happily ever after.
    38. 38. Tools to help you along the way‣ The Kit specification: lb.cm/kit‣ Drupal.org features: lb.cm/drupal-org-features‣ Boxes: lb.cm/boxes‣ Debut: lb.cm/debut‣ Features Override: lb.cm/features-override‣ Features Plumber: lb.cm/features-plumber‣ UUID Features: lb.cm/uuid-features‣ Features issues: lb.cm/features-issues
    39. 39. Questions?

    ×