File tree 3 files changed +5
-7
lines changed 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ The EventDispatcher Component
3
3
4
4
Our framework is still missing a major characteristic of any good framework:
5
5
*extensibility *. Being extensible means that the developer should be able to
6
- easily hook into the framework life cycle to modify the way the request is
7
- handled.
6
+ hook into the framework life cycle to modify the way the request is handled.
8
7
9
8
What kind of hooks are we talking about? Authentication or caching for
10
9
instance. To be flexible, hooks must be plug-and-play; the ones you "register"
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ more flexible than the previous one. Enjoy!
189
189
Using the Routing component has one big additional benefit: the ability to
190
190
generate URLs based on Route definitions. When using both URL matching and URL
191
191
generation in your code, changing the URL patterns should have no other
192
- impact. Want to know how to use the generator? Insanely easy ::
192
+ impact. You can use the generator this way ::
193
193
194
194
use Symfony\Component\Routing;
195
195
Original file line number Diff line number Diff line change @@ -77,9 +77,8 @@ but is a great way to start.
77
77
78
78
For details on setting up Varnish, see :doc: `/http_cache/varnish `.
79
79
80
- Enabling the proxy is easy: each application comes with a caching kernel (``AppCache ``)
81
- that wraps the default one (``AppKernel ``). The caching Kernel *is * the reverse
82
- proxy.
80
+ Each application comes with a caching kernel (``AppCache ``)that wraps the
81
+ default one (``AppKernel ``). The caching Kernel *is * the reverse proxy.
83
82
84
83
To enable caching, modify the code of your front controller. You can also make these
85
84
changes to ``app_dev.php `` to add caching to the ``dev `` environment::
@@ -267,7 +266,7 @@ Validation Caching
267
266
single: Cache; Cache-Control header
268
267
single: HTTP headers; Cache-Control
269
268
270
- With expiration caching, you simply say "cache for 3600 seconds!". But, when someone
269
+ With expiration caching, you say "cache for 3600 seconds!". But, when someone
271
270
updates cached content, you won't see that content on your site until the cache
272
271
expires.
273
272
You can’t perform that action at this time.
0 commit comments