@@ -240,7 +240,7 @@ the ``templates/layout.php``:
240
240
You now have a setup that will allow you to reuse the layout.
241
241
Unfortunately, to accomplish this, you're forced to use a few ugly
242
242
PHP functions (``ob_start() ``, ``ob_get_clean() ``) in the template. Symfony
243
- solves this using a ` Templating `_ component . You'll see it in action shortly.
243
+ solves this using ` Twig `_ . You'll see it in action shortly.
244
244
245
245
Adding a Blog "show" Page
246
246
-------------------------
@@ -568,9 +568,8 @@ nice way to group related pages. The controller functions are also sometimes cal
568
568
569
569
The two controllers (or actions) are still lightweight. Each uses the
570
570
:doc: `Doctrine ORM library </doctrine >` to retrieve objects from the
571
- database and the Templating component to render a template and return a
572
- ``Response `` object. The ``list.html.twig `` template is now quite a bit simpler,
573
- and uses Twig:
571
+ database and Twig to render a template and return a ``Response `` object.
572
+ The ``list.html.twig `` template is now quite a bit simpler, and uses Twig:
574
573
575
574
.. code-block :: html+twig
576
575
@@ -677,7 +676,7 @@ migrating the blog from flat PHP to Symfony has improved your life:
677
676
:doc: `routing </routing >`, or rendering :doc: `controllers </controller >`;
678
677
679
678
* Symfony gives you **access to open source tools ** such as `Doctrine `_ and the
680
- `Templating `_, :doc: `Security </security >`, :doc: `Form </components/form >`,
679
+ `Twig `_, :doc: `Security </security >`, :doc: `Form </components/form >`,
681
680
`Validator `_ and `Translation `_ components (to name a few);
682
681
683
682
* The application now enjoys **fully-flexible URLs ** thanks to the Routing
@@ -694,7 +693,7 @@ A good selection of `Symfony community tools`_ can be found on GitHub.
694
693
695
694
.. _`Model-View-Controller` : https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
696
695
.. _`Doctrine` : https://www.doctrine-project.org/
697
- .. _ Templating : https://github.com/symfony/templating
696
+ .. _ Twig : https://github.com/twigphp/twig
698
697
.. _Translation : https://github.com/symfony/translation
699
698
.. _`Composer` : https://getcomposer.org
700
699
.. _`download Composer` : https://getcomposer.org/download/
0 commit comments