Monday, 20 December 2010

What is the Lazy Design Pattern?

The approach of the Lazy Design Pattern is not to create objects until a specific requirement matches, and when it matches, objectcreation is triggered.
 
 A simple example of this pattern is a Job Portal application. Say you register yourself in that site thus filling up the registration table, only when the registration table is filled, the otherobjects are created and invoked, that prompt you to fill in other details too, which will be saved in other tables.

 

No comments:

Post a Comment