The purpose of a Template Method Pattern is to define the skelton of an algorithm, while deferring the exact steps to sub classes. There is plenty of literature on the internet detailing the pattern, so we will skip it and head right to the code. As always, lets begin by defining the contract interface, in … Continue reading Design Patterns : Template Method
Month: February 2018
Design Patterns : Chain of Responsibility
The intend of Chain of Responibility Pattern is to avoid coupling the sender of a request to its reciever by giving more than one object change to handle the request. Let's try to mimic the execution of classical Waterfall Model with CoR. Let's begin by declaring the contract interface. And our sub classes. The final … Continue reading Design Patterns : Chain of Responsibility
Design Patterns : Fascade Pattern
Fascade, name being an analogy to an architectural fascade, intends set the tone for the entire functionality by providing a simplified yet effective interface wrapping away the complex, pooly designed collection of APIs. Wrong Code Consider following set of Classes. The Client Code could be As you can see, the Client class is invoking … Continue reading Design Patterns : Fascade Pattern
Caliburn.Micro Template Pack
Reworked on the Caliburn.Micro Template Pack recently. Thought it was necessary to provide the developers the ability to Create Bootstrapper as an Item Template. It also provides the option to develop the Pack more in coming days. You can access the Template Pack from Marketplace using the link here. Details of the pack is as … Continue reading Caliburn.Micro Template Pack
Patterns,Principles and Programming.
Have been thinking about putting together a collection of Jump Start Tutorials on some core concepts on Programming, finally getting everything together Design Patterns GOF: Adapter Pattern GOF: Strategy Pattern GOF: Singleton Pattern (Lazy) GOF: Fascade Pattern GOF: Chain Of Responsibility Pattern (CoR) GOF: Template Method GOF: Null Object Pattern GOF: State Pattern GOF: Decorator … Continue reading Patterns,Principles and Programming.
Design Patterns : Strategy Pattern
If there is one thing that is constant in every software development projects, then it has to be CHANGE. Requirements evolve overtime and you might end up with fairly different set of requirements that you initially started of. As developers one has to be aware of the possibility of change and design applications that are flexible … Continue reading Design Patterns : Strategy Pattern
Caliburn.Micro #005 : Bootstrapper with MEF
Previously, we learnt how to use SimpleContainer to set up our IoC Containers. We would be now looking into making the application more loosely coupled by leveraging the MEF. Just like with SimpleContainer, we would be focusing on the basic steps while configuring the IoC - Registering the IoC Container with Caliburn Micro and then … Continue reading Caliburn.Micro #005 : Bootstrapper with MEF
Caliburn.Micro #004 : Bootstrapper with SimpleContainer
Let's take a step back and look into our Bootstrapper in detail now. The first version of Bootstrapper we declared earlier is a rather simple one, without utilizing the some of the functionalities which takes Caliburn.Micro, or for that matter, any MVVM Framework ahead. The implementation of IoC Container. We would be concentrating into two … Continue reading Caliburn.Micro #004 : Bootstrapper with SimpleContainer
Stimulsoft – Non-Modal Designer in WPF App, Part 2
In the previous post, we explored Supervising Controller Pattern to provide a solution to the issue we faced when using Stimulsoft Designer Controller as an embedded control in WPF application. Even while we used the Supervising Controller Pattern, we still fiddled with the MVVM pattern by making the ViewModel "aware" of the View, even though … Continue reading Stimulsoft – Non-Modal Designer in WPF App, Part 2
Stimulsoft – Non-Modal Designer in WPF App
Stimulsoft Reports is one among the most powerful and easy to use Reporting Tools available. While this post is not focused on feature of Stimulsoft Reports, it is worth checking out the features in Stimulsoft Website. Embedded Stimulsoft Designer Control and MVVM The post would rather focus on displaying the powerful Stimulsoft Designer in … Continue reading Stimulsoft – Non-Modal Designer in WPF App