Python ProgrammingPython Programming

The Abstract Factory design pattern is implemented as a number of Factory Methods that belong to a single class and are used to create a family of related objects (various gadgets, smartphones, smartwatch, and so forth). Develop a program to demonstrate the use of abstract factory design pattern.Read More
Posted in Design Patterns By Python Developer

Factory method implementation

8/5/2017 12:33 PM

An example of the Factory Method pattern used in gadget features list.(The Factory Method centralizes an object creation and tracking your objects becomes much easier. The Factory method creation is through inheritance and not through instantiation.)Read More
Posted in Design Patterns By Python Developer