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

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

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