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

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

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