introduction to zend framework boilerplate
Post on 05-Dec-2014
29.330 Views
Preview:
DESCRIPTION
TRANSCRIPT
Zend Framework Boilerplate All-in-one platform for development of enterprise grade PHP applications.
In a Nutshell
• Zend Framework Boilerplate is an all-in-one platform for development of enterprise grade PHP applications based on the Zend Framework.
• ZF-Boilerplate supports teams generate high-quality code and rapidly deliver customer value with PHP and ZF.
• Starting point for your next application.
In Detail
• Collection of integrated well-known PHP libraries such as Zend Framework, Doctrine 2, …
• Collection of well-known Development Tools such as PHPUnit, DocBlox, PHP Depend, DocBook, …
• Virtual Machine Appliance for Application Development
• ZF-Boilerplate Code Library
The Multi Legged Beast …
About Me
• Michael Romer
• Dipl. Inf. (FH)
• Berlin, Germany
• 6+ years of experience in Web Industry as Lead Developer, CTO, Product Owner, Scrum Master, Project Manager (eBay, erento.com, …)
• ZF-Boilerplate Initiator & Developer
Back in the days …
• Set up project‘s basic files & folder structure
• Pull in libraries for ORM, DI, etc. and make them work together.
• Write tons of clue code to get basics such as DB fixtures, Unit Testing environment, translations, Search, etc. in place.
• Create scripts for checking code style, DB schema generation, etc.
Back in the days …
• Install all tools and applications on local box: PHP, Apache, PEAR, Pecl, Ant, ElasticSearch, Java, Memcached, …
• How long does that take for your own box? A day? A week?
• How long does that take for your development team? And what about changes?
• Ease development of Enterprise grade PHP applications.
• Ease development in teams.
• Deliver customer value fast.
• Ensure high code quality.
Goals
• ZF-Boilerplate is an application blueprint and the starting point for your very own application.
• Doctrine 2 ORM and more included and pre-configured.
• Includes Unit Test Suite, I18N features, …
• Takes away lot of set-up work.
Application blueprint
• ZF Boilerplate uses Vagrant and Chef to provision a base VM image.
• On a local box you only install Virtual Box, Ruby, Vagrant and Git.
Virtual Machine
Virtual Machine
• Virtual Box is a virtualization product from Sun that allows to run a Virtual Machine on a host box.
• ZF-Boilerplate creates a VM for development.
• „Production-like“ environment.
Virtual Box
• Chef is a tool written in Ruby that lets you programatically install applications on a (virtual) box based on so called cookbooks and recipies.
• ZF-Boilerplates ships with all cookbooks to develop enterprise grad PHP applications in a VM environment.
Chef
• Vagrant is a tool written in Ruby that allows you to interact with Virtual Box and Chef in a very seamless way.
• Do vagrant up after cloning / downloading ZF-Boilerplate to create your VM.
• Open http://localhost:8080
Vagrant
• Download
– http://zf-boilerplate.com/downloads/
– https://github.com/michael-romer/zf-boilerplate
• Documentation
– http://zf-boilerplate.com/documentation/
ZF-Boilerplate: Getting Started!
• Assetic
• Skipfish Security Scanner
• ZF-Initializr
• Zend Framework 2
• …
Roadmap
http://zf-boilerplate.com/ All-in-one platform for development of enterprise grade PHP applications.
top related