Skip to content

Commit 1d820ce

Browse files
chaffneueweaverryan
authored andcommitted
updated Templates and Final Thoughts
1 parent 968391e commit 1d820ce

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

quick_tour/the_big_picture.rst

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,9 @@ developers. In our example, we only have one bundle, ``HelloBundle``.
277277
Templates
278278
~~~~~~~~~
279279

280-
So, the controller renders the ``HelloBundle:Hello:index.html.twig`` template.
281-
But what's in a template name? ``HelloBundle`` is the bundle name, ``Hello``
282-
is the controller, and ``index.html.twig`` the template name. By default, the
283-
sandbox uses Twig as its template engine:
280+
The controller renders the ``HelloBundle:Hello:index.html.twig`` template. By
281+
default, the sandbox uses Twig as its template engine but you can also use
282+
traditional PHP templates if you choose.
284283

285284
.. code-block:: jinja
286285
@@ -291,10 +290,6 @@ sandbox uses Twig as its template engine:
291290
Hello {{ name }}!
292291
{% endblock %}
293292
294-
Congratulations! You have looked at your first Symfony2 piece of code. That was
295-
not so hard, was it? Symfony2 makes it really easy to implement web sites
296-
better and faster.
297-
298293
.. index::
299294
single: Environment
300295
single: Configuration; Environment
@@ -326,11 +321,10 @@ working on a project.
326321
Final Thoughts
327322
--------------
328323

329-
The 10 minutes are over. By now, you should be able to create your own simple
330-
routes, controllers, and templates. As an exercise, try to build something
331-
more useful than the Hello application! But if you are eager to learn more
332-
about Symfony2, you can read the next part of this tutorial right away, where
333-
we dive more into the templating system.
324+
Thanks for trying out Symfony2! By now, you should be able to create your own
325+
simple routes, controllers and templates. As an exercise, try to build
326+
something more useful than the Hello application! If you are eager to
327+
learn more about Symfony2, dive into the next section: the view system.
334328

335329
.. _sandbox: http://symfony-reloaded.org/code#sandbox
336330
.. _YAML: http://www.yaml.org/

0 commit comments

Comments
 (0)