Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Fellowship of the Code - PHP TOUR 2014

The Fellowship of the Code - PHP TOUR 2014

Quality & comptencies progess in small web agencies

Ronan Guilloux

June 24, 2014
Tweet

More Decks by Ronan Guilloux

Other Decks in Programming

Transcript

  1. The Fellowship
 of The Code 
 Little teams, little clients,

    Little budgets…
 and the will of quality
  2. var me = {! "user": "Ronan"! , "age": 37! ,

    "origin": "Brittany"! , "twitter": "@arno_u_loginlux"! , "repo": "github.com/ronanguilloux"! , "work": "[email protected]"! , "tags": [! "dad"! , "bearded web developer"! , "open-source enthusiast"! , "web agency veteran"! ]! }
  3. « If you’re doing automation, you’re already doing something right.

    It’s not about how you do it. » (Shaun Dunne, medium.com) « Grunt vs Gulp vs Make vs Rake vs Jake vs Cake vs Brunch vs Ant vs Maven vs Bash vs You… »
  4. (OK, OK, this is all largely inspired by Capistrano directories

    structure) " ➜ myApp tree !"" [me 19] current -> releases/2014-06-24! !"" [me 68] deploy.sh! !"" [me 238] releases! # !"" [me 68] 2014-04-20! # !"" [me 68] 2014-05-02! # !"" [me 68] 2014-05-15! # !"" [me 68] 2014-06-01! # $"" [me 136] 2014-06-24! # !"" [me 68] src! # $"" [me 136] web! # !"" [me 0] index.php! # $"" [me 16] uploads -> ../../../uploads
 $"" [me 238] uploads
 " 11 directories, 1 file
 ➜ myApp!
  5. Cool & simple things always remain cool & simple. "

    me@server$~: ./deploy.sh! me@server$~: deploying…! me@server$~: done!! me@server$~:
  6. Everyone in the team should now be a deployer. "

    me@server$~: make deploy! me@server$~: deploying…! me@server$~: done!! me@server$~:
  7. Making is cool. " me@server$~: make build! ! me@server$~: make

    deploy! ! me@server$~: make update! ! me@server$~: make whatever! me@server$~:
  8. Semantic Versioning
 As A Delivery Process One Roadmap to Rule

    Them All v1.2.3
 
 « major.minor.bugfixes »
  9. Again,
 we didn’t ask for permissions
 
 but people quickly

    adopted this. " Again, let’s stay quiet & carry on.
  10. = non-regression tests FTW = enhancing software business value =

    profit! Solution :
 
 « bug + scenario + fix = profit! »
  11. Building a BDD culture is long,
 This is only BDD

    groundwork " ~ " To be sincere:
 
 We really used Behat just once :
 testing critical feats of one critical app.