This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between Simple Factory pattern and Factory Method pattern

 
Suresh Appagundi
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to know what is the difference between Simple Factory pattern and Factory Method pattern?
And also would be helpful, if any good site is suggested regarding,
different types of patterns with examples.
thanks in advance.
 
Roger Zacharias
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>I need to know what is the difference between Simple Factory pattern and
>Factory Method pattern?
>And also would be helpful, if any good site is suggested regarding,
>different types of patterns with examples.
Hi,
I only know the Factory Method and the Abstract Factory.
Both hide object creation. Factory Method creates products depending on arbitrary parameters and Abstract Factory creates product families, i.e. this factory can create factories.
OK?
Roger
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic