5. Used with
Similar to Zend - a collection of components,
which can be a full-stack framework
Drupal 8 is using only some of the components
eZ Publish 5 is using a full-stack
PHPUnit, Propel, Doctrine - use Yaml, Console
composer = package & dependency manager
PSR-0..3 standards affect autoloading
14. Setup
Download or install with composer:
composer create-project symfony/framework-standard-edition symfony/ 2.2.0
Check for directory permissions & requirements
php ./app/check.php
Open it in browser, get a 20mb wow effect
http://localhost/symfony/web/app_dev.php/
20. Low-level request flow
Frontend bootstrap (web/app_dev.php) adds
autoloader, boots kernel, creates Request
Kernel loads config, resolves URLto controller
Controller loads model & view, can make a
subrequest and returns a Response
Views usually use twig
Models usually use doctrine
33. Doctrine
ORM - different headache (due to abstraction)
multiple db engine support
Mostly, no direct SQLs, instead - chaining
Alternative - DoctrineQL
Migration support
app/config/parameters.yml