views:

153

answers:

1

Do you know of any serious and clean, (by clean I mean rails like) mvc based ruby GUI application with GTK.

Actually, if there are any ruby gui applications that are clean and mvc based, I would be delighted, no matter what toolkit.

What I am looking for are basically some good open source apps, where I can look at the code, for inspiration and instruction.

A: 

You should check out this gem: Rugui. From the homepage:

RuGUI is a framework which aims to help building desktop applications. RuGUI was mostly inspired by the Ruby on Rails framework, taking most of its features from it.

RuGUI approach is to provide a MVC design for the application, separating business logic from application presentation, making it easy to maintain and evolve the application.

I've been experimenting with it - so no expert on RuGUI - but happy using it. The developers are open for improvement. It supports unit-testing and rspec (with basic support for gui-testing, a few days after asking them).

It only lacks good documentation, but if you know your way around in Gtk it's easy to catch up.

Check out these blogposts:

davidbe
It seems to as if there are only two small and simple example applications publicly available to show what rugui does. Not yet convincing.
genericus666