I have 2 questions about Mixin vs. static classes:

I have a couple of utilities which needs to get accessed from various
classes. Currently I put the utilities in a Mixin and included the mixin in
the classes which need access to the utilities.

Now I was wondering, if that's the *recommended* or most efficient way? It
is much less to type (i.e. this.prepareImage vs.
myApp.utilities.prepareImage() ).

Same question applies for localization:

var btn1 = new qx.ui.form.Button(language.model.strings.firstbutton);

vs.

var btn1 = this.getString_firstbutton();

Any recommendations? (I couldn't find example code throughout the web)

andy




------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to