SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Hybrid View

  1. #1
    SitePoint Zealot superjacent's Avatar
    Join Date
    Jun 2007
    Location
    Melbourne, Australia.
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ruby - GUI - Desktop Programming - Tools required

    I dabbled in Ruby quite a while ago but only at the console level. I didn't take it any further at the time. I'm now considering treating it more seriously this time, though I'd have to start from the start.

    My understanding is that Ruby is a cross-platform development language. What I'm wanting to do is develop desktop GUI applications using Ruby. My primary operating system is Windows Vista. Applications will be database front ends and in that regard I'm comfortable with MySql.

    What are the preferred/best combination of toolsets required to develop cross-platform (Windows, Linux & Mac) GUI applications. By toolsets I mean, editors GUI packages etc.

    ps. I'm aware of RoR but the thrust of this thread is desktop GUI programming.
    Last edited by superjacent; Apr 4, 2009 at 21:28. Reason: spelling in title

  2. #2
    SitePoint Zealot superjacent's Avatar
    Join Date
    Jun 2007
    Location
    Melbourne, Australia.
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My research so far as regards the GUI side of things has led me to wxRuby and FXRuby. I'm sort of edging towards wxRuby.

  3. #3
    SitePoint Member
    Join Date
    Apr 2009
    Location
    Australia
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What about shoes from "Why"?

    Also, I'm part of the iHate Utu Client team which provides convenient Java GUI wrappings for Ruby called Profligacy.

    If you don't like non-native widgets via jruby + swing then check out jruby + SWT. IIRC there's quite a few Ruby bindings for SWT.

  4. #4
    SitePoint Zealot superjacent's Avatar
    Join Date
    Jun 2007
    Location
    Melbourne, Australia.
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by alexpooley View Post
    What about shoes from "Why"?

    Also, I'm part of the iHate Utu Client team which provides convenient Java GUI wrappings for Ruby called Profligacy.

    If you don't like non-native widgets via jruby + swing then check out jruby + SWT. IIRC there's quite a few Ruby bindings for SWT.
    Thanks Alex, you've provided quite a bit of information.

    I'm finding that there are a heap of combinations out there. Shoes seems interesting.

    I'm also having a hard time getting my head around the fact that Java is used to run Ruby programs. I always thought, at the low level, they were competing programs; maybe they are and nobody cares.

  5. #5
    SitePoint Evangelist
    Join Date
    Feb 2006
    Location
    Worcs. UK
    Posts
    404
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by superjacent View Post
    I'm also having a hard time getting my head around the fact that Java is used to run Ruby programs. I always thought, at the low level, they were competing programs; maybe they are and nobody cares.
    Ruby doesn't need Java. It will run quite happily without it.

    JRuby is a specially implementation of Ruby that allows Ruby to interact with Java. It is there for those who want to use Java objects in their Ruby code or want to use Ruby in their Java environment.

    There are a lot more useful bits of Java code out there than Ruby code because Java has been out there for so much longer than Ruby and consequently has a much larger user base. JRuby allows you to take advantage of that huge Java code base and still have the splendid Ruby experience.

  6. #6
    SitePoint Addict
    Join Date
    Feb 2007
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Java isn't required for ruby. It (or at least the java VM) *is* required for jruby. Jrubby is a straight-up port of the ruby interpreter to run on top of the JVM.

    Java can get confusing. There's java, the language, and java, the platform. Java, the language, is not at all required for ruby. Java, the platform, can run jruby, the language, and gives jruby, the language, access to java libraries.

  7. #7
    SitePoint Zealot superjacent's Avatar
    Join Date
    Jun 2007
    Location
    Melbourne, Australia.
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Arlen View Post
    Java isn't required for ruby. It (or at least the java VM) *is* required for jruby. Jrubby is a straight-up port of the ruby interpreter to run on top of the JVM.

    Java can get confusing. There's java, the language, and java, the platform. Java, the language, is not at all required for ruby. Java, the platform, can run jruby, the language, and gives jruby, the language, access to java libraries.
    So to clarify, simply, JVM can be considered at the same level as the operating systems, Windows, Linux & Mac. So for all intents and purposes, when downloading Ruby, it's a matter of choosing which version you require, Windows, Linux, Mac or JVM. So most would have a choice between two being JVM and at least one of the others (Windows, Linux or Mac).

  8. #8
    SitePoint Zealot
    Join Date
    Feb 2003
    Location
    Akron, OH, USA
    Posts
    102
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    You may want to check this book out:

    http://www.pragprog.com/titles/ctrub...nt-with-qtruby

  9. #9
    SitePoint Zealot superjacent's Avatar
    Join Date
    Jun 2007
    Location
    Melbourne, Australia.
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by scannon View Post
    You may want to check this book out:

    http://www.pragprog.com/titles/ctrub...nt-with-qtruby
    Thanks, a good reference point. I've bookmarked the page and that page links to a couple of other Ruby programming books.

    In relation to this book, the only downside is that it's Linux & Mac based, no reference to Windows and that apparently it's referring to qt3 when qt4.4 is out. Having said this I'm sure I could work through it.

    Since posting this question I've since purchased a book and downloaded a free pdf book, titles and links haven't got at hand at the moment, will post later with the details.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •