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

GoF

Design Patterns: Elements of Reusable Object-Oriented Software
Design Patterns

Abstract Factories, shaken not stirred.

The abstract factory is one of the Gang of Four creational patterns and as the name implies it is concerned with the abstraction of creating. The factory part of this pattern can be very useful if an object is created in many places throughout your code. It helps you to
15 Jan 2014 2 min read
Façade

Façades - Helping you mock the UnMockable

Most of the time working with existing code is hard when you TDD, unless there is an existing contract. If there is an abstract class or interface, lucky you :). Contracts enable us to mock dependencies which is essential when unit testing, as you do not want to test code that
24 Oct 2013 1 min read
Page 1 of 1
public abstract Gravy : Power © 2023
Powered by Ghost