Skip to content

Commit 123999b

Browse files
committed
Merge branch '3.4'
* 3.4: Add "Next" links to Best Practices
2 parents 5052205 + f76f962 commit 123999b

File tree

10 files changed

+39
-0
lines changed

10 files changed

+39
-0
lines changed

best_practices/business-logic.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ were defined by the PHP community. You can learn more about
268268
use the `PHP-CS-Fixer`_, which is a command-line utility that can fix the
269269
coding standards of an entire codebase in a matter of seconds.
270270

271+
----
272+
273+
Next: :doc:`/best_practices/controllers`
274+
271275
.. _`full definition`: https://en.wikipedia.org/wiki/Business_logic
272276
.. _`Doctrine project`: http://www.doctrine-project.org/
273277
.. _`fixture class`: https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html#writing-simple-fixtures

best_practices/configuration.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,5 +210,9 @@ through environment variables:
210210
# ...
211211
password: "%env(DB_PASSWORD)%"
212212
213+
----
214+
215+
Next: :doc:`/best_practices/business-logic`
216+
213217
.. _`feature toggles`: https://en.wikipedia.org/wiki/Feature_toggle
214218
.. _`constant() function`: http://twig.sensiolabs.org/doc/functions/constant.html

best_practices/controllers.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,4 +237,8 @@ If you need to execute some code before or after the execution of your controlle
237237
you can use the EventDispatcher component to
238238
:doc:`set up before and after filters </event_dispatcher/before_after_filters>`.
239239

240+
----
241+
242+
Next: :doc:`/best_practices/templates`
243+
240244
.. _`ParamConverter`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html

best_practices/creating-the-project.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ Symfony applications can still use third-party bundles (installed in ``vendor/``
9191
to add features, but you should use PHP namespaces instead of bundles to organize
9292
your own code.
9393

94+
----
95+
96+
Next: :doc:`/best_practices/configuration`
97+
9498
.. _`Composer`: https://getcomposer.org/
9599
.. _`Symfony Flex`: https://github.com/symfony/flex
96100
.. _`Symfony Skeleton`: https://github.com/symfony/skeleton

best_practices/forms.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,5 @@ handling the form submit. For example, you *could* have a ``new()`` action that
192192
*only* renders the form and a ``create()`` action that *only* processes the form
193193
submit. Both those actions will be almost identical. So it's much simpler to let
194194
``new()`` handle everything.
195+
196+
Next: :doc:`/best_practices/i18n`

best_practices/i18n.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,8 @@ English in the application would be:
7676
</file>
7777
</xliff>
7878
79+
----
80+
81+
Next: :doc:`/best_practices/security`
82+
7983
.. _`JMSTranslationBundle`: https://github.com/schmittjoh/JMSTranslationBundle

best_practices/introduction.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,9 @@ for not doing it are various:
9898
* The amount of work spent on this could be better dedicated to improving
9999
your tests or adding features that provide real value to the end users.
100100

101+
----
102+
103+
Next: :doc:`/best_practices/creating-the-project`
104+
101105
.. _`Fabien Potencier`: https://connect.sensiolabs.com/profile/fabpot
102106
.. _`Symfony Demo`: https://github.com/symfony/demo

best_practices/security.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,10 @@ If your company uses a user login method not supported by Symfony, you can
385385
develop :doc:`your own user provider </security/custom_provider>` and
386386
:doc:`your own authentication provider </security/custom_authentication_provider>`.
387387

388+
----
389+
390+
Next: :doc:`/best_practices/web-assets`
391+
388392
.. _`ParamConverter`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
389393
.. _`@Security annotation`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html
390394
.. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle

best_practices/templates.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,9 @@ If you're using the :ref:`default services.yaml configuration <service-container
116116
you're done! Symfony will automatically know about your new service and tag it to
117117
be used as a Twig extension.
118118

119+
----
120+
121+
Next: :doc:`/best_practices/forms`
122+
119123
.. _`Twig`: http://twig.sensiolabs.org/
120124
.. _`Parsedown`: http://parsedown.org/

best_practices/web-assets.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ the JavaScript-based tools used in modern web applications. Check out the
2525
`official Webpack Encore documentation`_ to learn more about all the available
2626
features.
2727

28+
----
29+
30+
Next: :doc:`/best_practices/tests`
31+
32+
.. _`official Assetic documentation`: https://github.com/kriswallsmith/assetic
2833
.. _`Webpack Encore`: https://github.com/symfony/webpack-encore
2934
.. _`Webpack`: https://webpack.js.org/
3035
.. _`official Webpack Encore documentation`: https://symfony.com/doc/current/frontend.html

0 commit comments

Comments
 (0)