WP Tech 2018

Un shot de workflow

Maxime
CULEA

Développeur Back-End
Community Manager

~50

projets

~40

thèmes

~450

extensions

~9248

commits

Homebrew

Configuration php.ini

Configs aux petits oignons

.gitconfig

.gitignore_global

.bash_profile

Git autocompletion

Ligne de commandes

SmartGit (gitkracken, etc)

Interface Visuelle

GIT FORK

Peut devenir très chronophage !

PHP Storm

Automatic uploads

IDE

Destination
(local ou serveur)

Parcourir le dossier de destination

Terminal

Support de WordPress

Support de WordPress

Gestion des todo

Incorporer GIT

Coding Standards

PHP

Code Sniffer

WordPress

Unit Test

Développement Local

Outils server

SSH Shell

Cyber Duck

Sequel Pro

Buddy Works

  1. Checkout master
  2. Merge (+ conflicts)
  3. Compiler les assets
  4. Bump style
  5. Composer install
  6. Connect SSH (+ VPN)
  7. Déploiement (+ plusieurs frontaux)
  8. Clean cache (varnish / object)
  9. Ping New Relic
  10. Notification (slack / email / etc)

Sans Buddy Works

  1. Checkout master
  2. Merge (+ conflicts)
  3. Tâche pré-déploiement
  4. Composer install
  5. Tâche déploiement
  6. Tâche post-déploiement
  7. Notification (slack / email / etc)

Buddy Works

Satis

  1. Github

  2. Bitbucket

  3. WPackagist (https://wpackagist.org/)

  4. Packagist

  5. Release Belt (premium)

composer install

composer.lock ?

composer.lock updated ?

install explicit packages

composer update

composer.json ?

package

installed ?

new package

available

install best matched package

create composer.lock with explicit packages

yes

no

yes

no

Prestissimo

composer create-project beapi/wp-skeleton
wp-tech --repository-url={url}

WordPress Skeleton

composer freeze-version

composer extra commands

"johnpbloch/wordpress": "*@stable"
"johnpbloch/wordpress": "4.9.5"
composer make-stable

composer extra commands

"johnpbloch/wordpress": "*@stable"
"johnpbloch/wordpress": "4.9.5"
composer scaffold-plugin wp-tech-plugin cron
controller model widget shortcode route

Plugin scaffold

composer scaffold-theme wp-tech-theme

Theme scaffold

Merci de m'avoir écouté

A mon tour, des questions ?