際際滷

際際滷Share a Scribd company logo
The Ultimate WordPress
Workflow to Create
Websites of the Future
Browser sync, gulp, SASS, Vagrant, and other goodies
We¨ll code it live!
Three Repos Covered
jumpstart C My personal base for WordPress
jumpstart-install-script C Bash script to load jumpstart
jVVV C jumpstart with Varying Vagrant Vagrants
Find all three C https://github.com/elimc?tab=repositories
Demonstrate Sexy Synching
Action ´
List of Tech
Node C https://nodejs.org/
NPM C https://www.npmjs.com/
SASS and LibSASS C http://sass-lang.com/libsass
Browsersync C http://www.browsersync.io/
Gulp.js C http://gulpjs.com/
Vagrant C https://www.vagrantup.com/
BrowserSync
Live-reloads everything on any device anywhere
Browsersync in action: http://quick.as/az3sxrb
We combine Browsersync with Gulp.js
Gulp.js
Basically, faster version of Grunt
Will run tasks for us
Run with Browsersync to reload pages
Grunt Internals
Convert SASS to CSS and auto-prefix it for browser
compatibility
Files temporarily saved before next step
Gulp Internals
Convert SASS to CSS and auto-prefix it for browser
compatibility
Files ^piped ̄ like in Unix
Restarting Gulp
Sometimes gulp breaks if your PHP has compilation errors
To restart Gulp:
1. Enter ^C in the CLI
2. Then enter ^gulp ̄ in the CLI
The Future
Gulp 4.0 will fix many compilation errors
Vagrant can combined with automatic DB backups
Possible integration with deployment scripts?
DevOps is a super active area!
Thankyou

More Related Content

WordPress workflow of the future