12 |
* $Id$ |
* $Id$ |
13 |
* |
* |
14 |
* $Log$ |
* $Log$ |
15 |
|
* Revision 1.4 2003/03/10 23:25:03 joko |
16 |
|
* + fixed metadata for phpDocumentor |
17 |
|
* |
18 |
* Revision 1.3 2003/03/09 15:50:36 joko |
* Revision 1.3 2003/03/09 15:50:36 joko |
19 |
* + additional metadata for Autodia |
* + additional metadata for Autodia |
20 |
* |
* |
192 |
* @subpackage DataSource |
* @subpackage DataSource |
193 |
* @name DataSource::Generic |
* @name DataSource::Generic |
194 |
* |
* |
195 |
* @todo |
* @todo this: |
196 |
|
* |
197 |
* <ul> |
* <ul> |
198 |
* o mungle this to be able to be wrapped around phpHtmlLib's own storage-handles |
* o mungle this to be able to be wrapped around phpHtmlLib's own storage-handles |
199 |
* o implement another Data::Driver::Proxy container |
* o implement another Data::Driver::Proxy container |
200 |
* </ul> |
* </ul> |
201 |
* |
* |
202 |
|
* !!!!!!!! THIS IS THE PROBLEM !!!!!!!! |
203 |
// !!!!!!!! THIS IS THE PROBLEM !!!!!!!! |
* !!!!!!!! here is it where we have to break inheritance again !!!!!!!! |
204 |
// !!!!!!!! here is it where we have to break inheritance again !!!!!!!! |
* |
205 |
// |
* THE CONFLICT: Beeing in phpHtmlLib *and* DesignPattern::TransparentProxy |
206 |
// THE CONFLICT: Beeing in phpHtmlLib *and* DesignPattern::TransparentProxy |
* inheritance trees at the same time, which is *not* possible at |
207 |
// inheritance trees at the same time, which is *not* possible at |
* declare-time. We *do* need some runtime-infrastructure to solve this! |
208 |
// declare-time. We *do* need some runtime-infrastructure to solve this! |
* |
209 |
// |
* TODO: move build- and check-locator stuff from ObjectList to this place!!! |
210 |
// TODO: move build- and check-locator stuff from ObjectList to this place!!! |
* |
211 |
// |
* ABOUT: |
212 |
// ABOUT: |
* 1. otherwhere: WebApp - scope: |
213 |
// 1. otherwhere: WebApp - scope: |
* x handles page vs. block vs. widget; dispatches MVC-View |
214 |
// x handles page vs. block vs. widget; dispatches MVC-View |
* 2. here: DataSource - scope: |
215 |
// 2. here: DataSource - scope: |
* x handles bridge to frameworks (e.g. phpHtmlLib) vs. actual data driver libs (PEAR, etc.)) |
216 |
// x handles bridge to frameworks (e.g. phpHtmlLib) vs. actual data driver libs (PEAR, etc.)) |
* o clean implementation using a DesignPattern::AdapterProxy |
217 |
// o clean implementation using a DesignPattern::AdapterProxy |
* |
218 |
// |
* |
219 |
|
*/ |
|
*/ |
|
220 |
class DataSource_Generic extends DesignPattern_AdapterProxy { |
class DataSource_Generic extends DesignPattern_AdapterProxy { |
221 |
|
|
222 |
// !!!!!!!! here is it where we have to break inheritance again !!!!!!!! |
// !!!!!!!! here is it where we have to break inheritance again !!!!!!!! |