Recently a nice blog was written about using CoffeeScript to build Titanium apps: http://rigelgroupllc.com/wp/blog/building-iphone-apps-with-titanium-and-coffeescript
It would be interesting if there are a lot of people using it this way… Anybody built anything more than a toy app with CoffeeScript? Does anybody think it should be a built-in option in Titanium?
At the moment there are two problems with CoffeeScript:
- It's mostly for non-Windows use (it requires node.js, which is not windows friendly).
- It unfortunately forces developers to use the python style code blocks.
We have also found that using CoffeeScript to write reusable widgets works great, for example we have an HTTPClient wrapper that is backed by a local database cache, which is easily packaged and used in many different projects of ours. We plan on putting up another blog post about that soon, with the code.
This is great! I am greatly interested in the 'HTTPClient wrapper that is backed by a local database cache' blog, if it is published.
Also, I believe John's post about the caching HTTPClient wrapper is now up here.