@@ -240,7 +240,7 @@ the ``templates/layout.php``:
240240You now have a setup that will allow you to reuse the layout.
241241Unfortunately, to accomplish this, you're forced to use a few ugly
242242PHP 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.
244244
245245Adding a Blog "show" Page
246246-------------------------
@@ -568,9 +568,8 @@ nice way to group related pages. The controller functions are also sometimes cal
568568
569569The two controllers (or actions) are still lightweight. Each uses the
570570: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:
574573
575574.. code-block :: html+twig
576575
@@ -677,7 +676,7 @@ migrating the blog from flat PHP to Symfony has improved your life:
677676 :doc: `routing </routing >`, or rendering :doc: `controllers </controller >`;
678677
679678* 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 >`,
681680 `Validator `_ and `Translation `_ components (to name a few);
682681
683682* 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.
694693
695694.. _`Model-View-Controller` : https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
696695.. _`Doctrine` : https://www.doctrine-project.org/
697- .. _ Templating : https://github.com/symfony/templating
696+ .. _ Twig : https://github.com/twigphp/twig
698697.. _Translation : https://github.com/symfony/translation
699698.. _`Composer` : https://getcomposer.org
700699.. _`download Composer` : https://getcomposer.org/download/
0 commit comments