SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
Working in Harmony: Manchester - Optimize development and content workflows
Here's the deck from my talk on 10/10/2015 at WordCamp Manchester where I spoke about content staging and things that you can do to make it easier to get content live on your site while working in a team environment.
Here's the deck from my talk on 10/10/2015 at WordCamp Manchester where I spoke about content staging and things that you can do to make it easier to get content live on your site while working in a team environment.
6.
Why Use Tiers?
•Avoid working on live production site
•Test scheduled releases, features, bug fixes
•Limit access by team or role
•Maintain a stable environment for other teams
7.
Tiers for development
.local
.dev
.stage
.prod
.qa
.test
Dev
production
local
stage
12.
Tiers for content creators
• qa
• staging
• production
Content
production
Google Docs / Word
stage Review, Approve, Schedule
13.
How Can I Deploy Content?
• Export/import via WordPress core functionality
• Database export/import via MySQL
• Export/import via database management plugins
Content
14.
Content Staging Systems
•Content Deployment Plugins
✴Content Staging
✴RAMP
✴Version Press
•Backup Plugins
•Platform & Host Based Solutions
✴Copy staging to live
Content
live
staging
15.
Content Staging Plugin
• Batch Deploy Content
• Preflight Check
• Push custom posts, media
Content
live
staging
16.
Content Staging Wishlist
•History & Audit Trail
•Multi-tier deploy
✴ push to staging & production
✴ pull new content to dev - DB
•Rollback
•Settings, menus, config
Content
live
staging
23.
Dev Starting Point
• The same environment
• The same tools/plugins
• The same workflow
Dev
24.
Plugins
• Dev/Debug tools
• Environment Indicators
• Demo Content Creator
• User Switching
• Content Staging
Dev
25.
Dependency Management
Dev
Plugin
Theme
Plugin
WP Core
26.
Composer
• Dependency Manager for PHP
• Keep versions in sync for team
• Manage plugin, themes, core
• Always use current versions
Dev
27.
WordPress Packagist
• Mirror of WordPress Plugins, Themes and Core
• Composer repository
• Not all plugins/themes available on wpackigist
28.
Local Dev Tools
• WP-CLI
• Scheduled local backup
• Copy production content to local
Dev
29.
Task Automation - Gulp
• When tasks become repetitive:
• SASS Compiling
• Minification/Uglify
• CSS Post Processing
• Reload
Dev
30.
Task Automation
Compile
SASS
Minify
Uglify
Concat
Reload
Browser
Compress
Images
Front end developer automation workflow
Dev
31.
Code Management
• Central repository for code
• Manage code for a group of developers
• Set access control
• Merge pull requests
• Branching workflow
Dev