views:

651

answers:

6

I'm looking for a desktop application framework similar to Rails:

  • Good ORM

  • MVC

  • Default directory structure

  • View Helpers/DSL

  • Elegant

  • Open Source

  • Fun language

  • Decently mature

+4  A: 

Have you checked out Shoes?

Mike Buckbee
http://unixmonkey.net/?p=27 shows us how to CRUD with shoes.
jrhicks
With _why's disappearance; I've found this page (http://wiki.github.com/shoes/shoes) to be helpfull
jrhicks
+1  A: 

There is also Bowline. It was mentioned in ruby inside blog recently. I haven't tried it. Tried Shoes though. It is very simple.

There is another one called Anvil. Anvil is a MVC framework that wants to be equivalent to rails for GUI development. It is based on wxruby. Which makes me want to try it.

vulcan_hacker
I've stumbled across these also. Bowline is currently having Thread issues. Anvil was very inspirational yet incomplete. I eventually got frustrated with hacking it because of wxruby. Along these lines, there is also ruby-reactive. Thx
jrhicks
+1  A: 

I've personally ended up using Swing/SWT + JRuby. The Java cross-platform GUI libraries are just light-years ahead because they're used for IDEs, which are about the most demanding application you can have for a GUI toolkit. It's nowhere near as elegant as Rails is for the web (and I'm no fan of Rails), but in the long run, it's a much better choice than anything based on wxWidgets or GTK or QT. It also gives you the option to drop into Java if you have a particular piece that's running too slow. I wish there were better options, but that's what we've got.

Bob Aman
I've been going that route also so far. I've been using Cheri for the view code, Sequel for the ORM (ActiveRecord), and my own blend of hacks to MVC them together. Most recently I've trying to replace Cheri with an embedded browser. The first embedded browser I found was QWebView (which was available to Java via Jambi). I got QTJruby working, but overall I felt I was bridging to many new technologies and it crashed too often. The next browser I'm going to try and integrate is "DJ Desktop". I also have been considering IronRuby (a little)
jrhicks
+1  A: 

Monkeybars is the main solution I'm aware of, but it's not ideal from the point of view of your bullet list. Its "MVC" isn't really like any other interpretation of MVC that I've come across; it's more a convenience wrapper around Swing. At least, that's the way I use it.

+1  A: 

Check out Griffon, a Grails-like framework for Swing application development that fulfills all your needs.

Pascal Thivent
Very interesting.
jrhicks
+1  A: 

try Rebol, it's got the simplest gui that is out there. an example of a window with one text field, one button "click me" and a label "hello" :-

view layout [ field label "hello" button "click me" ]

or if you want it in multi line

view layout [
field
label "hello"
button "click me"
]

batman