News Ticker

Design Patterns

Singleton Pattern

March 12, 2016 // 0 Comments

OK let’s have a look at our first pattern. The singleton pattern is one of the most well-known design patterns and is used extensively by frameworks such as Spring, pool [...]

Factory Pattern

March 12, 2016 // 0 Comments

The factory pattern is a creational design pattern whose intent is to provide an interface for creating families of related or dependent objects without specifying their [...]

Façade Pattern

March 12, 2016 // 0 Comments

The simple definition is that it hides the complex logic and provides an interface to the client. Sounds familiar? This is nothing much more than the core part of [...]

Decorator Pattern

March 12, 2016 // 0 Comments

The decorator pattern is one of the GoF Structural Pattern and dynamically adds logic to an object. Instead of inheritance, the decorator adds functionality at run time. [...]

Observer Pattern

March 12, 2016 // 0 Comments

A little bit difficult to understand why it is needed in the first place and it goes down to the basic fundamental requirement of OO systems which is to pass a message from [...]