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

iostudio Symfony Distribution High Level Overview

iostudio Symfony Distribution High Level Overview

This presentation was given for a lunch and learn to explain a high level overview of how awesome this distribution is.

Avatar for Joshua Estes

Joshua Estes

March 13, 2013
Tweet

More Decks by Joshua Estes

Other Decks in Technology

Transcript

  1. About Me • Currently work at iostudio • Symfony 3+

    years • Contributed to composer • PHP 10+ years • Contact – [email protected]
  2. Distribution Goals • Quickly get spun up (Vagrant, Puppet) •

    Code Quality (Ant, Jenkins) • Deployment (Capistrano, Capifony) • API Documentation (Sami)
  3. • Only needs write access to cache and log directories

    (more if uploads are used) • Framework not a CMS • Standard frame of reference
  4. • 2.3 LTS • More custom settings – ide, profiler,

    email • Minification - css and javascript using yui compressor • Comments added to configuration files • Quick setup with Vagrant and Puppet
  5. • Version Control the development machine • Takes the, “Works

    for me” away from developers • Can spin up one VM or multiple VMs as defined in configuration file • Devops, know what the production requirements are
  6. • Provision's VM – MySQL, Apache, anything else • Offers

    more tools – facter, mcollective • Can be used to apply configuration settings to any server
  7. • Continuous Integration Server • Creates builds of each project

    • Can view historic statistics of builds • Tons of plugins that we can use
  8. • http://agencyci.iostudiohq.com • Uses Ant to run a build script

    – If build is successful, deploys to beta server
  9. Sami • Generates documentation • https://github.com/fabpot/Sami • Puts documentation in

    build folder – build/doc • Only generates documentation for code in the src/ directory • Configure using sami.php file
  10. • Run a build script – phpunit – dead code

    detector – copy/paste detector – lines of code – mess detector – syntax check twig and php files – code style
  11. • Runs scripts on remote servers • Used to deploy

    code to servers • http://capistranorb.com and http://capifony.org