Skip to Content.
Sympa Menu

gang-of-4-patterns - RE: [gang-of-4-patterns] Doubt on creational patterns..

gang-of-4-patterns AT lists.cs.illinois.edu

Subject: Design Patterns discussion

List archive

RE: [gang-of-4-patterns] Doubt on creational patterns..


Chronological Thread 
  • From: "sanjeev_s" <sanjeev_s AT tatainfotech.com>
  • To: <mgrand AT mindspring.com>, <gang-of-4-patterns AT cs.uiuc.edu>, <jacobg AT atinav.com>
  • Subject: RE: [gang-of-4-patterns] Doubt on creational patterns..
  • Date: Mon, 22 Sep 2003 18:58:44 +0530
  • Importance: Normal
  • List-archive: <http://mail.cs.uiuc.edu/pipermail/gang-of-4-patterns/>
  • List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>

Can any body provide me an example of the difference between
the Factory pattern and the abstract factory pattern .

thanks
sanjeev


-----Original Message-----
From:
gang-of-4-patterns-admin AT cs.uiuc.edu
[mailto:gang-of-4-patterns-admin AT cs.uiuc.edu]On
Behalf Of
mgrand AT mindspring.com
Sent: Monday, September 22, 2003 4:36 PM
To:
jacobg AT atinav.com;

gang-of-4-patterns AT cs.uiuc.edu
Subject: RE: [gang-of-4-patterns] Doubt on creational patterns..


Factory Method is about deciding which class to instantiate. Abstract
factory is about ensuring that that classes that you are instantiate are a
matched set. Abstract factory may use factory method to decide which set
of classes it will instantiate.

Original Message:
-----------------
From: Jacob George
jacobg AT atinav.com
Date: Mon, 22 Sep 2003 14:29:59 +0530
To:
gang-of-4-patterns AT cs.uiuc.edu
Subject: [gang-of-4-patterns] Doubt on creational patterns..


Hi,
I am new to this group and is presently trying to understand creational
patterns. I got confused by the "Factory method" pattern and "Abstract
Factory" pattern. Both are used for instantiating objects, right? But one
is class creational while other is object creational; this point I doesn't
understand clearly.



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



_______________________________________________
gang-of-4-patterns mailing list
gang-of-4-patterns AT cs.uiuc.edu
http://mail.cs.uiuc.edu/mailman/listinfo/gang-of-4-patterns





Archive powered by MHonArc 2.6.16.

Top of Page