Recently I’ve been working on a Ruby GUI framework called Bowline.
Bowline is built on top of Titanium, a desktop SDK which essentially provides a Webkit window (and loads of useful APIs). The fact that Titanium uses Webkit (and a fairly edge version at that) means that you can take advantage of all those nice CSS3 and HTML5 features, and you can design for one browser.
On top of Titanium, Bowline provides:
- A way of binding up Ruby and HTML
- MVC development
- Helpers, Models etc
- Gem packaging
- Generators, console & more
In a desktop app you don’t have the request/response cycle that web frameworks, like Rails, are built around. So, to replace that, Bowline has the idea of ‘Binders’ – Ruby classes that you can bind HTML to – so when the Ruby class changes, the HTML automatically updates.
Using Titanium’s Developer tool, you can package your applications up for all three OSes, it’ll be sent up to the cloud and built.
Twitter clients are truly the new ‘Hello World’.
It’s early days for both Bowline and Titanium, but progress is quick and I hope we’ll have a fully fledged desktop framework soon.
Enjoy this article?
Consider subscribing to our RSS feed!