Cross platform desktop apps in Ruby, HTML and JS
bowlineapp.com
bowlineapp.com
They all fall on a spectrum from super specialized, like this project, and full blown browser. If you found this interesting you should also check out.
http://fluidapp.com/ http://fluidium.org/ http://prism.mozillalabs.com/ http://www.adobe.com/products/air/ NativeHost described here: http://cappuccino.org/discuss/2010/05/13/nativehost-run-your...
I really would love to know if there are any other apps like this out their, I am trying to catalog them all. I think containers like these have a big future.
I do think, however, that this is a step in the right direction. In my opinion, GUI apps on Linux are for the most part extremely uninspired, and in spite of popular opinions to the contrary, I still prefer to use a native application in lieu of a web-based one. I think that webkit could be an awesome platform for desktop apps, both in ease of development and quality of finished product.
I don't think that this is quite a big enough step towards that though. For one, it makes the developer write html, css, and javascript. This means that ultimately the applications produced aren't going to really feel native on any platform. Rather, they'll feel like quick web app running in its own window. That's not necessarily a bad thing, but I think it could be better.
In my ideal world, this would be somewhat closer to a traditional widget toolkit, but built on top of webkit. It would still be html and js at its core, but from a developers perspective it would be closer to using something like SproutCore.
As I said though, I can't get it to run properly, so I may be way off base from just looking at the code for the sample applications. I think it may also be possible to get what I'm describing on top of Bowline. There's definitely some potential in this area though, and I'm going to mess with it some more and keep and eye on it.
The basic idea is that you bundle a browser, and then using your programming language of choice, you can create APIs that are available inside JavaScript.
So, you can also probably create functionality in ruby, that can then be accessed in JavaScript.
Eventually I'll integrate it into Bowline so your source code will get compiled automatically.
At any rate, the Bowline site says Windows support is coming soon, so I don't see the problem at all.
Anyone know how soon Windows support is expected to arrive?
Tongue in cheek aside - this would be really cool if it actually ran in a browser. Linking to external content, having resource based URLs, etc - all the good things about web development - are taken away once you leave the browser.
Windows perf suffers because (1) in some rare cases, the needed primitives aren't provided by the kernel, and (2) Windows does some things differently, and Ruby library authors don't have the incentives to design and maintain a separate codepath for Windows.
The issues above don't usually arise in desktop applications. They're seen most often in server code -- fork is missing and that sucks, asynchronous I/O works differently, file monitoring and pipes also work differently, etc.