Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Bowline: An MVC Framework for GUI Apps in Ruby

By Ric Roberts / August 6, 2009

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!

Comments

  1. Brendan says:

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

  2. Pingback: A developers life

  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

Other Posts to Enjoy

Twitter Mentions