Bowline: An MVC Framework for GUI Apps in Ruby

In Miscellaneous

bowlineBowline is a new MVC GUI framework for developing cross-platform desktop applications using Ruby, HTML, CSS and Javascript. The author, Alex MacCaw, aims to make building a desktop app as simple as creating a Rails site.

Unlike pure Ruby desktop libraries like Shoes, Bowline builds on Appcelerator Titanium, an SDK for building desktop apps that basically gives you a Webkit window and a set of APIs for interacting with various operating systems. This lets you develop for the desktop using familiar web technologies, including CSS3 and HTML5 (think Adobe Air!).

To allow your Ruby code to interact with your HTML, Bowline introduces the concept of "binders" which can update your views as the underlying data changes (a bit like controllers in Rails). Bowline also includes other ideas analogous to parts of the Rails framework, such as generators, helpers and models.

In this blog post Alex MacCaw shows off a simple Twitter client he built using Bowline - you can download it and continue to play on your own if you like. Nice work!

Support from: New Bamboo - London's leading Ruby consultancy is looking for an experienced developer to join their team. Click here to learn more about the position.

Vaguely Related Posts (Usually)

3 Comment Responses to “Bowline: An MVC Framework for GUI Apps in Ruby”

  1. #1
    Brendan Says:

    This is so awesmoe. I can't wait to play with it first thing tomorrow.

  2. #2
    A developers life Says:

    Bowline on Windows with different Titanium Version...

    This stuff was tested on Vista but should also work on XP.
    Two problems are solved in this article:

    Install bowline on another OS then it was developed on
    Run bowline with another version of Titanium Desktop then it was developed on

    Bowline was devel...

  3. #3
    Tobias Braner Says:

    Yes, really aweseome. But on windows you get in serious problems which are solved in this post: http://tobiasbraner.de/blog/?p=20