Adapter Design Pattern Explained

In this tutorial we will implement Adapter design pattern using c++. And I will use the much denounced multiple inheritance in c++ too. Adapter design pattern is one of the easier design patterns. As usual, we will first discuss the “WHY” and then the “HOW”.

Proxy Design Pattern Explained

This tutorial is a C++ implementation of Proxy design pattern. In this brief example we will discuss the Proxy pattern, the need for it as well as how to go about implementing it. As usual, I will first start with the WHY and then the HOW of the Proxy design pattern.

Should I be a developer?

Every professional at some point of his professional life asks himself : Is this the right career for me? Unfortunately most of the people will be asking this question rather late in their professional life. A point where it might not be really easy to switch career. I am not sure about other professionals but… Read More »

FODY Commander and WPF Commands

This is a brief tutorial on using FODY Commander to implement WPF Commands. To better appreciate this, I will recommend just to have a look at this and this post I wrote on WPF Commands. The post I wrote before on WPF commands discuss the WHY part of WPF Commands. So I will not go… Read More »

WPF Custom Commands explained

In this tutorial we create WPF custom commands and pass parameters to it. The sample used will be simple to understand and relate to. I will not be going into the deep gory details. Just a gentle push which I am sure will be enough to set you off on the slippery slope which is… Read More »

Writing Data Driven Tests using xUnit

This is going to be a short tutorial (now updated for xUnit 2) on how to go about writing data driven tests using xUnit. The samples used will be easy to understand and relate to. In case you are new to xUnit then all I will say is that xUnit is the next iteration for… Read More »

WPF MeasureOverride ArrangeOverride explained

This is a brief tutorial on WPF MeasureOverride ArrangeOverride functions. The details on these two are rather sketchy online and hence I decided to write this tutorial. So what are these methods? When do you need them? As usual I will start with WHY first and then discuss the HOW.

Abstract Factory Pattern Explained

This is going to be a simple C++ based tutorial on Abstract Factory Pattern. The sample used easy to understand and relate to. This pattern is closely related to Factory Method Pattern. I have a small post dedicated to it. I will encourage you to read it first before taking up this one. For a… Read More »

Mahapps controls customization

This is a brief tutorial on how to change the look and feel of Mahapps controls. I will be making a small change to Mahapps datagrid to demonstrate the steps. Anyone who has been working with WPF for a reasonable amount of time must have come across Mahapps. In case you haven’t then you must… Read More »

Decorator Pattern Explained

This is going to be a brief c# based Decorator pattern tutorial. It will not be a techincal UML heavy “Chewing Dry straw” kind of tutorial. It will be Caveman Style. Fun, Simple  and informative. The Decorator Pattern example used is simple yet powerful enough to highlight its key points.