[cvs] [Wiki] changed: RemoveGlobals

Jason Felice jfelice at cronosys.com
Tue Aug 15 11:00:43 PDT 2006


eraserhd  Tue, 15 Aug 2006 11:00:43 -0700

Modified page: http://wiki.horde.org/RemoveGlobals
New Revision:  1.1
Change log:  make InstantiateApplicationObject separate page

@@ -1,10 +1,9 @@
-
  This should be a general landing page for thoughts on and debate about removing globals.
  
  Should we refactor to remove all global variables and other couplings with global state ($_SESSION, $_REQUEST, singleton pattern, etc)?  We can do this by:
  
  * Encapsulting request in a request object
  * //Instantiate// master Horde object (e.g. {{$horde = new Horde($config);}})
-* //Instantiate// application object (e.g. {{$app = new Turba($horde,$config);}})
+* InstantiateApplicationObjectRefactoring
  * Page handling become method object (e.g. {{$page = new Turba_BrowsePage($app, $request); $page->execute();}})
  


More information about the cvs mailing list