By tag: Patterns
0
kicks
Machine Learning: 5 examples of what it is and why you should care
This article is full of videos related to machine learning that are sure to blow your mind!
0
kicks
Singling things out
DRYing up your code could get you into a ton of mess when you don't take the Single responsibility principle into consideration. This article goes into how separating concerns and identifying behaviors could lead to a more flexible code-base
0
kicks
Dependency Injection in Unity Inject multiple ICommand implementations
Ever wonder how to register and resolve interfaces with more than one implementation? This blog article will show you how in Microsoft's Unity. This is a follow up to my first article on Dependency Injection using Microsoft Unity.
0
kicks
Hybrid CQRS implementation using MongoDb
Introduction to CQRS architectural pattern and to hybrid implementation of this pattern using NoSQL database(MongoDb).
0
kicks
Design Patterns for .NET Programmers
Between lambda expressions in C# and functional programming in F#, we can now make use of patterns well beyond those popularized by the so called GOF. In this presentation we will learn the benefits of some useful patterns and how to implement them using C# and F#.
0
kicks
Device code assumptions using Code Contracts in .NET
Code contract, its internal with Microsoft intermediate language. The article will guide you with writing precoditions, post conditions and invariant conditions easily and knowing the internal structure
0
kicks
Service locator is not an anti pattern.
My attempt to destroy the misconception of that service locator is an anti pattern.
0
kicks
Func Injection in Unity
If you are using LinqToSql and dependency injection, then you have probably created a factory with which you create DataContexts. But what if you could just let your IOC Container do that work for you? You can!
If you are using Unity then you can inject a Func<T> of any registered type. Uni...
0
kicks
Gang of Four Design Patterns Reference Sheet
The Gang of Four are the four authors of the book, "Design Patterns: Elements of Reusable Object-Oriented Software". They described twenty-three design patterns for object-oriented programming. This reference sheet provides the UML for those patterns.
0
kicks
Exceptions vs Error Returns
When a method fails, should it throw an exception or return a value that indicates an error?
0
kicks
The Decorator Pattern, Done Right, With StructureMap
There's lots of cool things you can do with an IoC container. One of the cool bits of black magic I use is an extension method for registering decorators using StructureMap.
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
Why Type First-Development Matters
This article describes type-first development (TFD). A software development methodology that is quite common among functional programmers and uses types as a simple way of communicating ideas about program design.
0
kicks
Workflow Driven Development: Asserting a Workflow using an Audit Trail
A short example that demonstrates how using an audit trail in your application is an excellent method to assert a correct workflow. It can also make for more resilient user acceptance tests.
0
kicks
Dueling Devs: A Pattern for Effective Pair Programming
We do a lot of Pair Programming at Acklen Avenue. From experience, we’ve learned that there are things we can do to kill pair programming, making it a complete waste of time. We’ve also, over time, developed some patterns that, for us, make Pair Programming what it REALLY SHOULD BE. This blog post ...