Day: September 11, 2017

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

Memento Design Pattern in Visual Basic .NET

Definition Without violating encapsulation, capture and externalize an object’s internal state so that the object can be restored to this state later. This pattern is used to save the internal state of an object when it changesĀ  state of over the time. You can use save points when you save the state so that you […]

Read more

Iterator Design Pattern in Visual Basic .NET

Definition Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation. If you have several objects in a container and you want to access them in sequential order, you can use the Iterator Design Pattern in VB.NET

Read more