Caleb Cushing's Blog Also known as XenoTerraCide
Posts with the tag provider pattern:

Providing with Providers and Bread::Board

| 2212 words | Bread::Board Dependency Injection object oriented design perl design patterns service locator pattern Inversion of Control provider pattern
So when I started using Dependency Injection the following problem happened, how do I Inject this dependency when the container is not accessible at this point. Ok, that sentence even confused me a little bit, so what do I mean. Let’s say I have a Repository for Products that is injected into my controller. Each Product stored has one or more ProductVariants that is part of it’s aggregate, which itself has Nested Categories.