Click here to Skip to main content
13,896,761 members

Patterns

Great Reads

by Rahul Rajat Singh
In this article, we will try to understand what is Factory Pattern, what are the benefits of this pattern and how we can implement this pattern using C#.
by Evoluteur
A generic Web User Interface for CRUD applications generating all screens at run-time based on external metadata. It comes with sample applications for address book, memo pad, to do list, restaurants list, wine cellar, and database structure documentation that are easily customizable.
by Evoluteur
Structured-Filter is a generic Web UI for building structured search or filter queries. It is a full jQuery UI widget, supporting various configurations and themes.
by Giovanni Scerra
An introduction to transparency in software design, with particular focus on OO languages

Latest Articles

by Arlo Weston
Implementation of the Decorator Pattern in JavaScript
by Christian Vos
SOLID principles: The Liskov Principle, a simple example in C#
by Ciumac Sergiu
Explains sound fingerprinting algorithm, with a practical example of detecting duplicate files on the user's local drive.
by Amir Jalilifard
Lets take an exciting travel to the land of MVC, MVP and MVVM patterns with our sexy friend : JavaScript

All Articles

Sort by Updated

Patterns 

23 Apr 2014
31337 H4X0R
Generic Abstract Factory Design Pattern
7 Feb 2013
Abul Kayes
Implementation of the Decorator pattern in C# .NET.
23 Dec 2015
Acharya Raja Sekhar
In this article I would like to share my knowledge and an easy example for Chain of Responsibility design pattern.
1 Oct 2010
After2050
This article demonstrates how to create public and private members in JavaScript through a sample.
18 Mar 2015
Akhil Mittal
Unit of Work Pattern and Repository Pattern, and how to perform CRUD operations in an MVC application.
8 Jan 2018
Akhil Mittal
This article covers Singleton Pattern in the most simplistic and easy to understand. The article will also talk about Static classes and the differences between singleton design pattern and static classes.
28 Sep 2011
Alexander Chernosvitov
AntiBot control using HTML5 rotating feature
27 Feb 2018
Amir Jalilifard
Lets take an exciting travel to the land of MVC, MVP and MVVM patterns with our sexy friend : JavaScript
29 Oct 2010
Andreas Gieriet
Some useful RAII C# helper classes for functionality that does not implement IDisposable
8 Oct 2015
Anele 'Mashy' Mbanga
A look at a flexible Java MySQL CRUD PHP script generator
7 Dec 2015
Ansel Castro
Introduction to ENTERLIB a MVVM framework for Android
25 Feb 2016
Anton Angelov
This is an alternative for "Strategy Pattern-C#"
27 Apr 2014
Anurag Gandhi
Faster way to save data on postback and simplified model binding with asp.net controls
1 Dec 2018
Arlo Weston
Implementation of the Decorator Pattern in JavaScript
11 Oct 2013
ASP.NET Community
There's a great deal of good prescriptive security guidance out there in the form of whitepapers and books.Whitepaperspatterns & practices
11 Oct 2013
ASP.NET Community
Design PatternsDesign patterns are recognized solutions to common problems defined originally by the Gang of Four programmers. Design patterns are
11 Oct 2013
ASP.NET Community
Singleton The Singleton Design Pattern ensures that only a single instance of a given object can exist.It does this by making the class
11 Oct 2013
ASP.NET Community
The RegularExpressionValidator control confirms that the entry matches a pattern defined by a regular expression. This type of validation allows you
20 Oct 2013
ASP.NET Community
FacadeThe Facade Design Pattern provides a simple interface and controls access to a series of complicated interfaces and or sub systems.Some of
11 Oct 2013
ASP.NET Community
StateThe State pattern allows an object to change it behaviour when its internal state changes. The pattern is a type of behavioral design
11 Oct 2013
ASP.NET Community
MVP (Model View Presenter) FrameworkThe MVP pattern is an Architecture Pattern used to build ASP.net applications.  It refers to splitting up the
12 Oct 2013
ASP.NET Community
Proxy Design PatternThe Gang Of Four definition of this design pattern is "Provides a surrogate or placeholder for another object to control access
11 Oct 2013
ASP.NET Community
Abstract FactoryThe Gang of Four defintion for this design pattern is: "Provide an interface for creating families of related or dependant objects
11 Oct 2013
ASP.NET Community
Enterprise Library"The patterns & practices Enterprise Library from Microsoft is a library of application blocks designed to assist developers with
11 Oct 2013
ASP.NET Community
 Whenever an attempt is made to access data from the cache, it should be with the assumption that the data might not be there any more. Thus,
