model Returns model data Renders the view The Controller analyses the user request, calls the Model and passes data to the View. The View layer formats data in a dedicated format (html, json…) The Model stores the business logic and classes that manipulate data. R Router Response Request /hello/fabien
model Returns model data Renders the view The Controller analyses the user request, calls the Model and passes data to the View. The View layer formats data in a dedicated format (html, json…) The Model stores the business logic and classes that manipulate data. R Router Response Request /hello/fabien
model Returns model data Renders the view The Controller analyses the user request, calls the Model and passes data to the View. The View layer formats data in a dedicated format (html, json…) The Model stores the business logic and classes that manipulate data. R Router Response Request /hello/fabien
title }} </h1> <ul> <li>HTTP Caching, by Fabien Potencier</li> <li>HipHop for PHP, by Scott Mac Vicar</li> <li>XDebug, by Derick Rethans</li> <li>...</li> </ul> {% endblock %}
{% block content %} <h1> {{ title }} </h1> <ul> <li>HTTP Caching, by Fabien Potencier</li> <li>HipHop for PHP, by Scott Mac Vicar</li> <li>XDebug, by Derick Rethans</li> <li>...</li> </ul> {% endblock %} index.html.twig
by ProgressBar • TableHelper replaced by Table • Removal of the Application::asText() and::asXml() • Removal of the Command::asText() and ::asXml() • Removal of the InputDefinition::asText() and ::asXml()
No more Form::isBound() neither Form::getErrorsAsString() • AbstractType::setDefaultOptions() -‐> AbstractType::configureOptions() • AbstractTypeExtension::setDefaultOptions() -‐> AbstractTypeExtension::configureOptions() • No more of the « virtual » option
buildViolation(). • API BC (use of the 2.5 version). • Function Twig form_enctype() disappears. • No more « type » option in the ISBN constraint. • No more « methods » option in the Callback constraint. • No more « deep » option in the Valid constraint. • The constraints Optional & Required disappear.