By tag: pattern
0
kicks
Repository pattern with Entity Framework Code-First in Composable Serv
Implement Repository, UnitOfWork with Audit support in Composable Service End
0
kicks
Implementing repository Pattern With EF4 POCO support
Here I have described of implementation repository pattern with EF4 POCO support according to my earlier articles.
0
kicks
Amazing Strategy!!
I recently downloaded a cool fighter plane game (iFighter lite) on my iPhone. As I started playing, I felt that plane is
moving a bit slow!! But soon enough I saw a little perk on the screen and I flew over it and suddenly plane's speed increased. Soon enough, enemy planes started attacking me an...
0
kicks
Strategy Pattern at work
An example of the usage of the Strategy pattern to maintain customizations for customers from different countries.
0
kicks
The Only Pattern for Data Access is There Are No Patterns for Data Acc
Over the years of software development, one thing that has eluded most developers is Data Access. Yes, I mean writing code that accesses a database from your application. It is an age old problem since the days when data storage and computing were invented. We would have thought that by now we would...
0
kicks
Aggregator Provider Pattern: White Paper and Samples
Provider Aggregator Pattern is an extension of Provider Pattern, which enables us to create and utilize multiple instance of the class having the same provider interface. In this pattern, there is an Aggregator class which implements the provider interface and contains a collection of instances of c...
0
kicks
A Money Type for the CLR
A convenient, high-performance money structure for the CLR which handles arithmetic operations, currency types, formatting, and careful distribution and rounding without loss. Also, a look at the various approaches out there for creating a Money type on the CLR.
0
kicks
WPF application localization pattern
The article is about how to create localizable WPF applications using some of my tools.
0
kicks
Web user controls design pattern and data binding part 1
A lot of people are using user controls in asp because they are very easy to use, have design time support and so on.
The purpose of this article is to prevent making mistakes when design a web control and to present a pattern that works for me perfectly
0
kicks
Alternative Lazy JavaScript Inheritance
Lazy Inheritance is an approach intended to simplify writing OOP and provides support of prototype-based classes hierarhies, automatic resolving and optimizing classes dependencies. Lazy inheritance designates a postponed linking of an object with it's prototype (class) until it is needed.
The bene...
0
kicks
The Strategy Pattern and Reflection
Using the Strategy Pattern and Reflection I easily created a Pluggable application.
0
kicks
Command Pattern in C# 2.0 = Generics + delegates
How to implement Command Design pattern in C# 2.0 in a way that is more suitable with C# 2.0
0
kicks
Observer Pattern in C# = Events & delegates
One of the most interesting patterns in Design Patterns is the Observer pattern which is listed under Behavioral Patterns, it is really important how to make other classes which are interested in the state of another object get notified when the state changed.
0
kicks
Singleton – the most overused pattern
The innocent little singleton in your middle tier is not so innocent after all. This article discusses the design issues inherent in unwisely using the Singleton Design Pattern. In particular it discusses the kind of concurrency and scalability issues that arise from use of singleton in high-use, co...
0
kicks
Pattern for Properly Updating a Control from Another Thread
This article demonstrates how a simple property on a Form can handle thread safe communication with Controls on a Form.