[EMAIL PROTECTED] writes:
> - qx.core.Init.defineMain(function() {
> + qx.core.Init.getInstance().defineMain(function() {
Sebastian, I've been looking at your numerous recent singleton changes which
affect every application and developer of qooxdoo. You are adding levels of
indirection that are entirely superfluous, for the sole purpose, it seems, of
making it more difficult for the developer to use qooxdoo. We should be
providing ways to REDUCE the number of internal class references needed to be
known by the user, not INCREASE them as you're doing.
Instead of changing from
qx.core.Init.defineMain()
to
qx.core.Init.getIntance().defineMain()
if we're going to make a change at all, it should be something more towards
qx.defineMain()
not the other way around as you've done.
Similarly for all (hundreds?) of the other classes that you changed to add a
requirement for a getInstance() call.
I don't believe that there was anything wrong with the previous method of
creating singletons, and it was much easier for the user to work with than
having to call getInstance() each time. In fact, there's no reason for the
user to even have to know, in many (most?) cases, that he's working with a
singleton.
PLEASE, PLEASE, PLEASE "discuss" before "doing". Big changes like this should
not be a one-person decision, particularly when it effects each and every
qooxdoo application and developer like this does.
Developers, please chime in here. If you all think that these changes are
"good", "useful" and/or "necessary", say so. If you think that this is going
in the wrong direction, we need to hear that too. Maybe I'm not speaking for
the community, so let's hear from y'all.
Cheers,
Derrell
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel