Difference between revisions of "Proxy"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
The Proxy pattern is used in software development to create a placeholder for an object. The object is not actually created until the information that the object holds is required. This extra layer of abstraction saves time when a program must access a database or a disk for the information.
 +
<br />
 +
<br />
 +
If the information is never required, the database/disk will never be queried and the system will run more efficiently with less slowdowns for unnecessary materializations.
 +
 
__TOC__
 
__TOC__
  

Revision as of 17:45, 16 January 2007

The Proxy pattern is used in software development to create a placeholder for an object. The object is not actually created until the information that the object holds is required. This extra layer of abstraction saves time when a program must access a database or a disk for the information.

If the information is never required, the database/disk will never be queried and the system will run more efficiently with less slowdowns for unnecessary materializations.

Proxy Design Pattern

Links

BTP600
Wikipedia article on the Proxy Pattern