By tag: Factory
0
kicks
Factory method Designpattern using C#
The factory method pattern is a creational design pattern used in software development to encapsulate the process of creating the objects.
Concerns:
0
kicks
Design Patterns - Factory Method Pattern
First of all, the definition: “Define an interface for creating an object, but let the subclasses decide which class to instantiate. The Factory method lets a class defer instantiation to subclasses.“ Illustrated by adding a building to our game, which creates various GameUnits for each faction.
0
kicks
Factory Method Design Pattern
The factory method pattern is a design pattern that allows for the creation of objects without specifying the type of object that is to be created in code. A factory class contains a method that allows determination of the created type at run-time.
0
kicks
Dependency Injection: Factory vs Container - Unity
As application size and complexity increase it becomes more and more difficult to reuse existing components and integrating these components to form an interconnected architecture because of the dependencies of the components. One way to reduce dependencies is by using Dependency Injection, which al...
0
kicks
Framework Extension Points
The article describes how to employ a factory approach to add extensibility to framework code.
0
kicks
InFactoring the Architecture
The article describes how a factory can be used to achive layer separation within a classical 3-tier architecture and what other bennefits result from such an approach.
0
kicks
Building the factory
The article describes a simple factory implementation and looks into further enhancements.
0
kicks
The Factory Factor
Dependency injection is gaining momentum, but sometimes a simplyfied approach may be the better choice. In these cases factories may be an option.
0
kicks
Now you can create you're own hammer factory factories...
Apparently MS will be providing a factory for creating your own application blocks for v3.0 of the Enterprise Library , should you desire to do so. Reading Ayende's latest post on this and his link to this flashback post from Joel Spolsky, had me rolling on the floor laughing.
0
kicks
A simple factory using Generics
This simple factory design can be used for a variety of other purposes and it adds a great layer of abstraction to your code and makes it easier to maintain and reuse.