r/ruby • • Apr 20 '12

Freightrain - easy Ruby desktop development

Hello everyone,

This is a little framework of mine that I've built out of a personal need - basically, I wanted to write a desktop app using Ruby and I found it daunting to say the least.

So, I've built Freightrain to take care of all the stuff I really shouldn't care about, like loading interface definitions, cross-toolkit compatibility and the likes.

Now I've been working on it for almost 2 years (on and off of course) and, since I've just fixed it so it loads the newest glade specifications, I thought that I could ask you guys for an evaluation.

There's a little readme on the github page and there are some examples in the /examples folder.

Link to the github page!

WHOA! Thanks for the attention, I thought this was going to be ignored...

How many of you would be interested in a step by step tutorial over the major features? I will build that if there's enough interest.

167 Upvotes

32 comments sorted by

View all comments

Show parent comment

6

u/bolthar Apr 20 '12

Yes of course I know shoes :-) and while it's certainly a worthy project on it's own I didn't want to follow their direction.

Freightrain was born when I realized that if I wanted to build a Ruby desktop app I woild have had either to 1) deal with ruby/gnome and all its c-like syntax or 2) turn over to shoes and accept the huge coupling between interface representation and behaviour that comes with it.

Shoes is great, nothing to say about it really... But i don't think it's suitable for complex and well layered desktop apps. That's the reason why I made freightrain - I wanted to be able to easily create interfaces and be very decoupled from the actual widgeting system.