File tree 1 file changed +12
-5
lines changed 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
.. index ::
2
2
single: Bundle; Best practices
3
3
4
- How to Use best Practices for Structuring Bundles
5
- =================================================
4
+ Best Practices for Reusable Bundles
5
+ ===================================
6
6
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.
10
17
11
18
.. index ::
12
19
pair: Bundle; Naming conventions
You can’t perform that action at this time.
0 commit comments