SlideShare a Scribd company logo
Drupal Workflow Concepts Some concepts needed for understanding Drupal Dev., Staging, and Production workflow needs
Site Lifecycles New Site design Functionality, Layout, Coding, Theming, Review, Rework, Deployment Site maintenance and updating Core/Module updates, add functionality, fix problems Site overhaul Functionality, Layout, Coding, Theming, Review, Rework, Content migration/ Deployment
Development, Staging, & Production Sites Development Sites One or more sites used to develop code or themes that resemble the production (but not exactly match)  Staging Site A site that closely resembles the production site with new items from the development sites integrated in.  Used for testing, client approval, etc. Production Sites The “live” site
Benefits of D-S-P Sites Allows multiple people to do site development Supplies a “safety net” for updates Changes can easily reviewed by key stakeholders before they are released to production Supplies a safe environment to test or problem debug without affecting the real site Encourages workflow methods that allow for roll back/change tracking
Disadvantages of D-S-P Sites Requires more effort than “just updating the production site” Copying/Merging Drupal sites can be “painful” Requires people to “play by the same rules” Incorrectly “Cloned” staging sites could: accidentally use the same “schema/database” as the production site and cause MANY problems send erroneous messages to your live site users
Parts of a Drupal Site Settings.php Core Modules Themes Images Attachments And the like Variables Node types Block Layout Views And the like Nodes Comments Users And the like FILES DATA Code Content Settings Content
Basic File Cloning Code Ideally, should use a good version control system like GIT.  But a set of zip/tar archives could work too. Content Can use version control but generally not a good idea.  A set of zip/tar archives with a good transfer tool works. Best practice is to only “pull” content files from production (unless initial deploy). General If possible, keep the same directory/file structure. ALWAYS modify the settings.php to use the correct database
Basic Database Cloning Create a backup using the Backup Migrate module Make sure ALL cache_* table content is excluded. Import via command line or SQL admin tool Clear cache Run update.php (in case modules updated/relocated) Clean up settings, change user e-mails and the like.
Some Cloned Database “gotchas” Pending user notifications in the database tables get sent with cron runs. Cloned users should have e-mails changed to prevent accidental messages. If URL change, e.g. my.site.com/main -> my.site.com/stage, some embedded URLs might send you to the production site or not work. Theme cache problems (clear cache via DRUSH if needed) File paths may need to be reset in admin screens.
Questions / Open floor discussion This has covered the basic concepts but a lot of details about best practices, merging changes, and the like need discussion.

More Related Content

PPTX
Drupal Continuous Integration Workflow
PPTX
Jenkins pipeline as code
PPTX
Pipeline as code using Jenkins -Ministry of Testing
PDF
Database Build and Release - SQL In The City - Ernest Hwang
PPTX
Jenkins presentation
PDF
Integration Testing with Behat drupal
PPTX
Session 2
PPTX
Session 2
Drupal Continuous Integration Workflow
Jenkins pipeline as code
Pipeline as code using Jenkins -Ministry of Testing
Database Build and Release - SQL In The City - Ernest Hwang
Jenkins presentation
Integration Testing with Behat drupal
Session 2
Session 2

What's hot (20)

PPTX
Continuous Integration with Bamboo for Salesforce
PPTX
A successful Git branching model
PPTX
Continuous integration using atlassian bamboo
PDF
Jenkins to Gitlab - Intelligent Build-Pipelines
PPTX
Git collaboration
PDF
Production Ready WordPress #WPLDN
PPTX
PDF
Continuous Development Pipeline
PDF
Developing with versioning and CI/CD
PDF
"The Story of Declarative React at Grammarly: From two-way data binding with ...
PDF
Gurjeet Singh - How Postgres is Different From (Better Tha) Your RDBMS @ Post...
ODP
Introduction to Version Control
PDF
World is changed. i feel it in the front end
PDF
Pull Request (PR): A git workflow
PPTX
Jenkins introduction
ODP
Jenkins Pipelining and Gatling Integration
PDF
Graphql usage
PPTX
Version Control and Continuous Integration
PDF
Bamboo Continuous Integration Server - Brief
PPTX
EVOLVE'16 | Keynote | Cat Reusswig | Taking Your AEM Implementation to The RO...
Continuous Integration with Bamboo for Salesforce
A successful Git branching model
Continuous integration using atlassian bamboo
Jenkins to Gitlab - Intelligent Build-Pipelines
Git collaboration
Production Ready WordPress #WPLDN
Continuous Development Pipeline
Developing with versioning and CI/CD
"The Story of Declarative React at Grammarly: From two-way data binding with ...
Gurjeet Singh - How Postgres is Different From (Better Tha) Your RDBMS @ Post...
Introduction to Version Control
World is changed. i feel it in the front end
Pull Request (PR): A git workflow
Jenkins introduction
Jenkins Pipelining and Gatling Integration
Graphql usage
Version Control and Continuous Integration
Bamboo Continuous Integration Server - Brief
EVOLVE'16 | Keynote | Cat Reusswig | Taking Your AEM Implementation to The RO...
Ad

