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

Skip to content

Commit b83ee76

Browse files
committed
Merge remote branch 'denderello/learn_more'
* denderello/learn_more: removed emtpy learn more sections added learn more section to validator chapters added learn more sections to the forms chapters added cookbook references for all chapters do not have sub chapters changed outdated path of autoload.php
2 parents 18c39ac + 616c1c2 commit b83ee76

13 files changed

+59
-7
lines changed

book/bundles.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,9 @@ Retrieve the configuration parameters in your code from the container::
233233
Even if this mechanism is simple enough, you are highly encouraged to use the
234234
semantic configuration described in the cookbook.
235235

236-
.. _standards: http://groups.google.com/group/php-standards/web/psr-0-final-proposal
236+
Learn more from the Cookbook
237+
----------------------------
238+
239+
* :doc:`/cookbook/bundles/extension`
240+
241+
.. _standards: http://groups.google.com/group/php-standards/web/psr-0-final-proposal

book/controller.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,4 +701,10 @@ form the request.
701701
The controller can do anything and contain any logic, as long as it returns
702702
a ``Response`` object. If you extend the base ``Controller`` class, you
703703
instantly have access to all of the Symfony2 core service objects as well
704-
as shortcut methods to performing the most common tasks.
704+
as shortcut methods to performing the most common tasks.
705+
706+
Learn more from the Cookbook
707+
----------------------------
708+
709+
* :doc:`/cookbook/controller/service`
710+
* :doc:`/cookbook/controller/error_pages`

book/forms/fields.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,5 +214,4 @@ Symfony2 ships with the following fields:
214214

215215
fields/index
216216

217-
.. include:: fields/map.rst.inc
218-
217+
.. include:: fields/map.rst.inc

book/forms/overview.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,3 +368,10 @@ Form rendering is covered in detail in :doc:`Forms in Templates <view>`.
368368

369369
Congratulations! You just created your first fully-functional form with
370370
Symfony2.
371+
372+
Learn more from the Cookbook
373+
----------------------------
374+
375+
* :doc:`/cookbook/email`
376+
* :doc:`/cookbook/gmail`
377+
* :doc:`/cookbook/templating/PHP`

book/forms/view.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,3 +512,8 @@ parent class - ``FieldGroup`` - is used instead:
512512

513513
The ``render`` method is not very flexible and should only be used to
514514
build prototypes.
515+
516+
Learn more from the Cookbook
517+
----------------------------
518+
519+
* :doc:`/cookbook/templating/PHP`

book/from_flat_php_to_symfony2.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,12 @@ The corresponding ``layout.html.twig`` template is also easier to write:
705705
Twig is well-supported in Symfony2. And while PHP templates will always
706706
be supported in Symfony2, we'll continue to discuss the advantages of Twig.
707707

708+
Learn more from the Cookbook
709+
----------------------------
710+
711+
* :doc:`/cookbook/templating/PHP`
712+
* :doc:`/cookbook/controller/service`
713+
708714
.. _`Doctrine`: http://www.doctrine-project.org
709715
.. _`Twig`: http://www.twig-project.org
710716
.. _`Varnish`: http://www.varnish-cache.org

book/http_cache.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,11 @@ of relying only on Symfony2 documentation and code examples, you have access
10151015
to a world of knowledge related to HTTP caching and gateway caches such as
10161016
Varnish.
10171017

1018+
Learn more from the Cookbook
1019+
----------------------------
1020+
1021+
* :doc:`/cookbook/varnish/varnish`
1022+
10181023
.. _`Things Caches Do`: http://tomayko.com/writings/things-caches-do
10191024
.. _`Cache Tutorial`: http://www.mnot.net/cache_docs/
10201025
.. _`Varnish`: http://www.varnish-cache.org/

book/http_fundamentals.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,4 +412,4 @@ is the limit.
412412
.. _`HTTP Bis`: http://datatracker.ietf.org/wg/httpbis/
413413
.. _`Live HTTP Headers`: https://addons.mozilla.org/en-US/firefox/addon/3829/
414414
.. _`List of HTTP status codes`: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
415-
.. _`List of HTTP header fields`: http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
415+
.. _`List of HTTP header fields`: http://en.wikipedia.org/wiki/List_of_HTTP_header_fields

book/page_creation.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,5 +872,13 @@ and advanced concepts. The more you know about Symfony2, the more you'll
872872
appreciate the flexibility of its architecture and the power it gives you
873873
to rapidly develop applications.
874874

875+
Learn more from the Cookbook
876+
----------------------------
877+
878+
* :doc:`/cookbook/controller/service`
879+
* :doc:`/cookbook/templating/PHP`
880+
* :doc:`/cookbook/tools/autoloader`
881+
* :doc:`/cookbook/symfony1`
882+
875883
.. _`Twig`: http://www.twig-project.org
876884
.. _`third-party bundles`: http://symfony2bundles.org/

book/service_container.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,4 +723,9 @@ additional arguments (beyond just the ``name`` parameter).
723723
* validator.constraint_validator
724724
* zend.logger.writer
725725

726+
Learn more from the Cookbook
727+
----------------------------
728+
729+
* :doc:`/cookbook/controller/service`
730+
726731
.. _`service-oriented architecture`: http://wikipedia.org/wiki/Service-oriented_architecture

book/templating.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,12 @@ Overall, the topic of templating should be thought of as a powerful tool
11121112
that's at your disposal. In some cases, you may not need to render a template,
11131113
and in Symfony2, that's absolutely fine.
11141114

1115+
Learn more from the Cookbook
1116+
----------------------------
1117+
1118+
* :doc:`/cookbook/controller/PHP`
1119+
* :doc:`/cookbook/controller/error_pages`
1120+
11151121
.. _`Twig`: http://www.twig-project.org
11161122
.. _`Symfony2Bundles.org`: http://symfony2bundles.org
11171123
.. _`Cross Site Scripting`: http://en.wikipedia.org/wiki/Cross-site_scripting

book/translation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,4 +797,4 @@ steps:
797797

798798
.. _`strtr function`: http://www.php.net/manual/en/function.strtr.php
799799
.. _`ISO 31-11`: http://en.wikipedia.org/wiki/Interval_%28mathematics%29#The_ISO_notation
800-
.. _`Translatable Extension`: https://github.com/l3pp4rd/DoctrineExtensions
800+
.. _`Translatable Extension`: https://github.com/l3pp4rd/DoctrineExtensions

book/validator/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ The above call will output something similar to this:
4242
Sensio\HelloBundle\Author.fullName:
4343
This value is too short. It should have 10 characters or more
4444
45-
If you fill the object with correct values the validation errors disappear.
45+
If you fill the object with correct values the validation errors disappear.

0 commit comments

Comments
 (0)