| 1 |
<?php |
<?php |
| 2 |
|
/** |
| 3 |
|
* This file contains the DesignPattern::RemoteProxy class |
| 4 |
|
* |
| 5 |
|
* @author Andreas Motl <andreas.motl@ilo.de> |
| 6 |
|
* @package org.netfrag.glib |
| 7 |
|
* @name DesignPattern::RemoteProxy |
| 8 |
|
* |
| 9 |
|
*/ |
| 10 |
|
|
| 11 |
/** |
/** |
| 12 |
* ------------------------------------------------------------------------- |
* ------------------------------------------------------------------------- |
| 13 |
* $Id$ |
* $Id$ |
| 14 |
* ------------------------------------------------------------------------- |
* ------------------------------------------------------------------------- |
| 15 |
* $Log$ |
* $Log$ |
| 16 |
|
* Revision 1.3 2003/03/05 16:10:17 joko |
| 17 |
|
* updated docu (phpDocumentor testing....) |
| 18 |
|
* |
| 19 |
* Revision 1.2 2003/03/05 12:14:02 joko |
* Revision 1.2 2003/03/05 12:14:02 joko |
| 20 |
* renamed method |
* renamed method |
| 21 |
* constructor argument expansion |
* constructor argument expansion |
| 110 |
*/ |
*/ |
| 111 |
|
|
| 112 |
/** |
/** |
|
* |
|
| 113 |
* Data::Driver::Proxy -- Multiple stage data fetching and caching |
* Data::Driver::Proxy -- Multiple stage data fetching and caching |
| 114 |
* |
* |
| 115 |
* |
* |
| 169 |
*/ |
*/ |
| 170 |
|
|
| 171 |
/** |
/** |
| 172 |
* Todo: |
* An attempt to implement some software design patterns... |
| 173 |
|
* --- RemoteProxyPattern |
| 174 |
|
* |
| 175 |
|
* @link http://c2.com/cgi-bin/wiki?ProxyPattern |
| 176 |
|
* |
| 177 |
|
* @author Andreas Motl <andreas.motl@ilo.de> |
| 178 |
|
* @link http://www.netfrag.org/~joko/ |
| 179 |
|
* |
| 180 |
|
* @copyright (c) 2003 - All Rights reserved. |
| 181 |
|
* @license GNU LGPL (GNU Lesser General Public License) |
| 182 |
|
* @link http://www.gnu.org/licenses/lgpl.txt |
| 183 |
|
* |
| 184 |
|
* @package org.netfrag.glib |
| 185 |
|
* @name DesignPattern::RemoteProxy |
| 186 |
|
* |
| 187 |
|
*/ |
| 188 |
|
|
| 189 |
|
/** |
| 190 |
|
* @todo |
| 191 |
|
* <pre> |
| 192 |
* x extend options to en-/disable caching via a) session and/or b) database |
* x extend options to en-/disable caching via a) session and/or b) database |
| 193 |
* o make feature available via runtime setter-method to these options |
* o make feature available via runtime setter-method to these options |
| 194 |
* o use PEAR::Cache for caching purposes!!! |
* o use PEAR::Cache for caching purposes!!! |
| 196 |
* o make database connection more flexible to make possible |
* o make database connection more flexible to make possible |
| 197 |
* to have different (probably named) proxy databases (besides a "main database") |
* to have different (probably named) proxy databases (besides a "main database") |
| 198 |
* o rename this to Data::Proxy? or split into Data::Query, Data::Result and Data::Wrapper? |
* o rename this to Data::Proxy? or split into Data::Query, Data::Result and Data::Wrapper? |
| 199 |
|
* </pre> |
| 200 |
* |
* |
| 201 |
*/ |
*/ |
| 202 |
|
|