472,093 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,093 software developers and data experts.

Ruby and GUI programming (Easiest Setup)

I'm relatively new to Ruby and I'm totally confused as to what the best/easiest setup is. What I want to do is write GUI programs and in particular convert a RealBasic program (that I wrote) that accesses and manipulates MySql databases. I'm a Windows Vista user.

Coming from RealBasic everything was contained in the one program so there wasn't any confusing decisions to make as regards GUI librabry, editor etc.

Could somebody list or itemise in simple terms what components are required in order to create a Ruby GUI program.

Thanks in advance.
Oct 5 '07 #1
3 6614
4,677 Expert Mod 4TB
I think a Google Search would be the best place to start out.
Oct 9 '07 #2
This might be a good place to start...
Oct 10 '07 #3
I would recommend the Ruby Cookbook.
Its got a nice writeup on various gui options.
Of course what I did was a bit different.

I decided to go fully "rails".

Here's what I've done, and have never looked back.

Assuming your on windows
1. Aptana - IDE For Rails - Need to add the rails plugin
2. active_scaffold - This gives you nice "gui" screens - (Views in RAILS Terms)
3. mysql - Just make sure your tables have "ID" in the beginning
4. For each table you need a "controller", which can be three lines, and a model
5. The model specs the relationship of your tables.
6. There's a separate "plugin" that can convert the whole into a exe if you wish.

In a few weeks I've done a application with 50 tables. :)
I now have my own generators for RAILS that create active_scaffold based controllers, and basic model files, even updates my "menu" file using

And on top of that I did conversion from Pervasive and DBASE tables, with cleanup of the data.
Oct 17 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by Useko Netsumi | last post: by
220 posts views Thread by Brandon J. Van Every | last post: by
54 posts views Thread by Brandon J. Van Every | last post: by
77 posts views Thread by Hunn E. Balsiche | last post: by
10 posts views Thread by Neal | last post: by
65 posts views Thread by Amol Vaidya | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.