Confirm My Ruby/GUI investigation?

W

Wesley Rishel

I have been reviewing the copious old threads (and the various cited web
sites) on this topic from the point of view of my needs. I think I have
some conclusions and am hoping that some of you with actual experience
can tell me if I'm on the right track.

My needs:
a) I write small programs in Ruby for personal convenience, and the fun
of being a do-it-yourselfer. I have programmed professtionally, but that
was many moons ago.

b) I am not interested in a long learning curve. I would like a WSYWIG
dialogue editor, but not at the expense of a package that would weeks to
become productive. Weeks of programming time takes months for a
hobbyist.

c) cheap is required; free is better. I would probably pop for $100 but
nothing like Qt.

d) my target OS is Windows

e) huge footprint not acceptable; I do most of my hobby programming on a
company-owned laptop, not set up as a development machine.

f) I don't have a C++ compiler and am hoping not to have compile
anything to install.

g) I can get by with bread and butter UIs rather than baked Alaska. I do
want to be able to draw a graph once in awhile.

conclusions
-----------
Qt costs about $2K. It has a rich library of widgets and someday I will
wish I had them. I can't tell how steep the learning curve is, but for
most systems the more bells and whistles the longer it takes to get out
of the station.

Tk is the old reliable, definitely bread maybe butter. I know Python so
I can probably read the Python/TL documentation. Tk now adopts the
windows management of the host, so the GUI I develop would have the same
look and feel as other apps.

wXruby probably assumes that you know the Windows API, which I don't.

Shoes looks like fun, but it would be premature for a duffer like me to
use it ... not enough documentation and patient support for dumb
questions yet.
 
T

Thomas Adam

Hi --

I have been reviewing the copious old threads (and the various cited web
sites) on this topic from the point of view of my needs. I think I have
some conclusions and am hoping that some of you with actual experience
can tell me if I'm on the right track.

This has been discussed so many times before.

[...]
Tk is the old reliable, definitely bread maybe butter. I know Python so
I can probably read the Python/TL documentation. Tk now adopts the
windows management of the host, so the GUI I develop would have the same
look and feel as other apps.

And it is thus Tk which I would *still* recommend since it's shipped
as part of Ruby as well.

-- Thomas Adam
 
J

Joe

If you really want to use Qt and don't mind giving your software away
you can just release your software under the GPL. IIRC, they allow
GPL'd projects to use Qt for free.

Joe
 
J

Jari Williamsson

Wesley said:
wXruby probably assumes that you know the Windows API, which I don't.

Not at all. wxRuby is a platform-independent GUI based on wxWidgets.


Best regards,

Jari Williamsson
 
W

Wesley Rishel

Thomas said:
This has been discussed so many times before.

Thanks for the reminder ... this is why I made a point of reviewing the
prior discussions first and only imposing on the forum to clarify what
remained unclear.
[...]

And it is thus Tk which I would *still* recommend since it's shipped
as part of Ruby as well.

Actually, this is not the case for the Windows distribution. You must
remove Ruby, install Tk, and then reinstall Ruby in order to use Tk with
Ruby.
 
K

kidko

*snip*
Qt costs about $2K. It has a rich library of widgets and someday I will
wish I had them. I can't tell how steep the learning curve is, but for
most systems the more bells and whistles the longer it takes to get out
of the station.

Actually, it doesn't have to. A free version is available under the
GNU license, with the catch being no official Trolltech support
(outside of the widget documentation).
wXruby probably assumes that you know the Windows API, which I don't.

Don't worry, you don't need to know the API. wxWidgets, which (at
least in the C++ implementations I've seen) programs close to the same
as Qt, is used in wxRuby. The learning curve is probably as steep as
Qt's, though.
 
M

Marc Heiler

To be honest... your requirements are too hard to meet.

Maybe for these requirements, Tk really wins. Its almost as if
these requirements are head-tailored in favour of Tk! :)
 
M

Mohit Sindhwani

Wesley said:
I have been reviewing the copious old threads (and the various cited web
sites) on this topic from the point of view of my needs. I think I have
some conclusions and am hoping that some of you with actual experience
can tell me if I'm on the right track.

My needs:
a) I write small programs in Ruby for personal convenience, and the fun
of being a do-it-yourselfer. I have programmed professtionally, but that
was many moons ago.

b) I am not interested in a long learning curve. I would like a WSYWIG
dialogue editor, but not at the expense of a package that would weeks to
become productive. Weeks of programming time takes months for a
hobbyist.

c) cheap is required; free is better. I would probably pop for $100 but
nothing like Qt.

d) my target OS is Windows

e) huge footprint not acceptable; I do most of my hobby programming on a
company-owned laptop, not set up as a development machine.

f) I don't have a C++ compiler and am hoping not to have compile
anything to install.

g) I can get by with bread and butter UIs rather than baked Alaska. I do
want to be able to draw a graph once in awhile.

If direct support (specifically from _this_ forum) is less of an issue,
you could consider WideStudio.
* It has a Visual Basic/ Borland Delphi style Project manager window
that lets you draw your dialogs.
* You can get a binary for Windows - no need for
* It does the wiring between events and invoking certain portions of code
* Not sure about the graphs.. but I guess it has something like a canvas
* The footprint is a bit of a concern. The directory with everything
installed takes about 400MB (you could selectively remove things you
don't need - like its own install of Ruby, Python, Perl, etc.) However,
I have it running a very simple project for Ruby and it actually says it
needs only about 10MB.
* It's free (and if it matters, open source)

Negatives:
* There's no real built-in code editor
* You'll need to read the online guide:
http://www.widestudio.org/EE/prog-ruby/prog.html to see what is possible.

Note that the projects you create will need to link with WideStudio's
DLLs for accessing the OS native widgets, etc.

http://www.widestudio.org/

Cheers
Mohit.
 
J

Joshua Schairbaum

If direct support (specifically from _this_ forum) is less of an
issue, you could consider WideStudio. * It has a Visual Basic/
Borland Delphi style Project manager window that lets you draw your
dialogs. * You can get a binary for Windows - no need for
* It does the wiring between events and invoking certain portions
of code
* Not sure about the graphs.. but I guess it has something like a
canvas
* The footprint is a bit of a concern. The directory with
everything installed takes about 400MB (you could selectively
remove things you don't need - like its own install of Ruby,
Python, Perl, etc.) However, I have it running a very simple
project for Ruby and it actually says it needs only about 10MB.
* It's free (and if it matters, open source)

Negatives:
* There's no real built-in code editor
* You'll need to read the online guide: http://www.widestudio.org/
EE/prog-ruby/prog.html to see what is possible.

Note that the projects you create will need to link with
WideStudio's DLLs for accessing the OS native widgets, etc.

http://www.widestudio.org/

Cheers
Mohit.

You might want to investigate _why's Shoes libraries.

Works on Windows, Linux and Mac OS X.

http://code.whytheluckystiff.net/shoes
 
W

Wesley Rishel

Joshua said:
You might want to investigate _why's Shoes libraries.

Works on Windows, Linux and Mac OS X.

http://code.whytheluckystiff.net/shoes

Thanks, I looked at Shoes and had the impression that it is "not soup
yet," in the sense that a duffer like me would not be in a position to
overcome the rough edges of an early effort -- and there is not enough
usage yet for a broad support community.

I would be delighted to learn that my initial impression was long,
because Shoes certainly looks neat.

Tkl appears to be the other end of the spectrum. Everybody "used to use
it." Some of the best books appear to be 10 years old -- a remarkable
thing if true.
 
J

Joshua Schairbaum

Thanks, I looked at Shoes and had the impression that it is "not soup
yet," in the sense that a duffer like me would not be in a position to
overcome the rough edges of an early effort -- and there is not enough
usage yet for a broad support community.

I would be delighted to learn that my initial impression was long,
because Shoes certainly looks neat.

I don't work for _why :), but if you purchase the "Nobody Knows
Shoes" book, I would think even a neophyte could do some reasonably
cool things with it. If you've worked with some Ruby before, then
you could definitely work it out. I suppose it depends on your use,
if you're just playing around, I'd definitely check it out.
 
W

Wesley Rishel

Joshua said:
On Dec 18, 2007, at 1:19 PM, Wesley Rishel wrote:
I don't work for _why :), but if you purchase the "Nobody Knows
Shoes" book, I would think even a neophyte could do some reasonably
cool things with it. If you've worked with some Ruby before, then
you could definitely work it out. I suppose it depends on your use,
if you're just playing around, I'd definitely check it out.

Thanks. If you have tried Shoes, could you contact me off line for a
short conversation?

wes.rishel [insert the usual circular character here] gartner.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

How do I solidify my Python skills 1
Confirm from code behind 0
I need help fixing my website 2
The Ruby GUI debacle 38
My Introduction 1
My Introduction! 1
Customized GUI 11
Help with my responsive home page 2

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top