Code driven
development

Sunday 26 January 14
Why are we using
Drupal?
• Content authorization.
• Large set of configurations.
• Lot of modules with huge amount of
featu...
Most used modules.
• Views
• Panels
• Context
• Date
• ....
Sunday 26 January 14
So what is code driven
development?

Sunday 26 January 14
Export it! Export it all!!

Sunday 26 January 14
Workflows

Sunday 26 January 14
Dev > Staging > Production

Sunday 26 January 14
Why should we use
workflows?

Sunday 26 January 14
To prevent the chaos!
Sunday 26 January 14
Use version control!
Sunday 26 January 14
Version controlling
workflows
• http://www.drupal.org
• http://www.github.com

Sunday 26 January 14
github
• http://help.github.com/mac-set-up-git/
• http://help.github.com/fork-a-repo/

Sunday 26 January 14
Features module
http://www.drupal.org/project/features

Sunday 26 January 14
Drupal feature
Sunday 26 January 14
Useful modules for
Features
•
•

Sunday 26 January 14

Strongarm - http://drupal.org/project/strongarm
Node export - http:...
Chaos tools
exportable api

http://www.drupal.org/project/ctools
http://drupal.org/node/928026

Sunday 26 January 14
Entity

Sunday 26 January 14
Drupalize your data!
Use Entities!
Sunday 26 January 14
Entities and bundles

Sunday 26 January 14
When should we use
entities?
Sunday 26 January 14
hook_entity_info()

Sunday 26 January 14
Entity API
http://www.drupal.org/project/entity

Sunday 26 January 14
Compatibility
• Rules
• Search API
• Features
• i18n
• Views
Sunday 26 January 14
CRUD API
•
•
•
•

entity_create($entity_type, array $values)

•

entity_access($op, $entity_type, $entity = NULL, $account...
hook_entity_property_info()

Sunday 26 January 14
UUID
http://www.drupal.org/project/uuid
Universally Unique IDentifier

Sunday 26 January 14
UUID API
• entity_uuid_load()
• entity_uuid_save()

Sunday 26 January 14
Install profiles - Distributions

Sunday 26 January 14
Distributions
• Open Atrium
• Aegir
• Drupal Commons
• Pressflow
• Tattler
Sunday 26 January 14
Drush
Drupal Shell
http://drupal.org/project/drush

Sunday 26 January 14
Makefiles
drush make

Sunday 26 January 14
Drupal 8

Sunday 26 January 14
Feature freeze
2012 december

Sunday 26 January 14
CMI
Config Management Initiative
http://groups.drupal.org/build-systems-changemanagement/cmi

Sunday 26 January 14
CMI
• Signed file storage
• Active Store
• Configuration API

Sunday 26 January 14
Contribute

• http://drupal.org/sandbox/heyrocker/
1145636

Sunday 26 January 14
Thank you for your attention!

Sunday 26 January 14
Upcoming SlideShare
Loading in...5
×

Drupal Course 2012 - Code Driven Development

148

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
148
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Drupal Course 2012 - Code Driven Development

  1. 1. Code driven development Sunday 26 January 14
  2. 2. Why are we using Drupal? • Content authorization. • Large set of configurations. • Lot of modules with huge amount of features Sunday 26 January 14
  3. 3. Most used modules. • Views • Panels • Context • Date • .... Sunday 26 January 14
  4. 4. So what is code driven development? Sunday 26 January 14
  5. 5. Export it! Export it all!! Sunday 26 January 14
  6. 6. Workflows Sunday 26 January 14
  7. 7. Dev > Staging > Production Sunday 26 January 14
  8. 8. Why should we use workflows? Sunday 26 January 14
  9. 9. To prevent the chaos! Sunday 26 January 14
  10. 10. Use version control! Sunday 26 January 14
  11. 11. Version controlling workflows • http://www.drupal.org • http://www.github.com Sunday 26 January 14
  12. 12. github • http://help.github.com/mac-set-up-git/ • http://help.github.com/fork-a-repo/ Sunday 26 January 14
  13. 13. Features module http://www.drupal.org/project/features Sunday 26 January 14
  14. 14. Drupal feature Sunday 26 January 14
  15. 15. Useful modules for Features • • Sunday 26 January 14 Strongarm - http://drupal.org/project/strongarm Node export - http://drupal.org/project/ node_export
  16. 16. Chaos tools exportable api http://www.drupal.org/project/ctools http://drupal.org/node/928026 Sunday 26 January 14
  17. 17. Entity Sunday 26 January 14
  18. 18. Drupalize your data! Use Entities! Sunday 26 January 14
  19. 19. Entities and bundles Sunday 26 January 14
  20. 20. When should we use entities? Sunday 26 January 14
  21. 21. hook_entity_info() Sunday 26 January 14
  22. 22. Entity API http://www.drupal.org/project/entity Sunday 26 January 14
  23. 23. Compatibility • Rules • Search API • Features • i18n • Views Sunday 26 January 14
  24. 24. CRUD API • • • • entity_create($entity_type, array $values) • entity_access($op, $entity_type, $entity = NULL, $account = NULL) Sunday 26 January 14 entity_save($entity_type, $entity) entity_delete($entity_type, $id) entity_view($entity_type, $entities, $view_mode = 'full', $langcode = NULL, $page = NULL)
  25. 25. hook_entity_property_info() Sunday 26 January 14
  26. 26. UUID http://www.drupal.org/project/uuid Universally Unique IDentifier Sunday 26 January 14
  27. 27. UUID API • entity_uuid_load() • entity_uuid_save() Sunday 26 January 14
  28. 28. Install profiles - Distributions Sunday 26 January 14
  29. 29. Distributions • Open Atrium • Aegir • Drupal Commons • Pressflow • Tattler Sunday 26 January 14
  30. 30. Drush Drupal Shell http://drupal.org/project/drush Sunday 26 January 14
  31. 31. Makefiles drush make Sunday 26 January 14
  32. 32. Drupal 8 Sunday 26 January 14
  33. 33. Feature freeze 2012 december Sunday 26 January 14
  34. 34. CMI Config Management Initiative http://groups.drupal.org/build-systems-changemanagement/cmi Sunday 26 January 14
  35. 35. CMI • Signed file storage • Active Store • Configuration API Sunday 26 January 14
  36. 36. Contribute • http://drupal.org/sandbox/heyrocker/ 1145636 Sunday 26 January 14
  37. 37. Thank you for your attention! Sunday 26 January 14
  1. A particular slide catching your eye?

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

×