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: "Jacob George" <jacobg AT atinav.com>
  • To: <mgrand AT mindspring.com>, <gang-of-4-patterns AT cs.uiuc.edu>
  • Subject: Re: [gang-of-4-patterns] Doubt on creational patterns..
  • Date: Mon, 22 Sep 2003 16:46:12 +0530
  • List-archive: <http://mail.cs.uiuc.edu/pipermail/gang-of-4-patterns/>
  • List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>

Hi,
    Thankyou very much for your reply. So, if simply put, can AbstractFactory can be defined as a factory of factories? But, in that case, how can one be class creational while other is object creational? How can Abstract factory's behaviour be changed using object delegation?
 
                                                                                                                        regards Jacob
 
----- Original Message -----
From: mgrand AT mindspring.com
To: jacobg AT atinav.com ; gang-of-4-patterns AT cs.uiuc.edu
Sent: Monday, September 22, 2003 4:35 PM
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/ .
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 9/18/2003



Archive powered by MHonArc 2.6.16.

Top of Page