/[cvs]/nfo/php/libs/org.netfrag.glib/DesignPattern/Proxy.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/DesignPattern/Proxy.php

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

revision 1.2 by joko, Wed Mar 5 12:12:42 2003 UTC revision 1.4 by joko, Wed Mar 5 16:32:18 2003 UTC
# Line 1  Line 1 
1  <?php  <?php
   
2  /**  /**
3   * This file contains the DesignPattern::Proxy class.   * This file contains the DesignPattern::Proxy class
4   *   *
5   * @author Andreas Motl <andreas.motl@ilo.de>   * @author Andreas Motl <andreas.motl@ilo.de>
6   * @module DesignPattern::Proxy   * @package org.netfrag.glib
7     * @name DesignPattern::Proxy
8     * @filesource
9   *   *
10   */   *
11     *
12  /**   *
13     * <b>Cvs-Log:</b>
14     *
15     * <pre>
16   * $Id$   * $Id$
17   *   *
18   * $Log$   * $Log$
19     * Revision 1.4  2003/03/05 16:32:18  joko
20     * updated docu (phpDocumentor testing....)
21     *
22     * Revision 1.3  2003/03/05 16:10:17  joko
23     * updated docu (phpDocumentor testing....)
24     *
25   * Revision 1.2  2003/03/05 12:12:42  joko   * Revision 1.2  2003/03/05 12:12:42  joko
26   * re-renamed methods and privates: _handler becomes _proxy again   * re-renamed methods and privates: _handler becomes _proxy again
27   *   *
28   * Revision 1.1  2003/03/03 22:05:25  joko   * Revision 1.1  2003/03/03 22:05:25  joko
29   * abstract implementation...  ;-)   * abstract implementation...  ;-)
30     * </pre>
31   *   *
32   *   *
33   */   */
34    
35    
36  /**  /**
37   * --- An attempt to implement some software design patterns...   * Load required modules:
38     *
39     */
40    loadModule('Class::Logger');
41    
42    
43    /**
44     * An attempt to implement some software design patterns...
45   * --- ProxyPattern   * --- ProxyPattern
46   *   *
47   * --- http://c2.com/cgi-bin/wiki?ProxyPattern   * @link http://c2.com/cgi-bin/wiki?ProxyPattern
48   *   *
49   * @author Andreas Motl <andreas.motl@ilo.de>   * @author Andreas Motl <andreas.motl@ilo.de>
50     * @link http://www.netfrag.org/~joko/
51     *
52   * @copyright (c) 2003 - All Rights reserved.   * @copyright (c) 2003 - All Rights reserved.
53   * @license GNU LGPL (GNU Lesser General Public License)   * @license GNU LGPL (GNU Lesser General Public License)
54   *   * @link http://www.gnu.org/licenses/lgpl.txt
  * @author-url http://www.netfrag.org/~joko/  
  * @license-url http://www.gnu.org/licenses/lgpl.txt  
55   *   *
56   * @package org.netfrag.glib   * @package org.netfrag.glib
57   * @module DesignPattern::Proxy   * @name DesignPattern::Proxy
  *  
  */  
   
 /**  
  * Todo:  
58   *   *
59     * @todo
60     * <pre>
61   *    x DesignPattern::DecoratorProxy  (->decorate)   *    x DesignPattern::DecoratorProxy  (->decorate)
62   *    x DesignPattern::TransparentProxy  (->make_transparent)   *    x DesignPattern::TransparentProxy  (->make_transparent)
63   *    o DesignPattern::MultiProxy   (->both???) (diamond inheritance? possible in php?)   *    o DesignPattern::MultiProxy   (->both???) (diamond inheritance? possible in php?)
64   *    o DesignPattern::GenericAdapterProxy???   *    o DesignPattern::GenericAdapterProxy???
65   *      o no 'locator/query' or 'type/component'   *      o no 'locator/query' or 'type/component'
66   *      o even more generic: just 'adapter_metadata'    (-> global adapter registry?)   *      o even more generic: just 'adapter_metadata'    (-> global adapter registry?)
67     * </pre>
   
  *  
  *  
  */  
   
 /**  
  * Load required modules:  
68   *   *
69   */   */
 loadModule('Class::Logger');  
   
70  class DesignPattern_Proxy extends Class_Logger {  class DesignPattern_Proxy extends Class_Logger {
71    
72    /**    /**

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

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