2
About Me
Geekpolis Technical Leader
Built themeski.com premium Drupal theme system.
3
Outline
Discuss about problems when develop web with Drupal.
Discover some special tools Resources Demo. Q&A
4
Dev
Test
Production
Dev 1
Dev 2
Dev 3
Problems ?
Sharing database dump
5
Dev
Test
Production
ConflictSpeed
Reused
How to fix that ?
Sharing database dump
Dev 1
Dev 2
Dev 3
6
SolutionsFeatures
Make File
Drush
GIT
High Speed
High Quality
7
Features
Sharing database dumpsNot ideal for a distributed teamMake it difficult to push settings to production.Content and settings is mixed in one db dump.Easy lose control.
8
Features
Put everything in codeCode can be versioned.Conflicts can be solved.Content and settings are separated.Easy to push changes to production.
9
Features
Storing configuration in code
10
Make file
Core
Modules
Themes
Libraries
Profile
Features
11
12
Drush Drush is a command line shell and scripting interface
for Drupal. Drush is not a module. Commons command:
drush pm-download cck viewsdrush pm-enable cck views drush pm-disable cck viewsdrush pm-uninstall cck viewsdrush statusdrush pm-updatedrush cache-clear (Clear all Cache)
13
14
GIT Git is a free and open source distributed
version control system designed to handle everything from small to very large projects with speed and efficiency
15
Demo time!
Discover commons Drush commands. Export features Generate make file Build profile Manage version with Git. Work flow in small team work.
16
Resources Drush
http://drush.ws/ Make file
http://drupal.org/node/1432374 http://drushmake.me/
Features http://mustardseedmedia.com/podcast/episode43 http://2012.badcamp.net/sites/default/files/slides/Features
%20BADcamp_0.pdf WorkFlow
http://developmentseed.org/blog/2009/jul/09/development-staging-production-workflow-problem-drupal/Features
Git http://git-scm.com/
Top Related