Re: Difference between Factory and Abstract Factory
- From: "Ed" <iamfractal@xxxxxxxxxxx>
- Date: 25 Mar 2007 14:11:46 -0700
On 25 Mar, 17:47, EvilOld...@xxxxxxxxxxxxxx wrote:
I've read the gang of four, and various things I've googled, but I'm
just too stupid to really get the difference between a factory and an
abstract factory.
Help me please...
There is no, "Factory." That's a generic term (at least in the context
of GOF).
There are two patterns: abstract factory and factory method.
If anything, the generic term, "Factory," means something that will
return an implementation that accords to a given interface. The
abstract factory and factory method are just two different ways to
return this implementation.
..ed
--
www.EdmundKirwan.com - Home of The Fractal Class Composition
.
- References:
- Difference between Factory and Abstract Factory
- From: EvilOldGit
- Difference between Factory and Abstract Factory
- Prev by Date: OO and Extending (Was: Is Procedural Paradigm a basis of OO Paradigm?)
- Next by Date: Re: OO and Extending (Was: Is Procedural Paradigm a basis of OO Paradigm?)
- Previous by thread: Difference between Factory and Abstract Factory
- Next by thread: Re: Difference between Factory and Abstract Factory
- Index(es):
Relevant Pages
|