Presented by
Michaël Villeneuve
CTO @ ctrlweb
/michael.villeneuve.18
1 year
8 meetups in 2016 every 6 weeks
- Docker et Symfony (16/11/2015)
- Symfony 3.0 (25/01/2016)
- TDD & BDD with Symfony - Steven Rosato (mid-March)
- API with FOSRestBundle
- Create a CMS with SonataAdminBundle
- How to optimise Doctrine
- Symfony caching system
- SyliusBundle
17h30 - 19h00 Networking
19h00 - 20h00
After... Pub victoria
19h00 Introduction
19h05 Should I worry
19h10 What's new
19h20 Backward compatibility issues
19h30 Examples
19h45 Gruppio
I realise that talking about Symfony 3 makes people nervous and this post is going to explain the Symfony 3 strategy and the reasons why you should not panic [...]
As the project manager of Symfony, one of my responsibility is it to keep the code as stable as possible for as long as possible
Fabien Potencier
CEO, Blackfire.io
Well, as Fabien told us...
...not much!
Easy to install
$ git clone git@github.com:sensiolabs-de/deprecation-detector.git
$ composer install
$ box build
$ sudo chmod a+x deprecation-detector.phar
$ sudo mv deprecation-detector.phar /usr/local/bin/deprecation-detector
$ deprecation-detector check src/ --log-html log.html
Easy to use
|#The application configuration, templates and translations.
|--app/
|
|#Executable files (e.g. bin/console).
|--bin/
|
|#The project's PHP code.
|--src/
|
|#Automatic tests (e.g. Unit tests).
|--tests/
|
|#Generated files (cache, logs, etc.).
|--var/
|
|#The third-party dependencies.
|--vendor/
|
|#The web root directory.
|--web/
http://symfony.com/bc
Semantic Versioning means that only major releases (such as 2.0, 3.0 etc.) are allowed to break backwards compatibility
It's a 3 step process
$h = new ProgressHelper();
$h->start($output, 10);
for ($i = 1; $i < 5; $i++) {
usleep(200000);
$h->advance();
}
$h->finish();
$table = $app->getHelperSet()->get('table');
$table
->setHeaders(array('ISBN', 'Title', 'Author'))
->setRows(array(
array('99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'),
array('9971-5-0210-0', 'A Tale of Two Cities', 'Charles Dickens'),
array('960-425-059-0', 'The Lord of the Rings', 'J. R. R. Tolkien'),
array('80-902734-1-6', 'And Then There Were None', 'Agatha Christie'),
))
;
$table->render($output);
The DeprecationDetector is nice... but not enough
"require": {
// "php": ">=5.3.9",
"php": ">=5.5.9",
"symfony/symfony": "3.0.*",
// ...
},
// ...
"config": {
"bin-dir": "bin",
"platform": {
//"php": "5.3.9"
"php": "5.5.9"
}
},
$ composer update --with-dependencies