[cvs] [Wiki] changed: InstantiateApplicationObjectRefactoring
Jason Felice
jfelice at cronosys.com
Tue Aug 15 11:22:16 PDT 2006
eraserhd Tue, 15 Aug 2006 11:22:16 -0700
Modified page: http://wiki.horde.org/InstantiateApplicationObjectRefactoring
New Revision: 1.1
Change log: +TODO
@@ -32,5 +32,13 @@
When application class gets too heavy to work with, you can use ExtractClass and/or MoveMethod to split up responsibilities.
Ideally, we will eventually end up with an application object which takes all configuration as constructor parameters, does all of the application's work (probably most via delegation - FacadePattern), but does not contain any UI code. Ideal for use from command-line scripts and unit tests.
+
+++ TODO
+
+# Open discussion from Horde developers
+# Check for core developer support for this pattern.
+# When/how to write tests and run tests for this refactoring?
+# "Motivation" section needs some work.
+# ...
More information about the cvs
mailing list