471,337 Members | 1,439 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Abstract factory and Factory pattern

C#
http://www.questpond.com/FreeDesign1.htm

I was going through the above videos. Can i conclude Abstract factory
patterns are extensions of factory patterns. I have made the
conclusion after viewing the video and reading GOF books. I am
confused by these two patterns.
Jul 28 '08 #1
4 1821
they are different but related.

the in factory pattern, the code calls the factory directly to create
objects.

in the abstract pattern, the abstract factory is called, and it
determines which factory to call to create the object.

-- bruce (sqlwork.com)

C# wrote:
http://www.questpond.com/FreeDesign1.htm

I was going through the above videos. Can i conclude Abstract factory
patterns are extensions of factory patterns. I have made the
conclusion after viewing the video and reading GOF books. I am
confused by these two patterns.
Jul 28 '08 #2
On Jul 28, 11:25*am, "C#" <surajfrommum...@yahoo.comwrote:
http://www.questpond.com/FreeDesign1.htm

I was going through the above videos. Can i conclude Abstract factory
patterns are extensions of factory patterns. I have made the
conclusion after viewing the video and reading GOF books. I am
confused by these two patterns.
I would suggest the Head First series and specifically the GOF
Patterns book. It is great at illustrating the patterns in a way that
makes things more clear. Frankly, the GOF book is one of those "need
a book about the book" kind of books.

Tal
Jul 28 '08 #3

The best illustration a book gave me for abstract was "build a computer".

It was a java book and I don't know which one it was.

However, I found this
http://blog.dotnetstyling.com/archiv...n-Pattern.aspx

which is similar.

"C#" <su*************@yahoo.comwrote in message
news:f8**********************************@q28g2000 prh.googlegroups.com...
http://www.questpond.com/FreeDesign1.htm

I was going through the above videos. Can i conclude Abstract factory
patterns are extensions of factory patterns. I have made the
conclusion after viewing the video and reading GOF books. I am
confused by these two patterns.

Jul 28 '08 #4
C#
On Jul 28, 11:16*pm, "sloan" <sl...@ipass.netwrote:
The best illustration a book gave me for abstract was "build a computer".

It was a java book and I don't know which one it was.

However, I found thishttp://blog.dotnetstyling.com/archive/2007/11/25/Abstract-Factory-Des...

which is similar.

"C#" <surajfrommum...@yahoo.comwrote in message

news:f8**********************************@q28g2000 prh.googlegroups.com...
http://www.questpond.com/FreeDesign1.htm
I was going through the above videos. Can i conclude Abstract factory
patterns are extensions of factory patterns. I have made the
conclusion after viewing the video and reading GOF books. I am
confused by these two patterns.- Hide quoted text -

- Show quoted text -
Thanks guys for your clarification
Jul 31 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

17 posts views Thread by Medi Montaseri | last post: by
4 posts views Thread by max | last post: by
2 posts views Thread by Julia | last post: by
3 posts views Thread by Christer | last post: by
3 posts views Thread by suresh_rai | last post: by
4 posts views Thread by C# | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.