In my search for a UI framework that would allow me to build a desktop like 
application, Qooxdoo seemed one of the most promising ones. However since my 
project (CATS, an IDE for TypeScript)) is written in TypeScript, I first wanted 
to make sure it could effectively be used from TypeScript. 

So I generated a declaration file for the Qooxdoo ui widgets and its 
dependencies (I did find one already on github but that was outdated and didn’t 
provide me the details I needed). I also tried to remove the dependencies on 
the generate tooling by including all the widgets already in the project. So 
you can use this project without having to install the Qooxdoo library or 
tooling.

Still a lot of things can be improved and I want to also evaluate a few things. 
But I already put this version on Github in case anyone wants to give it a try 
or find it remotely useful (there is a small demo app included that shows how 
it can be used). 

You can find it at: https://github.com/jbaron/qx-typed


Things still to be done:

1) Infer types based on the "var pattern” used by Qooxdoo. A lot of methods 
refer to a property that is typed. However the method itself is untyped (var) 
and right now mapped to any
2) Include typed events since TypeScript does support this nicely. 
3) Have some more test code, so I can easily see what still has to be manually 
changed to the qooxdoo.d.ts file for the test code to be compiled correctly. 
For example Qooxdoo doesn’t always correctly flag parameters as optional (or I 
am making some mistakes ;)

BTW also planning to put the generator on github that I used to generate this 
qooxdoo.d.ts file after I cleaned up some of the code. However also found out 
that there are many cases where the documentation (API) is not 100% correct and 
some small manual changes are required to make regular code pass TypeScript 
checks. Not sure if anyone is interested in this or not ?

— Peter
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to