Viewers also liked (20)

PDF
Db security vaba information age 2010 v5.ppt [compatibility m
ODT
Das redes as_ruas_aline_carvalho
PPTX
20100727谷歌中国整合营销传播计划integrated marketing communication plan for google china
KEY
Ynno Core Presentation
ODP
Cultuur21 - Cultuur 2.1 en de ontwikkeling van marketing
PDF
Vertrouw je mij?
PPTX
Open solaris
PPTX
Building a Modern Windows App
DOCX
Εγώ είμαι εγώ. Εσύ και εγώ είμαστε εμείς_ ΦΕ
PDF
Pato 3
PPTX
Language Policy In Papua And Zambia
PPTX
Haal meer uit je website / vergroot je online rendement
PPTX
Mídias sociais 2013 e o que você deve observar
PPTX
Spaii presentation
PPTX
Workshop Social Media - FNV Bondgenoten vrijdag 4 maart 2011
PPTX
Whatever the weather
PDF
Decreto 2147 23_de_diciembre_2016
PPTX
Constructivism Learning Theory
Db security vaba information age 2010 v5.ppt [compatibility m
Das redes as_ruas_aline_carvalho
20100727谷歌中国整合营销传播计划integrated marketing communication plan for google china
Ynno Core Presentation
Cultuur21 - Cultuur 2.1 en de ontwikkeling van marketing
Vertrouw je mij?
Open solaris
Building a Modern Windows App
Εγώ είμαι εγώ. Εσύ και εγώ είμαστε εμείς_ ΦΕ
Pato 3
Language Policy In Papua And Zambia
Haal meer uit je website / vergroot je online rendement
Mídias sociais 2013 e o que você deve observar
Spaii presentation
Workshop Social Media - FNV Bondgenoten vrijdag 4 maart 2011
Whatever the weather
Decreto 2147 23_de_diciembre_2016
Constructivism Learning Theory
Ad

Similar to Drupal Workflow Concepts (20)

PPTX
Migrating to SharePoint 2013 - Business and Technical Perspective
PPT
SharePoint Upgrade (WSS 2.0 to WSS 3.0 and SPS 2003 to MOSS 2007) by Joel Ole...
PDF
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
PPTX
Ready, Set, Upgrade!
PPT
Migraine Drupal - syncing your staging and live sites
PPTX
Automated Deployment
PPTX
PHP North-East - Automated Deployment
PPTX
Drupal 8 Configuration Management
PDF
Drupal Migrations in 2018
PPTX
SSDT unleashed
PPTX
SharePoint 2010 Migration Presentation
PDF
Drupal 8 Configuration Management with Features
PPTX
Improving Drupal Performances
ODP
Features & Installation Profiles
PPT
Taking your site from Drupal 6 to Drupal 7
PDF
IUG ATL PC 9.5
PPTX
Upgrading to SharePoint 2010 - Teched Middle East
PDF
Introduction to the Magento eCommerce Platform
PDF
DDAY2014 - Features per Drupal 8
ODP
Building Scalable Development Environments
Migrating to SharePoint 2013 - Business and Technical Perspective
SharePoint Upgrade (WSS 2.0 to WSS 3.0 and SPS 2003 to MOSS 2007) by Joel Ole...
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Ready, Set, Upgrade!
Migraine Drupal - syncing your staging and live sites
Automated Deployment
PHP North-East - Automated Deployment
Drupal 8 Configuration Management
Drupal Migrations in 2018
SSDT unleashed
SharePoint 2010 Migration Presentation
Drupal 8 Configuration Management with Features
Improving Drupal Performances
Features & Installation Profiles
Taking your site from Drupal 6 to Drupal 7
IUG ATL PC 9.5
Upgrading to SharePoint 2010 - Teched Middle East
Introduction to the Magento eCommerce Platform
DDAY2014 - Features per Drupal 8
Building Scalable Development Environments

More from cgmonroe (13)

PDF
Structured SEO Data Overview and How To
PDF
Structured SEO Data: An overview and how to for Drupal
PDF
Tips on Securing Drupal Sites - DrupalCamp Atlanta (DCA)
PDF
Tips on Securing Drupal Sites
PDF
Becoming "Facet"-nated with Search API
ODP
Intro to drupal module internals asheville
ODP
Using Content Delivery Networks with Drupal
ODP
Solr facets and custom indices
PPTX
HTML Purifier, WYSIWYG, and TinyMCE
PPTX
Using the Features API
PPTX
The Drupal Strongarm Module - Tips and Tricks.
PPT
Intro to CSS Selectors in Drupal
PPTX
TriDUG WebFM Presentation
Structured SEO Data Overview and How To
Structured SEO Data: An overview and how to for Drupal
Tips on Securing Drupal Sites - DrupalCamp Atlanta (DCA)
Tips on Securing Drupal Sites
Becoming "Facet"-nated with Search API
Intro to drupal module internals asheville
Using Content Delivery Networks with Drupal
Solr facets and custom indices
HTML Purifier, WYSIWYG, and TinyMCE
Using the Features API
The Drupal Strongarm Module - Tips and Tricks.
Intro to CSS Selectors in Drupal
TriDUG WebFM Presentation

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
cuic standard and advanced reporting.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Empathic Computing: Creating Shared Understanding
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Spectroscopy.pptx food analysis technology
PPTX
A Presentation on Artificial Intelligence
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Chapter 3 Spatial Domain Image Processing.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Per capita expenditure prediction using model stacking based on satellite ima...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
cuic standard and advanced reporting.pdf
Programs and apps: productivity, graphics, security and other tools
Empathic Computing: Creating Shared Understanding
The AUB Centre for AI in Media Proposal.docx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Assigned Numbers - 2025 - Bluetooth® Document
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Approach and Philosophy of On baking technology
Big Data Technologies - Introduction.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Spectroscopy.pptx food analysis technology
A Presentation on Artificial Intelligence
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Building Integrated photovoltaic BIPV_UPV.pdf
sap open course for s4hana steps from ECC to s4
Chapter 3 Spatial Domain Image Processing.pdf

Drupal Workflow Concepts

  • 1. Drupal Workflow Concepts Some concepts needed for understanding Drupal Dev., Staging, and Production workflow needs
  • 2. Site Lifecycles New Site design Functionality, Layout, Coding, Theming, Review, Rework, Deployment Site maintenance and updating Core/Module updates, add functionality, fix problems Site overhaul Functionality, Layout, Coding, Theming, Review, Rework, Content migration/ Deployment
  • 3. Development, Staging, & Production Sites Development Sites One or more sites used to develop code or themes that resemble the production (but not exactly match) Staging Site A site that closely resembles the production site with new items from the development sites integrated in. Used for testing, client approval, etc. Production Sites The “live” site
  • 4. Benefits of D-S-P Sites Allows multiple people to do site development Supplies a “safety net” for updates Changes can easily reviewed by key stakeholders before they are released to production Supplies a safe environment to test or problem debug without affecting the real site Encourages workflow methods that allow for roll back/change tracking
  • 5. Disadvantages of D-S-P Sites Requires more effort than “just updating the production site” Copying/Merging Drupal sites can be “painful” Requires people to “play by the same rules” Incorrectly “Cloned” staging sites could: accidentally use the same “schema/database” as the production site and cause MANY problems send erroneous messages to your live site users
  • 6. Parts of a Drupal Site Settings.php Core Modules Themes Images Attachments And the like Variables Node types Block Layout Views And the like Nodes Comments Users And the like FILES DATA Code Content Settings Content
  • 7. Basic File Cloning Code Ideally, should use a good version control system like GIT. But a set of zip/tar archives could work too. Content Can use version control but generally not a good idea. A set of zip/tar archives with a good transfer tool works. Best practice is to only “pull” content files from production (unless initial deploy). General If possible, keep the same directory/file structure. ALWAYS modify the settings.php to use the correct database
  • 8. Basic Database Cloning Create a backup using the Backup Migrate module Make sure ALL cache_* table content is excluded. Import via command line or SQL admin tool Clear cache Run update.php (in case modules updated/relocated) Clean up settings, change user e-mails and the like.
  • 9. Some Cloned Database “gotchas” Pending user notifications in the database tables get sent with cron runs. Cloned users should have e-mails changed to prevent accidental messages. If URL change, e.g. my.site.com/main -> my.site.com/stage, some embedded URLs might send you to the production site or not work. Theme cache problems (clear cache via DRUSH if needed) File paths may need to be reset in admin screens.
  • 10. Questions / Open floor discussion This has covered the basic concepts but a lot of details about best practices, merging changes, and the like need discussion.