Drupal distribution

download Drupal distribution

If you can't read please download the document

Transcript of Drupal distribution

  • 1. Rapid Drupal Development with Features Module & Drush
    • Presented By:Matthew Connerton

2. About Me

  • Asheville, NC

3. Drupal developer! 4. Module maintainer 5. php | mysql | jquery 6. Beer lover

  • (in case you're buying)

@connerton 7. What is a feature? A feature is a collection of Drupal entities (e.g. views, contexts, CCK fields, etc.) which taken together satisfy a certain use-case

  • Features are modules, but at a higher level of abstraction

8. Key differences:

  • Code is generated, not written by hand

9. Collects functionality rather than creating it 10. Easily enabled by lay people, and they don't have to look at the core modules page to do it 11. Live Demo

  • Image Gallery
  • Multiple Content Types

12. CCK Fields 13. Multiple Views

  • Views Attach

Multiple Imagecache Presets 14. Organize and Share

  • Feature Server:http://code.developmentseed.org/featureserver/

15. Organize all your projects and releases 16. Intergration with drush make for easy deployment of projects 17. Decentralized approach to distribution means you can have greater control over the process 18. What is Drush?

  • Command-line interface for managing Drupal

19. Some helpful commands:

  • drush dl {project}

20. drush enable {module} 21. drush disable {module} 22. drush update {module} The best of all:

  • drush_make!

23. What is drush_make

  • Provides the equivilent of a make file for Drupal using Drush

24. http://drupal.org/project/drush_make/ 25. 26. What can drush_make do?

  • Download Drupal core, as well as contrib modules from drupal.org.

27. Fetch themes and installation profiles. 28. Check code out from CVS, SVN, git and bzr repositories. 29. Download plain .tar.(gz) and .zip files (particularly useful for libraries that can not be distributed directly with drupal core or modules). 30. Fetch and apply patches 31. Magic Drush Make Demo 32. What Features can't do

  • Some common needs that features can't handle yet on its own:
  • Exporting taxonomy vocabularies.
  • Exportables module can help with this

Exporting variables. 33. Enabling blocks. 34. Exporting nodes (not really within scope). 35. Probably more things 36. So Whats Next?

  • Installation profiles

37. Installation Automation (to the nation?) 38. Questions? Discussion? Beer Time?

  • What you want:
  • http://drupal.org/project/features

39. http://drupal.org/project/context 40. http://drupal.org/project/drush 41. http://drupal.org/project/drush_make What you need:

  • http://mrconnerton.com(thats me!)

42. Twitter: @connerton 43. d.o: mrconnerton