public abstract Gravy : Power
  • SOLID Sitecore
  • Express yourself
  • Interesting Stuff
  • Intresting Sitecore Blog Posts
Sign in Subscribe

SimpleInjector

A collection of 3 posts
Service Locator Pattern or Anti-Pattern?
Sitecore

Service Locator Pattern or Anti-Pattern?

For a long time now I have considered the Service Locator an Anti-Pattern, but recently I have come to question this resolve, is it black and white? Maybe not. Mark Seemann first introduced me to the idea of an Anti-Pattern in general with his article Service Locator is an Anti-Pattern
3 Jun 2018 4 min read
Two containers are better than one.
Sitecore

Two containers are better than one.

Sitecore is a fantastic CMS that does many things right, and from version 8.2 the list also included Dependency Injection. It's great to see the product embrace IoC, the framework's code is using it, training materials include the concept, and the Sitecore community is talking about it. I love
21 May 2018 4 min read
Watch your Composition Root
Dependency Injection

Watch your Composition Root

IoC is a great pattern that can help make business logic easier to maintain and independently test, all while decreasing complexity. However, in large applications object dependency graphs can become quite complicated making it very easy to lose control. So how can we mitigate this? Well, split up your registration
24 Feb 2018 2 min read
Page 1 of 1
public abstract Gravy : Power © 2023
Powered by Ghost