In a tightly coupled system, the layers (e.g. UI, BLL and DAL) are dependent on each other. If we change something in one layer, then all the layers need to be recompiled and redeployed.
Why Loosely Coupled?
- Reuasability
- Maintainability
- Scalability
- Mocking (for testing purposes)
More Info:
- Introduction to Dependency Injection Frameworks
- Martin Fowler's Article about IOC Containers and DI Pattern
- A Simple Example using Spring.NET
- Understanding DI, DI Containers and DI Controllers Quickly
Frameworks:
No comments:
Post a Comment