Early previewThis guide is in development. Items tagged verify are still being checked against official docs.
nebx Learn
GitHub
Menu
Home/Learning paths/Creational patterns
Learning path 2 of 6 · Intermediate

Creational patterns

Deal with the creation of objects: explicit (constructor) vs implicit (DI, reflection), wholesale vs piecewise.

5 lessons5 patternsQuizzesFree
0 of 5 lessons complete
  1. 1
    Factory Method

    Defines an interface for creating an object but lets subclasses decide which class to instantiate.

    CreationalDemoCodeQuiz
  2. 2
    Abstract Factory

    Produces families of related objects without specifying their concrete classes.

    CreationalQuiz
  3. 3
    Builder

    Constructs complex objects step by step, letting the same process produce different representations.

    CreationalQuiz
  4. 4
    Prototype

    Copies existing objects without making code depend on their classes.

    CreationalQuiz
  5. 5
    Singleton

    Ensures a class has only one instance and provides a global access point to it.

    CreationalDemoCodeQuiz