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

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

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

revision 1.1 by joko, Wed Mar 5 12:07:10 2003 UTC revision 1.8 by joko, Wed Mar 5 17:28:43 2003 UTC
# Line 1  Line 1 
1  <?  <?
2  /**  /**
3   * This file contains the abstract MVCPage class.   * This file contains the DesignPattern::AdapterProxy namespace.
  * It inherits from phpHtmlLib's abstract PageWidget  
  * class to seamlessly integrate into its render queue.  
4   *   *
5   * @author Andreas Motl <andreas.motl@ilo.de>   * @author Andreas Motl <andreas.motl@ilo.de>
6   * @package phpHtmlLib   * @package org.netfrag.glib
7   * @module MVCPage   * @name DesignPattern::AdapterProxy
8     * @filesource
9   *   *
10   */   * <b>Cvs-Log:</b>
11     *
12  /**   * <pre>
13   * $Id$   * $Id$
14   *   *
15   * $Log$   * $Log$
16     * Revision 1.8  2003/03/05 17:28:43  joko
17     * updated docu (phpDocumentor testing....)
18     *
19     * Revision 1.7  2003/03/05 17:13:17  joko
20     * updated docu (phpDocumentor testing....)
21     *
22     * Revision 1.6  2003/03/05 17:02:22  joko
23     * updated docu (phpDocumentor testing....)
24     *
25     * Revision 1.5  2003/03/05 16:45:58  joko
26     * updated docu (phpDocumentor testing....)
27     *
28     * Revision 1.4  2003/03/05 16:32:18  joko
29     * updated docu (phpDocumentor testing....)
30     *
31     * Revision 1.3  2003/03/05 16:10:17  joko
32     * updated docu (phpDocumentor testing....)
33     *
34     * Revision 1.2  2003/03/05 15:41:03  joko
35     * updated docu (phpDocumentor testing....)
36     *
37   * Revision 1.1  2003/03/05 12:07:10  joko   * Revision 1.1  2003/03/05 12:07:10  joko
38   * + initial commit   * + initial commit
39   *   *
40   * Revision 1.1  2003/03/03 22:11:08  joko   * Revision 1.1  2003/03/03 22:11:08  joko
41   * + initial commit   * + initial commit
42     * </pre>
43   *   *
44   *   *
45   */   */
46    // cvs-log
47    
48    
49  /**  /**
50   * This class is used to build content   * Make sure we have the required parent class
51   * for an MVC controlled page.  It instantiates   */
52   * an concrete helper MVC object which does the  loadModule('DesignPattern::TransparentProxy');
53   * dispatching stuff. (phpHtmlLib::controller::WebMVC,  
54   * inherited from the abstract DesignPattern::MVC)  
55   *  /**
56   * This class is established here to act as a wrapper   * This tries to combine some DesignPatterns....
57   * bringing MVC and phpHtmlLib together.   *
58   *   * It combines features from both the standard Proxy
59   * By now we inherit from the PageWidget, but this has   * and the TransparentProxy adding some Adapter features.
60   * to be broken using the ProxyPattern or s.th.l.th.   *
61   * I guess we'll have to dispatch to arbitrary concrete   * @name DesignPattern::AdapterProxy
62   * Page-implementations here in future...   * @subpackage DesignPattern
63     * @package org.netfrag.glib
64     *
65     * @link http://www.gnu.org/licenses/lgpl.txt
66     * @license GNU LGPL (GNU Lesser General Public License)
67   *   *
68     * @link http://www.netfrag.org/~joko/
69     * @copyright (c) 2003 - All Rights reserved.
70   * @author Andreas Motl <andreas.motl@ilo.de>   * @author Andreas Motl <andreas.motl@ilo.de>
71   * @package phpHtmlLib   *
72   * @module MVCPage   * @todo Learn TransparentProxy to do procedural calls ... <br>
73     * ... instead of instantiating a component and even less code could be in here<br>
74     * benefit: the TransparentProxy would be become even more powerful
75     * eeäähhh, to the master Proxy it goes......!!! This one calls the handler(s)!
76   *   *
77   */   */
   
 /**  
  * Make sure we have the required parent class  
  */  
   
 //class Site_WebPageMVC extends PageWidget {  
 //loadModule('DesignPattern::MVC');  
   
 //require_once($phphtmllib."/widgets/PageWidget.inc");  
   
   
 // TODO: Learn TransparentProxy to do procedural calls instead  
 // of instantiating a component and even less code could be in here.....  
 // benefit: the TransparentProxy would be become even more powerful  
 // eeäähhh, to the master Proxy it goes......!!! This one calls the handler(s)!  
   
   
 //class Site_Adapter_php_Class {  
 //class Site_Adapter_php_IncludeFile extends GenericDataWidget {  
78  class DesignPattern_AdapterProxy extends DesignPattern_TransparentProxy {  class DesignPattern_AdapterProxy extends DesignPattern_TransparentProxy {
79    
80    var $_adapter;    var $_adapter;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.8

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