/[cvs]/nfo/php/libs/org.netfrag.glib/DataSource/Generic.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/DataSource/Generic.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by joko, Mon Mar 10 23:25:03 2003 UTC revision 1.7 by joko, Tue Mar 11 01:43:00 2003 UTC
# Line 9  Line 9 
9   */   */
10    
11  /**  /**
12     * <b>Cvs-Log:</b>
13     *
14     * <pre>
15   * $Id$   * $Id$
16   *   *
17   * $Log$   * $Log$
18     * Revision 1.7  2003/03/11 01:43:00  joko
19     * + fixed metadata for phpDocumentor
20     *
21     * Revision 1.6  2003/03/11 01:22:25  joko
22     * + fixed metadata for phpDocumentor
23     *
24     * Revision 1.5  2003/03/11 00:12:49  joko
25     * + fixed metadata for phpDocumentor
26     *
27   * Revision 1.4  2003/03/10 23:25:03  joko   * Revision 1.4  2003/03/10 23:25:03  joko
28   * + fixed metadata for phpDocumentor   * + fixed metadata for phpDocumentor
29   *   *
# Line 47  Line 59 
59   *   *
60   * Revision 1.1  2003/03/01 03:10:40  joko   * Revision 1.1  2003/03/01 03:10:40  joko
61   * + initial commit   * + initial commit
62   *   * </pre>
63   *   *
64   */   */
65    
# Line 126  loadModule('DesignPattern::AdapterProxy' Line 138  loadModule('DesignPattern::AdapterProxy'
138   * --- snipped into here from above ---   * --- snipped into here from above ---
139   * </pre>   * </pre>
140   *   *
141   *   * <p>
142   * !!!!!!  refactor this to Data::Driver::Proxy  !!!!!!     <-----------------   * !!!!!!  refactor this to Data::Driver::Proxy  !!!!!!     <-----------------
143   *   *
144   * Data::Driver::Proxy instantiates "handlers" below itself   * Data::Driver::Proxy instantiates "handlers" below itself
# Line 147  loadModule('DesignPattern::AdapterProxy' Line 159  loadModule('DesignPattern::AdapterProxy'
159   * </pre>   * </pre>
160   *   *
161   * !!!!!!  refactor this to Data::Driver::Proxy  !!!!!!     <-----------------   * !!!!!!  refactor this to Data::Driver::Proxy  !!!!!!     <-----------------
162     * </p>
163   *   *
164   *   *
165     * <p>
166   * <b>How to use?</b>   * <b>How to use?</b>
167   *   *
168   * Pass an array holding "locator metadata" to the constructor.   * Pass an array holding "locator metadata" to the constructor.
169   * GenericDataSource takes care of the rest.   * GenericDataSource takes care of the rest.
170   *   *
171     * <pre>
172   * Pass an array to the constructor: (e.g.)   * Pass an array to the constructor: (e.g.)
173   *   *
174   *  1. doing rpc-calls....   *  1. doing rpc-calls....
# Line 175  loadModule('DesignPattern::AdapterProxy' Line 190  loadModule('DesignPattern::AdapterProxy'
190   *    $source = ne w GenericDataSource($locator);   *    $source = ne w GenericDataSource($locator);
191   *    $this->set_data_source( &$source );   *    $this->set_data_source( &$source );
192   *    </code>   *    </code>
193     * </pre>
194     * </p>
195     *
196   *   *
197   * @link http://www.netfrag.org/~joko/   * @link http://www.netfrag.org/~joko/
198   * @author Andreas Motl <andreas.motl@ilo.de>   * @author Andreas Motl <andreas.motl@ilo.de>
# Line 193  loadModule('DesignPattern::AdapterProxy' Line 211  loadModule('DesignPattern::AdapterProxy'
211   * @name DataSource::Generic   * @name DataSource::Generic
212   *   *
213   * @todo this:   * @todo this:
214     * o mungle this to be able to be wrapped around phpHtmlLib's own storage-handles
215     * o implement another Data::Driver::Proxy container
216   *   *
217   * <ul>   * <pre>
  *  o mungle this to be able to be wrapped around phpHtmlLib's own storage-handles  
  *  o implement another Data::Driver::Proxy container  
  * </ul>  
  *  
218   *              !!!!!!!!          THIS IS THE PROBLEM          !!!!!!!!   *              !!!!!!!!          THIS IS THE PROBLEM          !!!!!!!!
219   *    !!!!!!!!   here is it where we have to break inheritance again   !!!!!!!!   *    !!!!!!!!   here is it where we have to break inheritance again   !!!!!!!!
220   *   *
# Line 214  loadModule('DesignPattern::AdapterProxy' Line 230  loadModule('DesignPattern::AdapterProxy'
230   *      2. here: DataSource - scope:   *      2. here: DataSource - scope:
231   *          x handles bridge to frameworks (e.g. phpHtmlLib) vs. actual data driver libs (PEAR, etc.))   *          x handles bridge to frameworks (e.g. phpHtmlLib) vs. actual data driver libs (PEAR, etc.))
232   *          o clean implementation using a DesignPattern::AdapterProxy   *          o clean implementation using a DesignPattern::AdapterProxy
233     * </pre>
234   *   *
235   *   *
236   */   */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.7

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed