> 1. Can I use CoffeeScript for your qooxdoo project?
> 
> I guess yes. As you correctly wrote Coffesecript is a translator that 
> translates CoffeeScript code to JavaScript. All you have to do is to 
> write CoffeeScript in such a way that valid qooxdoo code is produced 
> (shouldn't be too hard).

One additional note: You should be aware that the syntax sugar added in 
CoffeeScript for using pseudo classical inheritance (class, extends) is not the 
same as qooxdoo's class mechanism. You must use qx.Class.define or pretty much 
everything breaks. It might be obvious, but I figured I point it out just to be 
on the safe side. 

Moreover, by default the JavaScript code compiled from a CoffeeScript file is 
wrapped in a closure (self-invoking function). This might cause issues so its 
best to disable the feature (your code is wrapped in qx.Class.define in any 
case).

Tristan


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to