@@ -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 `_ component. You'll see it in action shortly.
244
244
245
245
Adding a Blog "show" Page
246
246
-------------------------
@@ -568,7 +568,7 @@ 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
571
+ database and the Twig component to render a template and return a
572
572
``Response `` object. The ``list.html.twig `` template is now quite a bit simpler,
573
573
and uses Twig:
574
574
@@ -677,7 +677,7 @@ migrating the blog from flat PHP to Symfony has improved your life:
677
677
:doc: `routing </routing >`, or rendering :doc: `controllers </controller >`;
678
678
679
679
* Symfony gives you **access to open source tools ** such as `Doctrine `_ and the
680
- `Templating `_, :doc: `Security </security >`, :doc: `Form </components/form >`,
680
+ `Twig `_, :doc: `Security </security >`, :doc: `Form </components/form >`,
681
681
`Validator `_ and `Translation `_ components (to name a few);
682
682
683
683
* The application now enjoys **fully-flexible URLs ** thanks to the Routing
@@ -694,7 +694,7 @@ A good selection of `Symfony community tools`_ can be found on GitHub.
694
694
695
695
.. _`Model-View-Controller` : https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
696
696
.. _`Doctrine` : https://www.doctrine-project.org/
697
- .. _ Templating : https://github.com/symfony/templating
697
+ .. _ Twig : https://github.com/twigphp/twig
698
698
.. _Translation : https://github.com/symfony/translation
699
699
.. _`Composer` : https://getcomposer.org
700
700
.. _`download Composer` : https://getcomposer.org/download/
0 commit comments