Changes

Jump to: navigation, search

Proxy

172 bytes removed, 17:04, 21 March 2007
no edit summary
The <i>Proxy</i> pattern is used in software development to create a placeholder for an object. The Proxies provide an interface to another object is not actually created until the information that the such as a network connection, a large object holds is required. This extra layer of abstraction saves time when in memory, a program must access a database file, or a disk for the information.<br /><br />If the information some other resource that is never required, the database/disk will never be queried and the system will run more efficiently with less slowdowns for unnecessary materializationsexpensive or impossible to duplicate.
<br />
<br />
==Proxy Design Pattern==
When a request is made Any operations performed on the proxies are forwarded to a Proxy, the real original object is then instantiated. From then onOnce all instances of the proxy are out of scope, any further requests are made to the real complex object's memory may be deallocated. There are four common situations where a Proxy pattern is required:
<br />
1
edit

Navigation menu