@@ -297,13 +297,12 @@ traditional PHP templates if you choose.
297
297
Working with Environments
298
298
-------------------------
299
299
300
- Now that you have a better understanding on how Symfony2 works, have a closer
300
+ Now that you have a better understanding of how Symfony2 works, have a closer
301
301
look at the bottom of the page; you will notice a small bar with the Symfony2
302
- and PHP logos. It is called the "Web Debug Toolbar" and it is the developer's
302
+ and PHP logos. This is called the "Web Debug Toolbar" and it is the developer's
303
303
best friend. Of course, such a tool must not be displayed when you deploy your
304
- application to your production servers. That's why you will find another front
305
- controller in the ``web/ `` directory (``app.php ``), optimized for the
306
- production environment:
304
+ application to production. That's why you will find another front controller in
305
+ the ``web/ `` directory (``app.php ``), optimized for the production environment:
307
306
308
307
http://localhost/sandbox/web/app.php/hello/Fabien
309
308
@@ -314,9 +313,9 @@ And if you use Apache with ``mod_rewrite`` enabled, you can even omit the
314
313
315
314
To make the production environment as fast as possible, Symfony2 maintains a
316
315
cache under the ``app/cache/ `` directory. When you make changes to the code or
317
- configuration, you need to manually remove the cached files. That's why you
318
- should always use the development front controller (``app_dev.php ``) when
319
- working on a project.
316
+ configuration, you need to manually remove the cached files. The development
317
+ front controller (``app_dev.php ``) does not use this cache and your changes
318
+ appear immediately, thus is recommended when working on a project.
320
319
321
320
Final Thoughts
322
321
--------------
0 commit comments