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

Skip to content

Commit e7b1ae3

Browse files
committed
Clarifying that the bundles best practices entry is for reusable bundles, not for app bundles
1 parent 430eabf commit e7b1ae3

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

cookbook/bundles/best_practices.rst

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
.. index::
22
single: Bundle; Best practices
33

4-
How to Use best Practices for Structuring Bundles
5-
=================================================
4+
Best Practices for Reusable Bundles
5+
===================================
66

7-
A bundle is a directory that has a well-defined structure and can host anything
8-
from classes to controllers and web resources. Even if bundles are very
9-
flexible, you should follow some best practices if you want to distribute them.
7+
There are 2 types of bundles:
8+
9+
* Application bundles: only use to build your application;
10+
* Reusable bundle: meant to be shared across many projects.
11+
12+
This article is all about how to structure your **reusable bundles** so that
13+
they're easy to configure and extend. Many of these recommendations do not
14+
apply to application bundles because you'll want to keep those as simple
15+
as possible. For application bundles, just follow the practices shown throughout
16+
the book and cookbook.
1017

1118
.. index::
1219
pair: Bundle; Naming conventions

0 commit comments

Comments
 (0)