Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dde719d

Browse files
committed
Minor reword for the intro of the Templating article
1 parent cc65be3 commit dde719d

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

templating.rst

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,19 @@
44
Creating and Using Templates
55
============================
66

7-
As you know, the :doc:`controller </controller>` is responsible for
8-
handling each request that comes into a Symfony application. In reality,
9-
the controller delegates most of the heavy work to other places so that
10-
code can be tested and reused. When a controller needs to generate HTML,
7+
As explained in :doc:`the previous article </controller>`, controllers are
8+
responsible for handling each request that comes into a Symfony application and
9+
the usually end up rendering a template to generate the response contents.
10+
11+
In reality, the controller delegates most of the heavy work to other places so
12+
that code can be tested and reused. When a controller needs to generate HTML,
1113
CSS or any other content, it hands the work off to the templating engine.
14+
1215
In this article, you'll learn how to write powerful templates that can be
1316
used to return content to the user, populate email bodies, and more. You'll
1417
learn shortcuts, clever ways to extend templates and how to reuse template
1518
code.
1619

17-
.. note::
18-
19-
How to render templates is covered in the
20-
:ref:`controller <controller-rendering-templates>` article.
21-
2220
.. index::
2321
single: Templating; What is a template?
2422

0 commit comments

Comments
 (0)