File tree Expand file tree Collapse file tree 6 files changed +5
-24
lines changed
Filter options
Expand file tree Collapse file tree 6 files changed +5
-24
lines changed
Original file line number Diff line number Diff line change @@ -250,11 +250,7 @@ in great details, but hopefully it gives you enough information to get started
250
250
on your own and to better understand how the Symfony framework works
251
251
internally.
252
252
253
- If you want to learn more, read the source code of the `Silex `_
254
- micro-framework, and especially its `Application `_ class.
255
-
256
253
Have fun!
257
254
258
255
.. _`Pimple` : https://github.com/silexphp/Pimple
259
- .. _`Silex` : http://silex.sensiolabs.org/
260
256
.. _`Application` : https://github.com/silexphp/Silex/blob/master/src/Silex/Application.php
Original file line number Diff line number Diff line change @@ -285,18 +285,18 @@ the wheel.
285
285
286
286
I've almost forgot to talk about one added benefit: using the HttpFoundation
287
287
component is the start of better interoperability between all frameworks and
288
- applications using it (like `Symfony `_, `Drupal 8 `_, `phpBB 3 `_, `ezPublish
289
- 5 `_, `Laravel `_, ` Silex `_ and `more `_).
288
+ ` applications using it `_ (like `Symfony `_, `Drupal 8 `_, `phpBB 3 `_, `ezPublish
289
+ 5 `_, `Laravel `_ and `more `_).
290
290
291
291
.. _`Twig` : https://twig.symfony.com/
292
292
.. _`HTTP specification` : https://tools.ietf.org/wg/httpbis/
293
293
.. _`audited` : https://symfony.com/blog/symfony2-security-audit
294
+ .. _`applications using it` : https://symfony.com/components/HttpFoundation
294
295
.. _`Symfony` : https://symfony.com/
295
296
.. _`Drupal 8` : https://drupal.org/
296
297
.. _`phpBB 3` : https://www.phpbb.com/
297
298
.. _`ezPublish 5` : https://ez.no/
298
299
.. _`Laravel` : https://laravel.com/
299
- .. _`Silex` : https://silex.sensiolabs.org/
300
300
.. _`Midgard CMS` : http://www.midgard-project.org/
301
301
.. _`Zikula` : https://zikula.org/
302
302
.. _`autoloaded` : https://php.net/autoload
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ Hopefully, you now have a better understanding of why the simple looking
197
197
``HttpKernelInterface `` is so powerful. Its default implementation,
198
198
``HttpKernel ``, gives you access to a lot of cool features, ready to be used
199
199
out of the box, with no efforts. And because HttpKernel is actually the code
200
- that powers the Symfony and Silex frameworks , you have the best of both
200
+ that powers the Symfony framework , you have the best of both
201
201
worlds: a custom framework, tailored to your needs, but based on a rock-solid
202
202
and well maintained low-level architecture that has been proven to work for
203
203
many websites; a code that has been audited for security issues and that has
Original file line number Diff line number Diff line change @@ -41,13 +41,6 @@ a fully-featured full-stack web framework.
41
41
And of course, each step will be the occasion to learn more about some of the
42
42
Symfony Components.
43
43
44
- .. tip ::
45
-
46
- If you don't have time to read the whole book, or if you want to get
47
- started fast, you can also have a look at `Silex `_, a micro-framework
48
- based on the Symfony Components. The code is rather slim and it leverages
49
- many aspects of the Symfony Components.
50
-
51
44
Many modern web frameworks advertize themselves as being MVC frameworks. This
52
45
tutorial won't talk about the MVC pattern, as the Symfony Components are able to
53
46
create any type of frameworks, not just the ones that follow the MVC
@@ -121,5 +114,4 @@ In the :doc:`next chapter </create_framework/http_foundation>`, we are going to
121
114
introduce the HttpFoundation Component and see what it brings us.
122
115
123
116
.. _`Symfony` : https://symfony.com/
124
- .. _`Silex` : http://silex.sensiolabs.org/
125
117
.. _`Composer` : http://packagist.org/about-composer
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ application harder to maintain.
121
121
cache
122
122
~~~~~
123
123
124
- **type **: ``string `` | ``false `` | `` Twig\Cache\CacheInterface `` **default **: ``'%kernel.cache_dir%/twig' ``
124
+ **type **: ``string `` | ``false `` **default **: ``'%kernel.cache_dir%/twig' ``
125
125
126
126
Before using the Twig templates to render some contents, they are compiled into
127
127
regular PHP code. Compilation is a costly process, so the result is cached in
Original file line number Diff line number Diff line change @@ -24,13 +24,6 @@ in the session (perhaps the user went directly to the login page), then the user
24
24
is redirected to ``/ `` (i.e. the homepage). You can change this behavior in
25
25
several ways.
26
26
27
- .. note ::
28
-
29
- Sometimes, redirecting to the originally requested page can cause problems,
30
- like if a background Ajax request "appears" to be the last visited URL,
31
- causing the user to be redirected there. For information on controlling this
32
- behavior, see :doc: `/security `.
33
-
34
27
Changing the default Page
35
28
~~~~~~~~~~~~~~~~~~~~~~~~~
36
29
You can’t perform that action at this time.
0 commit comments