8000 Trying to add an accessible definition of the DI in the glossary · symfony/symfony-docs@0ad55ae · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ad55ae

Browse files
l3ackslash0weaverryan
authored andcommitted
Trying to add an accessible definition of the DI in the glossary
1 parent dcc1c52 commit 0ad55ae

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

glossary.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ Glossary
1111
selection of bundles, a sensible directory structure, a default
1212
configuration, and an optional configuration system.
1313

14+
Dependency Injection
15+
The Dependency Injection is a design pattern highly used in Symfony2 Framework.
16+
It encourages less coupled and more maintainable architecture of an application.
17+
The main principle of this pattern is that it allows developers to *inject* objects
18+
(also known as services) in other objects, passing generally it as parameters.
19+
Different levels of coupling between these objects can be established
20+
depending on the method used to inject objects together.
21+
The Dependency Injection pattern is the more often associated
22+
to an other specific type of object: the :doc:`/book/service_container`
23+
1424
Project
1525
A *Project* is a directory composed of an Application, a set of
1626
bundles, vendor libraries, an autoloader, and web front controller

0 commit comments

Comments
 (0)
0