Jun 172014

The structural design patterns are more concerned with the ‘On demand’ nature of the system. Now this pattern can be adopted at any stage of the implementation process. Thats the beauty of this approach as you can add dynamic functionality, interfacing is flexible, you can also add sub system to control next level sub systems etc.

To obtain a specific structure of system the structural design patterns is used. Now theseĀ ‘On demand’ functionality among other include

  • adding dynamic features to a class
  • access control
  • proxy classes
  • light weigh or smaller objects
  • bridging
  • controller classes to control sub system

The following are the building blocks classified as structural design patterns.

  • Decorator
  • Adapter
  • Bridge
  • Composite
  • Flyweight
  • Facade
  • Proxy

They will be defined in details in later sections.

 Posted by at 2:26 pm
Jun 162014

So i will talk about design patterns now for a while. The detailed types and classification will be posted later but in this post i will just talk about what i am going to do in my future posts. So i am following this really nice explanation strategy defined in a book ‘C# 3.0 Design Patterns’ by Judith Bishop.

So every pattern that i am going to explain will more or less consist of the following parts

  • Definition
  • Design
  • Usage
  • Code
  • Example
  • Lab

I may end up adding another bullet later on but i wont be removing any in the later posts.

So there are three general flavors of design patterns in .NET

  • Creational
  • Structural
  • Behavioral

We will discuss them in detail. But our main aim is to practice those patterns in real life so you will be able to think design in real life as well. Offcourse code is important as its the base but thinking design in real life will help you tear down any problem statement in to nice Box-Separated design.


 Posted by at 8:11 am