Stories recently tagged with 'Patterns'

Software design Principles and Patterns(www.ludmal.net)

submitted by ludmalludmal(47) 1 year, 5 months ago

A brief overview of the Software Design Principles and Design Patterns read more...

add a comment |category: |Views: 4

tags: another

RageFeed’s Application Bus, and Why I Built My Own(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 1 year, 5 months ago

In my last article, I introduced the Application Bus pattern, a specialization of the Message Bus pattern. I’m employing an Application Bus in RageFeed, the hobby social networking application I sometimes work on. Today, I’ll show you how the bus utilizes StructureMap for locating message end points and for dispatching messages. I’ll also explain why I chose to build my own bus instead of leveraging an existing one, such as the bus available in MVCContrib. read more...

add a comment |category: |Views: 20

tags: another

Comparing the experience of different ORM solutions(www.thecodeface.co.uk)

submitted by digitalbananadigitalbanana(5) 1 year, 6 months ago

A comparison of the developer experience encountered during the process of hooking up a POCO application using different ORM tools read more...

add a comment |category: |Views: 10

tags: another

Working towards decoupled code: Part 3 Ioc Containers(www.mattlong.com.au)

submitted by mattdlongmattdlong(90) 1 year, 6 months ago

In my previous two posts I tackled a couple of methods which can be used to work towards decoupled code, the Service Locator and Dependency Injection. I also spoke about the limitations of a traditional service locator in that all objects that are dependent on other objects will need to become dependent on the service locator in order to decouple themselves from those dependencies. This is not ideal when we are trying to work towards decoupled code, but it was a good start. read more...

add a comment |category: |Views: 4

tags: another

Working towards decoupled code: Part 2 Dependency Injection.(www.mattlong.com.au)

submitted by mattdlongmattdlong(90) 1 year, 6 months ago

In my previous post I spoke about what I consider to be coupled code and how it effects the maintainability and testability of a code base. I also spoke about one method of reducing code coupling in an effort to achieve our goals of maintanability and testability, the Service Locator. read more...

add a comment |category: |Views: 1

tags: another

1 Working towards decoupled code: Part 1 The Service Locator. (www.mattlong.com.au)

submitted by mattdlongmattdlong(90) 1 year, 6 months ago

This is the first of a three part series in which I will attempt to explain three methods I’ve used in the past to help me to achieve loosely coupled code. read more...

add a comment |category: |Views: 6

tags: another

Dependency Injection Using Unity Application Block(dotnetslackers.com)

submitted by gilfgilf(2139) 1 year, 6 months ago

In this article Gil Fink explains what is dependency injection, what is Unity Application Block and how to use it. read more...

add a comment |category: |Views: 20

tags: another

Threadsafe lazy cache(der-waldgeist.blogspot.com)

submitted by SaneSane(15) 1 year, 6 months ago

The threadsafe implementation of lazy-initialized cache with minimal blocking impact read more...

add a comment |category: |Views: 11

tags: another

Software Antipatterns : The Golden Hammer(codebalance.blogspot.com)

submitted by cagdasbasaranercagdasbasaraner(75) 1 year, 6 months ago

A "software pattern" is a predefined and accepted solution for a specific software problem. Similarly, a "software antipattern" is a predefined and accepted unsuccesful solution. It's known as a bad solution, and should not be used. The Golden Hammer can be defined as an architecture, a solution or a software tool that is believed to be the best solution for every software problem/project. read more...

2 comments |category: |Views: 13

tags: another

Introduction to the observer design pattern-The CodeGain(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 7 months ago

The Observer pattern defines a one to many relationships between objects so that when one changes its state, all the others are notified accordingly. read more...

add a comment |category: |Views: 9

tags: another

Introduction to the Strategy design pattern-The CodeGain(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 7 months ago

The Strategy pattern involves separating an algorithm from its host class and putting it in a separate class. When there are multiple strategies available for an algorithm, for a given problem it is always better to separate them in to different objects. If the algorithms are all kept in the one class, the class will be become a big messy conditional statements. read more...

add a comment |category: |Views: 9

tags: another

Introduction to the Adaptor design pattern-The CodeGain(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 7 months ago

Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces. read more...

add a comment |category: |Views: 3

tags: another

Introduction to the Iterator design pattern-The CodeGain(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 7 months ago

The Iterator pattern provides a way of accessing elements of a collection sequentially, without knowing how the collection is structured. As an extension, the pattern allows for filtering elements in a variety of ways as they are generated. read more...

add a comment |category: |Views: 5

tags: another

Introduction to the Facade Pattern-The CodeGain(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 7 months ago

Provide a unified interface to a set of interfaces in a subsystem. Façade defines a higher-level interface that makes the subsystem easier to use. read more...

add a comment |category: |Views: 9

tags: another

Introduction to the Proto type design pattern-The CodeGain(www.codegain.com)

submitted by codegaincodegain(2794) 1 year, 7 months ago

A fully initialized instance to be copied or cloned. The Prototype pattern specifies the kind of objects to create using a prototypical instance. read more...

add a comment |category: |Views: 4

tags: another

A Basic IoC Container (C#)(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 1 year, 7 months ago

Inversion of control (IoC) containers provide a specialised form of the service locator pattern that simplifies the way in which dependencies are registered and later resolved. This article describes how to create a basic IoC container using generics. read more...

add a comment |category: |Views: 33

tags: another