Quantcast
Channel: Datensarg » Oli
Viewing all articles
Browse latest Browse all 9

Parameterized Factory Desing Pattern

$
0
0
The parameterized factory design pattern is an extension to the factory design pattern as you might have guessed, but here we can make the factory create different objects depending on the parameter passed to the create-method. Imagine your application is supposed to connect to a MySQL-DB or to a PostgreSQL-DB. Instead of creating different objects […]

Viewing all articles
Browse latest Browse all 9

Trending Articles