Category: Creational

Factory Method Design Pattern in Visual Basic .NET

Read more

Abstract Factory Method Design Pattern in Visual Basic .NET

Read more

Proxy Design Pattern in Visual Basic .NET

Definition Provide a surrogate or placeholder for another object to control access to it. You can understand the Proxy Design Pattern in following You have two objects called ObjectA and ObjectB. So ObjectA needs to communicate with other ObjectB. How are you going to do this? You can simple make a reference to ObjectB can […]

Read more

Prototype Design Pattern in Visual Basic .NET

Prototype Design Pattern comes under the Creational Pattern. This pattern also is used to create object. In this pattern you create a clone of an existing object with out creating new object Why do you clone objects? Creating heavy objects consume memory It takes time to create new object if it consumes lots of resources […]

Read more

Builder Design Pattern in Visual Basic .NET

This pattern comes under Creational Pattern and this is used to create object. You can build complex object using simple objects. To understand the¬†Creational Pattern we can think of a restaurant where you have kids meal menu and adult meal menu. Now you can think that our Meal class is little bit complex because it […]

Read more