By tag: DesignPatterns
0
kicks
.NET Design Patterns The decorator pattern. Adding behavior at runtime
Welcome to the first of many articles on design patterns on refactorthis.net. This article explains The decorator pattern. Adding new behavior to your existing objects at run time.
0
kicks
Entity Framework and T4: Generate Query Objects on the fly, part 1
Generate Query Objects on the fly for your Entity Framework entities using T4 templates. Don’t worry about LINQ, let the objects do all the work for you.
0
kicks
Spearmen, Javelin Throwers, and the State Pattern, oh my!
Jamie Farser & Ayende Rahein recently had a conversation about using the State Pattern for units in a game Jamie is building. I've been following along trying to figure my way through the state pattern as well, and decided to take a stab at my own solution to Jamie's problem.
0
kicks
Top 100 Best Software Engineering Books, Ever
In this post I proudly present the Top 100 of Best Software Engineering Books, Ever. I have created this list using four different criteria: 1) number of Amazon reviews, 2) average Amazon rating, 3) number of Google hits and 4) Jolt awards.
0
kicks
Implementing the Repository Pattern with Linq-to-Sql
The Repository Pattern, according to Martin Fowler, provides a "layer of abstraction over the mapping layer where query construction code is concentrated", to "minimize duplicate query logic". In practice it is usually a collection of data access services, grouped in a similar wa...
0
kicks
Hidden Gem: Singleton Factory in C#
Simple and generic implementation of singleton factory in C#.
0
kicks
Test Supported Development (TSD) is not Test Driven Development (TDD)
"Test Supported Development" (TSD) intends to characterize the creation of tests during ANY/ALL stages of development, that is, tests are not necessarily created before their respective System Under Test (SUT), but not necessarily created as an afterthought, either...
0
kicks
Applying Design Patterns - Part I and II
This article is expected to:
[1] Introduce patterns to you in a simple, human readable way
[2] Train you how to really 'Apply' patterns (you can learn patterns easily, but to apply them to solve a problem, you need real design skills)
[3] Provide you a fair idea regarding the contexts for apply...
0
kicks
Model View * Patterns Series Complete!
The Design Patterns Bootcamp : Model View * Patterns series is now complete!
The series features two audio pieces and five instructional videos. The audio portions take care of introducing the concepts and answering frequently asked questions, while the videos cover the following topics:
1....
0
kicks
I Heart Template Method
Template Method is the old skool design pattern that rocks the party that rocks the party that rocks the party. Here's why I love it in a way that isn't natural.
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
Design Patterns for ASP.NET (Part 1)
or the past year or so, I've been involved in documenting frameworks that help developers write better code, and create applications that are more efficient and easier to test, debug, maintain, and extend. During that time, it has been interesting to see the continuing development of best-practice t...
0
kicks
Good Design Minimizes The Impact Of Changes
The title says most of what needs to be said ... a short article on how design patterns can make our code more maintainable.
0
kicks
The GOF Abstract Factory Design Pattern In C#
The abstract factory is a GOF (Gang of Four) creational pattern where the intent is to "...provide an interface for creating families of related or dependent objects without specifying their concrete classes".