Unified development practices

Why?

Topics

  • Git Workflow
  • Virtualisation
  • Drupal best practices
  • How to start a new D7 Project
  • Debugging
  • Move to Platform.sh

Git Workflow

  • Remotes
  • Branching models
  • Peer reviews
  • What to look while reviewing

Virtualisation

  • The need
  • Introduction to Virualisation
  • Introduction to Vagrant
  • Introduction to Drupal VM

Drupal Best Practices

  • Use of Features module
  • Deployments
  • Think before blindly using a module

Use of Features Module

https://srijan.atlassian.net/wiki/display/drupal/Drupal+Best+Practices

*Use example of fox.com

Deployments

Deployments: How to ease the process

  • Golden Rule: DRY
  • At least not on PROD :P
  • Rescue Rangers: Features + Update hooks + Drush
  • One touch deployment: Oncorps Case Study (Live Demo)

There is module for that

Don't use it

How to start a new D7 Project

<project_name>_updates module

Debugging

  • PHP Debugging: Xdebug (Live Demo)
  • Xdedug/var_dump: Choose wisely

Unified dev practices

By Ashish Thakur

Unified dev practices

  • 655