11 Oct 2013
ASP.NET Community
The Bridge PatternThe bridge pattern decouples an abstraction from its implementation so the two can vary independently. In other words we make a
2 Dec 2009
ASP.NET Community
Observer pattern
14 Jan 2014
ASP.NET Community
The visitor design pattern enables us to create new operations to be performed on an existing structure. The new operations don’t change the
19 Oct 2013
ASP.NET Community
The memento design pattern is a pattern that helps to save the object internal in an external place enabling us to restore the state later when needed.
14 Jan 2014
ASP.NET Community
The iterator pattern’s role is to provide a way to access aggregate objects sequentially without the knowledge of the structure of the aggregate. The
11 Oct 2013
ASP.NET Community
The builder pattern describe a way to separate an object from it's construction.The same construction method can create different representation of
11 Oct 2013
ASP.NET Community
The prototype is built upon the use of object cloning. The prototype creates new objects by cloning one of its concrete classes. The prototype is
11 Oct 2013
ASP.NET Community
The flyweight pattern is used whenever you have large amount of small objects that share common information. The use of the pattern reduces the
11 Oct 2013
ASP.NET Community
The IDisposable pattern isn't one of the a classic patterns. It's a pattern suggested in MSDN to implement the IDisposable interface. You should be
20 Oct 2013
ASP.NET Community
FactoryThe job of the Factory design pattern is to create concrete sub classes. You can see the Factory design pattern used throughout the .NET
19 Oct 2013
ASP.NET Community
The visitor design pattern enables us to create new operations to be performed on an existing structure. The new operations don’t change the
20 Oct 2013
ASP.NET Community
The chain of responsibility pattern is a way of communication between objects. As it’s name indicate a chain of handlers is built  and every handler
19 Oct 2013
ASP.NET Community
The iterator pattern’s role is to provide a way to access aggregate objects sequentially without the knowledge of the structure of the aggregate.
5 Apr 2013
Boris Brock
This article presents a reusable base class for implementing singletons in C#.
6 Jun 2014
Chinmaya_Champatiray
This is the first part of article on Dependency Injection. It will give you an idea about what Dependency Inversion Principle is. There are other two parts of the article which explain how to implement DIP.
29 Jun 2013
Christian Vos
SOLID principles: The Open Closed Principle, a simple example in C#
11 Nov 2018
Christian Vos
SOLID principles: The Liskov Principle, a simple example in C#
3 Jul 2018
Ciumac Sergiu
Explains sound fingerprinting algorithm, with a practical example of detecting duplicate files on the user's local drive.
6 Dec 2013
coded007
A Seriers to understand Design Patterns Completely
8 Dec 2014
D Sarthi Maheshwari
A look at possible parallel-producer-consumer patterns.
30 Dec 2015
D Sarthi Maheshwari
A look at possible parallel-producer-consumer patterns. (Final Part)
3 Nov 2010
Dave Midgley
.NET delegates and Generics allow for an elegant implementation of the Command pattern.
19 Mar 2014
David Cantrell
In which a class that wraps an ADO Connection object and makes it more developer-friendly is discussed.
31 Mar 2014
dorodnic
Step by Step Implementation of Abstract Factory Design Pattern in C++
8 Nov 2015
DotNetSteve
Using delegates to group, conquer cross cutting concerns and create dynamic validators
18 Jul 2014
Duarte Cunha Leão
Enabling private state in any JavaScript object.
26 Jul 2017
Ed Wiebe
Can't we obtain the benefit of using bitwise operators for SQL many-to-many relationships AND maintain referential integrity?
10 May 2014
Emre Ataseven
Description of C2 architectural pattern with sample
11 Oct 2011
Enrique Albert
Baseline WCF Distribution Layer - Decoupling of WCF Services and ViewModels.
11 Oct 2011
Enrique Albert
WPF ICommand implementation based on Josh Smith's pattern.
11 Jun 2010
Evoluteur
A generic Web User Interface for CRUD applications generating all screens at run-time based on external metadata. It comes with sample applications for address book, memo pad, to do list, restaurants list, wine cellar, and database structure documentation that are easily customizable.
12 Apr 2017
Evoluteur
Structured-Filter is a generic Web UI for building structured search or filter queries. It is a full jQuery UI widget, supporting various configurations and themes.
21 Apr 2014
fabio bussu
MatchKit is a .NET Library that provides a set of classes to build patterns to match simple and complex strings
2 Apr 2014
Farhad Alizadeh Noori
This article details the implementation of an efficient grouped regular expression searcher.
3 Jan 2015
Fiyaz Hasan
Get a clear definition on Angular.js providers. Know the structure and the basic difference.
28 Mar 2013
Florian Rappl
An introduction to async / await, popular mistakes and solutions for asynchronous programming, as well as usages and benefits from using asynchronous programming. We will also discuss interesting patterns based on concurrency.
27 Dec 2015
Frank-Rene Schaefer
Using Quex to generate lexical analyzers
30 Sep 2010
Gary H Guo
Discuss how to add aspects to object at runtime and enhance them using Dynamic Decorator
10 May 2011
Gary H Guo
Apply components, aspects and dynamic decorator principles to ASP.NET application
29 Dec 2016
Giorgio Arata
A Decorator Design Patterns revision obtained adopting a lambda closures approach.
8 May 2014
Giovanni Scerra
The following guidelines are not exhaustive and are meant to be applied on top of the SOLID principles and proper use of OO Design Patterns.
1 Jan 2015
Giovanni Scerra
Strategies and heuristics of Problem Solving applied to Software Engineering
26 Feb 2015
Giovanni Scerra
Patterns to prevent null reference exceptions
2 May 2015
Giovanni Scerra
An introduction to transparency in software design, with particular focus on OO languages
1 Dec 2014
Govindaraj Rangaraj
This article explains how to compose Linq queries in C# using Specification pattern.
3 Apr 2014
Govindaraj Rangaraj
This article explains how to make chain of responsiblity pattern reusable with the help of specification pattern.
17 Jan 2013
Guirec
This article will introduce you with a set of 3 simple extension methods that can help you getting rid of Regex in many situations
6 Jun 2017
HR Rony
Basic concept of pipe and filter; what is pipe and filter architectural style; when need to use; framework of the pipe and filter pattern; a tiny AI tool implementation using it.
17 Dec 2014
iSahilSharma
This article provides an overview of the web application framework ASP.NET MVC 5.
23 Oct 2013
Ivan Leonenko
If you want a simple way to keep alive your application you may be interested in this approach. And don't forget, unkillable process usually is a bad design and in most cases you basicaly shouldn't use it.
23 Apr 2013
Jon Woo
I am writing this article to demonstrate how to build an application from scratch using SOLID principles and common design patterns
23 Apr 2013
Jon Woo
I am writing this article to demonstrate how to build an application from scratch using SOLID principles and common design patterns
23 Apr 2013
Jon Woo
This one will demonstrate what the point of coding principles are
16 Sep 2013
Josh Fischer
How to create an API that will scale as a system grows over time.
9 Apr 2015
João Matos Silva
1 alternative  
A near real world example of usage of the Interceptor Pattern to leverage new behavior without changing implementations
25 Aug 2015
K. Naveen. Bhat
The article shows how we can solve various technical problems easily with the help of delegates.
3 Oct 2013
Kaj Bromose
How to make callback using messaging via LocalBroadcastManager
29 Oct 2013
Khademul Basher
MVC Pattern and it's types and implementation using Passive Model.
30 May 2012
Kieran Maltz, Cayen Systems
This article describes database communication using a generic Fluent NHibernate implementation.
1 Feb 2015
Lalit_Chandra
Chain of Responsibility pattern is defined under behavioral design pattern by G.O.F and used to decouple the command with its processing object or handler.
25 Nov 2013
Livio Francescucci
A basic introduction about how to write unit tests using mock objects (Rhino Mocks).
6 Feb 2011
Mahmudul Haque Azad
This article describes the natural evolution of BDD from common problems of developers not following TDD properly. It also describes a bit about Domain Driven Design (DDD) and Domain Specific Language (DSL) which are naturally connected with BDD.
27 Mar 2015
Mahsa Hassankashi
It is a simplest tutorial on AngularJS and Repository Pattern for developing professional MVC Applications. It includes a source code about practical permission management project.
23 Jan 2012
malakar.anil
This article explains how to write easily maintainable and extendable application using MVC
28 Apr 2012
ManojKumar19
Server side logging for Silverlight applications using NLog 2.0
23 Nov 2012
Marla Sukesh
This article will tell about the very known design pattern "Factory Pattern" used in the programming.
27 Sep 2014
Marla Sukesh
Is ASP.NET MVC replacement for Web Forms? No, Both have there pros and cons. Lets take a look at same.
28 Jan 2014
Marla Sukesh
In this article we will learn difference between Factory Method Pattern and Abstract Factory Pattern.
15 Jun 2017
Mayank_Gupta_
Immediately Invokable Function Expressions in JavaScript
14 Jan 2011
Michael Agroskin
BindingHub is the best thing since sliced bread. After you finish reading this article, you will start wondering how you could survive for so long without BindingHub. I did wonder the same thing after creating it.
1 Mar 2015
Moises Barba
A deep dive into the Kerosene ORM Entity Maps operational mode that provides full real support for POCO objects.
2 Mar 2015
Moises Barba
Kerosene ORM support for complete database-alike WCF services and connections
11 Mar 2014
Moises Barba
Implementing the Repository and Unit of Work Patterns dynamically using Kerosene ORM
10 Jan 2012
Naveen Karamchetti
The article attempts to explain when to use the value map caching pattern in BizTalk integrations
14 Feb 2010
Nicolas Dorier
A design pattern to easily bind or animate properties that do not exist on an element, and which works in both Silverlight and WPF
3 Sep 2013
Nitin Singh India
JavaScript has now emerged as the obvious language of client side web development. Right from start, browsers have introduced various features of support for accessing and modifying Document Object Model components. jQuery has abstracted most of native functionality into newer constructs and now pro
5 May 2011
Pat Capozzi
In this article, I reduce the use of the MVVM pattern in Silverlight to the absolute minimum lines of code in order to understand the basics.
7 Sep 2010
Paul Stovell
An introduction to Magellan, an Open Source navigation framework for WPF.
18 Jun 2012
Petr Ivankov
Applications of abstract math theories to practice
7 Feb 2014
Pranay Rana
What is dependency injection and why there is need of this software design pattern.
11 Aug 2015
Pranay Rana
Flyweight pattern is about creating a pool of objects which allow sharing already created objects and causing applications to consume less memory.
22 Mar 2015
Priyank Modi
In Depth Look: Strategy Design Pattern, Dependency Injection (DI), Open/Closed principle (OCP) and Loose Coupling vs Tight Coupling
6 May 2014
Rahul Dhammy
Implementing Facade design pattern in C#
17 May 2014
Rahul Dhammy
The article explains Adapter pattern, implemented in C#.
23 May 2014
Rahul Dhammy
1 alternative  
Explaining the strategy pattern using C#
7 Jul 2014
Rahul Dhammy
Implementing flyweight design pattern using C#
4 Aug 2012
Rahul Rajat Singh
This article discuss Bridge Pattern and try to demonstrate it using a simple application.
4 Oct 2012
Rahul Rajat Singh
This article talks about the Builder Design pattern, When can this pattern be used and when should it be implemented. We will then see a small rudimentary implementation of Builder pattern in C#.
22 Oct 2012
Rahul Rajat Singh
This article talks about the basics of decorator pattern and see when this pattern can be found useful.
22 Oct 2012
Rahul Rajat Singh
This article talks about the facade pattern. When is this pattern useful. This article also presents a rudimentary approach to implement the facade pattern.
12 Nov 2012
Rahul Rajat Singh
This article describes what is state pattern, when could we find state pattern useful and how to have a rudimentary implementation of state pattern in C#.
12 Nov 2012
Rahul Rajat Singh
This article talks about Proxy pattern, when should we use proxy pattern and what are the benefits of using the Proxy pattern.
16 Nov 2012
Rahul Rajat Singh
This article talks about the Chain of responsibility pattern.
12 Apr 2013
Rahul Rajat Singh
In this article we will try to see what is Repository and Unit of Work Pattern in an ASP.NET MVC application.
9 Jul 2013
Rahul Rajat Singh
In this article we will talk about the Dependency Inversion Principle, Inversion of Control and Dependency Injection.
13 May 2014
Rahul Rajat Singh
In this article we will try understand the basics of Repository and Unit of Work Pattern and will also create small ASP.NET MVC sample application to implement a generic repository and unit of work class using entity framework.
18 Jan 2016
Rahul Rajat Singh
The aim of this article is to understand the basics of the Strategy pattern.
20 Jan 2016
Rahul Rajat Singh
This article is yet another explanation and implementation of the singleton pattern.
21 Jan 2016
Rahul Rajat Singh
In this article we will try to understand the Null object pattern.
13 Oct 2016
Rahul Rajat Singh
This is a small tip containing my thoughts on why we should not blindly create interfaces and/or abstract class for each and every class in our application.
21 Jul 2017
Rahul Rajat Singh
In this article we will This article we will try to understand what is composite design pattern.
9 Feb 2015
Rahul Rajat Singh
In this article, we will try to understand what is Factory Pattern, what are the benefits of this pattern and how we can implement this pattern using C#.
3 Feb 2016
Ranjan.D
Beginners guide to Collector, Translator And Formatter Pattern
26 Jan 2016
Rasik Bihari Tiwari
Dependency injection, DI containers, IoC containers and Inversion of control are a world of confusion. Let's take them head-on.
5 Jan 2014
Richard Tauber
Implementing dynamic polymorphism without virtual functions and sharing objects across process boundaries.
15 Aug 2011
Robin Cheng (HPMV)
Taking advantage of C# Generics to create a parallel hierarchy of builders with less total effort.
24 Apr 2013
Rupesh Kumar Tiwari
Javascript Module pattern helps writing code in an object oriented manner with high web performance.
6 Sep 2013
Ryszard Dżegan
How to not damage yourself when using inheritance.
22 May 2015
Sacha Barber
A look at how a CQRS app may work, with the added bonus of a demo app
12 Jan 2011
Samir Dedhia
Factory Pattern using generics
26 Feb 2012
Samuel Gonzalo
A code first real life data model case
30 Apr 2011
Sander Rossel
An introduction to knowing what NOT to do.
24 Nov 2011
Scanix
SystemFramework defines interfaces, classes, and types to support a native runtime system with its own garbage collector, delegates, etc. The design of SystemFramework classes is similar to those of the .NET Framework.
26 Sep 2013
Shakeel Iqbal
This article will guide you step by step to write good software every time.
21 Feb 2016
Shemeer NS
Explaining Factory Pattern in C# using a Simple LoggerFactory.
14 Nov 2013
shijo joseph
An extension methods library which could do the equality comparison operations easily
19 Oct 2014
Shivprasad koirala
An article presented by ShivPrasad Koirala which covers complete step by step tutorial on WPF MVVM Architecture like Leveraging PRISM, Simple 3 layer example and GLUE code problem, Adding actions, Decoupling actions and so on.
14 Jul 2015
Shivprasad koirala
In this article we will learn C# Design pattern and Architecture pattern Step by Step with a project.
17 Jul 2015
Shivprasad koirala
In this article, we will demonstrate Template Pattern reusing ADO.NET.
23 Oct 2015
Shivprasad koirala
In this article we will explain about NULL Design Pattern in C#.
23 Sep 2015
Shvetsov Evgeniy
Safe and versatile iterator for user types
30 Nov 2015
Sreekanth Mothukuru
The idea is to use Dependency Injector (DI) framework Ninject to dynamically target our application to SQL Server or Oracle database either by using Entity framework (EF) or Dapper ORM using global settings
13 Feb 2016
SubhamoyBurman
This is how an idiot like me explains what is Abstract Factory pattern and how it could be used
2 Apr 2015
Sudheer Reddy K
This article talks about how to mimic classes like structure in JavaScript and patterns in creating them.
27 Sep 2012
Sudheesh.P.S
A template based, thread safe singleton implementation in C++
11 May 2011
Super Lloyd
A much simpler composite application library.
7 Sep 2013
T. Ogawa 2012
An infinite list seen in Haskell. Moreover, you can choose its concurrent behavior through the policy.
17 Mar 2014
T. Ogawa 2012
Free choice Petri net library in Policy-based design. Not only Concurrent software but also hardware support is available.
5 Jun 2013
Thorsten Bruning
Base classes for value objects.
6 Jun 2013
tumbledDown2earth
A service concept is implemented here for seamless and connectionless computation from anywhere to anywhere.
16 Nov 2013
User 468701
If you're new to Dependency Injection, you will sometimes have a dependency that cannot be injected. This article covers these scenarios and outlines how the Proxy Pattern can be used to solve this problem.
12 Feb 2011
Vivek Krishnamurthy
Using Unity Application block to perform unit testing
15 Jun 2016
wmjordan
This is an alternative for "Interceptor in the Wild". The Function Decorator Pattern offers a way to inject new behaviors into existing methods without using IoC frameworks nor modifying method implementations.


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190306.1 | Last Updated 20 Mar 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid