Objects by Design Forums Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Calendar Find other members Frequently Asked Questions Search Home  
Objects by Design Forums : Powered by vBulletin version 2.3.5 Objects by Design Forums > Main Forums > Object-Oriented Design and Patterns > creational patterns
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
tddnewuser
Junior Member

Registered: Jun 2006
Location:
Posts: 4

creational patterns

Hi all,

I am currently designing an application. I felt that I kinda understood the differences in creational patterns but again not.
In the real world, when to decide to use abstract factory instead of factory.
Also are one of these patterns to be used when there could be state change of the objects else use singleton?

Any help is higly appeciated.

Thanks in advance.

Report this post to a moderator | IP: Logged

Old Post 06-19-2006 12:53 AM
tddnewuser is offline Click Here to See the Profile for tddnewuser Click here to Send tddnewuser a Private Message Find more posts by tddnewuser Add tddnewuser to your buddy list Edit/Delete Message Reply w/Quote
ssneig
Junior Member

Registered: Feb 2006
Location:
Posts: 4

I could'nt think of real-world examples but I'd say that abstract factory provides a way to create <i>related set of products</i>

The implementation of abstract factory encompasses factory-method pattern in most cases not considering pattern implementation variances.

If you closely observe abstract factory, you'd see methods similar to getProductA() and getProductB() in Concrete factory class.

I could'nt understand clearly your second question. You might want to elaborate...

Report this post to a moderator | IP: Logged

Old Post 06-29-2006 08:34 PM
ssneig is offline Click Here to See the Profile for ssneig Find more posts by ssneig Add ssneig to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 05:17 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

< Contact Us - Objects by Design >

Powered by: vBulletin Version 2.3.5
Copyright ©2000 - 2018, Jelsoft Enterprises Limited.
Copyright 1999-2005, Objects by Design, Inc.