Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / patterns

Patterns

patterns

Great Reads

by Akhil Mittal
Repository pattern in MVC3 application with entity framework
by 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.
by Rahul Rajat Singh
In this article we will try to understand the service locator pattern.

Latest Articles

by Akhil Mittal
Repository pattern in MVC3 application with entity framework
by 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.
by Rahul Rajat Singh
In this article we will try to understand the service locator pattern.

All Articles

Sort by Score

patterns 

by Colin Eberhardt
This blog post provides step-by-step instructions for creating a user control, which exposes bindable properties, in WPF and Silverlight. The post covers dependency properties, and how to manage DataContext inheritance.
by Rion Williams
Some recommended readings about streaming systems
by sayem.bd
Using delegation, you can change the behaviors of objects at run-time. A lots of Design Patterns make use of this technique.
by Dev Leader
Learn what the Command Pattern in C# is and the design principles it follows. Understand the pros and cons!
by Shivprasad koirala
In this article we will explain about Data Transfer Object Design pattern in C#
by User 8984948
Decorator design pattern in Delphi - Multiple decorations
by User 8984948
Decorator design pattern in Delphi - Single decoration
by Dev Leader
About dependency injected singletons
by Shivprasad koirala
Dependency Injection (DI) vs. Inversion of Control (IOC).
by Coral Kashri
How to implement a compile-time Decorator
by Coral Kashri
How to correctly implement design patterns in C++
by Coral Kashri
RunTime Reflection in C++
by User 9557924
Design Patterns: Strategy
by Gediminas Geigalas
In your domain model, you often need to pass the same repetitive information to your domain entities or value objects. This article suggests a solution that I call "Domain Context".
by Gediminas Geigalas
Expose your mocks directly from the Fixture Object if possible. If there is no real need to complicate things by converting types and introducing extension methods, don’t do it.
by Dev Leader
A beginner's guide to Façade pattern
by YasIkeda
In this article we examine two implementations of the factory design pattern.
by Dev Leader
Creating a tabbed Android User Interface.
by Kevin Mack
Few ideas for strengthening micro-services architectures
by jgauffin
Griffin.Container: Introducing the Command Support
by Dev Leader
How to structure your Singletons.
by Pragmateek
This article describes the general principles, without diving too deeply into technical details that would be specific to a given platform.
by Dev Leader
Learn how to use Polly in C# to handle faults and retries with ease! Check out three code examples showcasing different use cases of Polly in C#!
by Leland Richardson
These days it's hard to call yourself a web developer if you do not have at least some jQuery experience. jQuery is very helpful for many many things such as browser compatibility, ajax calls, DOM manipulation, utility, and more.
by Jeremy Likness
Learn how durable entities provide explicit management of state in serverless applications and guarantee operations are safe to execute without concurrency conflicts.
by hoonzis
This post discusses the current state of art programming languages and the future of programming languages in general. The need for distributed software forces us to write complicated software. Which are the language constructs to help us with the challenge?
by jgauffin
This post aims to explain why the Repository Pattern can still be a great choice.
by jgauffin
I'm getting really tired of all blog posts that states that service locator is an anti pattern. It's not.
by Dev Leader
In this post, I’m going to focus on why singletons are “bad”, because for me it means acknowledging one of the two main perspectives–that they are the best thing since cat videos met The Internet or they are the worst thing since Justin Bieber.
by Jeremy Likness
Stateful serverless: long running workflows with durable functions
by PratapReddyP
Structural Pattern : Decorator Pattern Demo
by User 8984948
A working example of the Template Method design pattern in Delphi
by User 6724513
The Adaptive Interface pattern
by Vlad Neculai Vizitiu
Null-object pattern in C# 8
by Coral Kashri
Involves usage example of shared_ptr aliasing constructor, design patterns reflection and factory, metaprogramming, string_view and variant/visit.
by Keyhole Software
Encapsulation approach to bring data sources and implementations closer together, allowing reflection-like behavior in a format that mere mortals can read.
by Shivprasad koirala
In this blog, we will understand how to implement Value object design pattern in C#.
by Kevin Mack
What kinds of things should I avoid, or remove from my applications to improve my position moving forward