The document summarizes key aspects of Drupal distributions. It discusses what distributions are, typical distribution architecture including core, installation profiles, modules and themes. It provides tips for developing distributions including using features and contexts modules, organizing functionality, and localizing. It also covers maintaining distributions, building communities around them, and their future direction.
1 of 21
Downloaded 52 times
More Related Content
Drupal Distributions: The Dos and Don'ts:
1. Drupal Distributions:
The Dos and Don’ts
Irakli Nadareishvili, Jeff Miccolis
24. aug 9:00
Room name
Tuesday, August 24, 2010
2. nadareishvili
irakli
director o
f product de
velopment
techn ology
p hase2
Trivia: was trained
to become a hardcor
e physicist
Tuesday, August 24, 2010
3. jeff m iccolis
lead develo
per
pmen t seed
develo
Trivia: studied phil
osophy in undergr
ad
Tuesday, August 24, 2010
4. Agenda
• What are distributions?
• Typical architecture of a distro
• Community infrastructure
• Running a distro as a product
• Extensive Q&A
Tuesday, August 24, 2010
5. What’s a Distro?
A Drupal distribution is a Drupal
installer packaged differently than the
default one on drupal.org
Tuesday, August 24, 2010
6. Distros vs Default
• Expand the reach of Drupal
• Tailored to specific needs
Tuesday, August 24, 2010
7. Inside a Distro:
• Drupal Core
• Installation Profile
• Set of modules
• Themes
• Third-party libraries (e.g. Javascript)
Tuesday, August 24, 2010
8. Install Profiles
• Can only be chosen on install.
• Provides custom install tasks.
• Provides modules and themes that are
only available to sites that use the
profile.
Tuesday, August 24, 2010
9. Exportables
• Distinguish between content and
configuration.
• Capture the configuration in code.
• Make long term configuration
management possible.
Tuesday, August 24, 2010
10. Toolchain
• Features module
• Context module
• Kit specification
• Drush & Drush Make
Tuesday, August 24, 2010
11. Tip #1
Install Profile is just a list of modules!
Tuesday, August 24, 2010
12. Tip #2
• Long list of modules can take a while to
install!
• Use batch processing.
Tuesday, August 24, 2010
13. Tip #3
• Organize Features functionally.
• Separate frequently-changing from
permanent.
Tuesday, August 24, 2010
14. Tip #4
• Context Layouts are powerful.
• Always define a global context.
• Beware of overlapping contexts.
• Write a custom condition or reaction if
needed!
Tuesday, August 24, 2010
15. Tip #5
• Always fix module versions in your drush
make!
Tuesday, August 24, 2010
16. Drush Make on d.o.
• Benefit: Better automation.
• Challenge: third-party libraries
• Challenge: running custom packaging
routines and security
• Current State
Tuesday, August 24, 2010
17. Localizing a Distro
• localize.drupal.org
• Setting up a localization server
• Syncing with l.d.o.
• Translating an install profile and
bundling it with .pos
Tuesday, August 24, 2010
18. Building a Community
• OpenAtrium Experience
• OpenPublish Experience
Tuesday, August 24, 2010
19. Maintaining
• Who pays for a distribution?
• Keeping up with security releases
• Packaging
• Upgrade testing
Tuesday, August 24, 2010
20. Where We’re Headed
• The future of distributions?
• Tools we will need?
• Is there a momentum?
• What’s next?
Tuesday, August 24, 2010