Desktop multi-plataform ruby app

Hail everyone!

This is my first post here. :slight_smile:

I want to develop a desktop app that runs in either linux or windows.
I have many doubts about which GUI i should use. What’s the best option?
I
heard about wxwidgets or tk, but have no idea of what i should use.

I would prefer something that has a graphical app that can help me
creating
the visual part.

Thanks and best regards.

Israel G. wrote:

Hail everyone!

This is my first post here. :slight_smile:

I want to develop a desktop app that runs in either linux or windows.
I have many doubts about which GUI i should use. What’s the best option? I
heard about wxwidgets or tk, but have no idea of what i should use.

I would prefer something that has a graphical app that can help me creating
the visual part.

JRuby + Swing + NetBeans Matisse + MonkeyBars

  • Charlie

Israel G. wrote:

JRuby + Monkeybars + NetBeans GUI editor = Massive Win

http://www.monkeybars.org

Super-easy GUI app development, plus you can use rawr for snap-simple
packaging for multiple platforms.

There is nothing better.


James B.

“Hackers will be expelled”

  • The Breakfast Club (1985)

But guys, maybe im wrong about jruby, but its a ruby interpreter running
in
the jvm isnt it?

So the final app needs a jvm (obviously), am i right?

Just want to make things clear :slight_smile:
It sounds weird at the beginning… hehe

Charles Oliver N. wrote:

I would prefer something that has a graphical app that can help me
creating
the visual part.

JRuby + Swing + NetBeans Matisse + MonkeyBars

  • Charlie

What he said. :slight_smile:

If you have questions, jump on #monkeybars on irc; the Monkeybars squad
is usually about and very happy to answer questions.

There’s also a mailing list, or just write me (or David or Logan)
directly.

HELLLLLOOOOUU

I ´m still seeking for a Ruby on rails developer for a Job in San
Fco…

LAET. Yazmín M. Cárdenas Rubalcaba

Technical Recruiter

Phone 01 800 087 47 87 Ext 257

Local phone 1368 1745 Ext 257

Av. Mariano Otero 3225 Col. Verde Valle

C.P. 44540 Guadalajara, Jal. México

www.pounceconsulting.com

e-mail. [email protected]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yazmin Cardenas wrote:
| HELLLLLOOOOUU
|
| I ´m still seeking for a Ruby on rails developer for a Job in San
Fco…

  1. Thread hijacking doesn’t help with that.

  2. ‘An emergency on your part does not constitute an emergency on my
    part.’


Phillip G.
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ - You know you’ve been hacking too long when…
…your speech is punctuated by finger twitches (or arm-waving)
indicating braces.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhJr/kACgkQbtAgaoJTgL9s3gCfUg3umQVCJEiS+Fs9lFy/2jyx
z/YAn0boGvi5PefYYcvKvM3ynvAcjzb9
=R7By
-----END PGP SIGNATURE-----

Israel G. wrote:

But guys, maybe im wrong about jruby, but its a ruby interpreter running in
the jvm isnt it?

So the final app needs a jvm (obviously), am i right?

Yeah, but that’s a pretty minor requirement. There’s free (as in beer
AND speech) JVMs easily installable on any plaform (including through
the usual packaging mechanisms).

  • Charlie

Indeed.
I was thinking about the efficiency.

The question would be: If i will use a JVM, is it worth using an
interpreter
running on another interpreter just because i want to program in ruby?

It’s probabily ok for small and non processing demanding apps.
:slight_smile:

On Fri, Jun 6, 2008 at 6:39 PM, Charles Oliver N. <

On Jun 6, 4:44 pm, Phillip G. [email protected]
wrote:

  1. Thread hijacking doesn’t help with that.
    indicating braces.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.8 (MingW32)
    Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org

iEYEARECAAYFAkhJr/kACgkQbtAgaoJTgL9s3gCfUg3umQVCJEiS+Fs9lFy/2jyx
z/YAn0boGvi5PefYYcvKvM3ynvAcjzb9
=R7By
-----END PGP SIGNATURE-----

Is there anything available that does not require JRuby and Swing
(ick, disgusting GUI)

Israel G. wrote:

Indeed.
I was thinking about the efficiency.

The question would be: If i will use a JVM, is it worth using an interpreter
running on another interpreter just because i want to program in ruby?

It’s probabily ok for small and non processing demanding apps.
:slight_smile:

Actually, JRuby may be faster than C Ruby. Not sure if that’s true for
all possible code, but so far I’ve not noticed any issues. And since I
can use any Java lib out there, I’ve saved myself all sort sorts of work
and headaches by avoiding incomplete or non-existent Ruby libs for
some tasks.

My guess is speed of the underlying mechanisms will not be your problem.


James B.

“I can see them saying something like ‘OMG Three Wizards Awesome’”

Where can i get a good tutorial with examples on Monkeybars?

[email protected] wrote:

Is there anything available that does not require JRuby and Swing
(ick, disgusting GUI)

I can’t help you there. There are alternatives for Ruby GUI apps, but I
cannot vouch for their aesthetics.

Swing apps can be skinned. There is much choice. The NetBeans built-in
GUI editor is quite slick.

You’re going to have to decide what trade-offs to make; ease of
development (Monkeybars wins) ease of maintenance (Monkeybars wins),
solid cross-platform support (JRuby (AKA Java) + Swing wins), specific
look-and-feel … well, that’s more a matter of taste.


James B.

“I can see them saying something like ‘OMG Three Wizards Awesome’”

Oki doki!

Will study monkeybars a bit and try to work with it! :slight_smile:

Thanks for tips!

On Fri, Jun 6, 2008 at 4:15 PM, Charles Oliver N. <
[email protected]> wrote:

I would prefer something that has a graphical app that can help me
creating
the visual part.

JRuby + Swing + NetBeans Matisse + MonkeyBars

  • Charlie

Can JRuby coexist with C-Ruby?
Does anyone have any performance numbers of Ruby vs JRuby?
Would any JRuby appl with GUI run on any *NIX server that supports Java?
Is there a drag and drop widgets creation GUI design under JRuby with
Swing?
I think VxRuby or something to that effect is the only GUI environment
that
offers drag/drop widget creation. Not sure though!
Currently I am running Ruby 1.8.7 and on some servers I am playing 1.9.
What
is the equivalent version of JRuby to the latest level of Ruby?
How far behind is JRuby from Ruby (C-Ruby)?
If I am not mistaken, Monkeybars is only an MS/Windows appl, correct?

Thank you

Victor

Israel G. wrote:

Where can i get a good tutorial with examples on Monkeybars?

There are a few screencasts on monkeybars.org that walk you through all
the steps from installation to app creation.

We’re preparing some examples to bundle up with the distro as well.


James B.

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.rubystuff.com - The Ruby Store for Ruby Stuff

Hi james,

i didnt have much time to look at the project. i installed it and i can
say
i have a good first impression.

This weekend i will take a better look at it :slight_smile:

Congratz for the work with it! :slight_smile:

Best regards,

I hardly believe that an interpreter made in java running on a jvm will
be
as fast as a C interpreter.

1 thing could cause that and would be a very bad work made on the CRuby
and
i don’t believe that’s the case.

The truth is that the convenience of the JRuby is ok for most end uses.

On Fri, Jun 6, 2008 at 11:49 PM, Victor R. [email protected]

On Sat, 2008-06-07 at 11:49 +0900, Victor R. wrote:

JRuby + Swing + NetBeans Matisse + MonkeyBars

Can JRuby coexist with C-Ruby?
Does anyone have any performance numbers of Ruby vs JRuby?
Would any JRuby appl with GUI run on any *NIX server that supports Java?
Is there a drag and drop widgets creation GUI design under JRuby with Swing?
I think VxRuby or something to that effect is the only GUI environment that
offers drag/drop widget creation. Not sure though!
Currently I am running Ruby 1.8.7 and on some servers I am playing 1.9. What
is the equivalent version of JRuby to the latest level of Ruby?
How far behind is JRuby from Ruby (C-Ruby)?
If I am not mistaken, Monkeybars is only an MS/Windows appl, correct?

Did you consider using Google before asking other people to do your
research for you? Charles gave you four things to look at. Did you
look at them at all, even for a moment? (Hint: the answers you seek can
be found with a few clicks of the mouse and a little typing.)

Victor R. wrote:

I have many doubts about which GUI i should use. What’s the best option? I

Can JRuby coexist with C-Ruby?

Yes, more or less. There are jruby equivalents of gem, rake, and I
rename them to jgem and jrake so that I don’t accidentally call the
wrong one.

Does anyone have any performance numbers of Ruby vs JRuby?
Would any JRuby appl with GUI run on any *NIX server that supports Java?

Should. If the app bundles up the needed jars (swing, or swingx, for
example) to handle the UI then all the end user needs is a jre.

Is there a drag and drop widgets creation GUI design under JRuby with Swing?

The Matisse GUI editor than comes with NetBeans 6, all free, is great.

I think VxRuby or something to that effect is the only GUI environment that
offers drag/drop widget creation. Not sure though!

You get that from Matisse as well.

Currently I am running Ruby 1.8.7 and on some servers I am playing 1.9. What
is the equivalent version of JRuby to the latest level of Ruby?

Um, 1.8.6, though I think there are some things planned for 1.9 that
are already in JRuby (such as hash.first).

How far behind is JRuby from Ruby (C-Ruby)?

Charlie should answer that one, but people are using it for production
apps.

If I am not mistaken, Monkeybars is only an MS/Windows appl, correct?

Oh, far from it. I develop on Kubuntu, David and Logan are on Macs,
and our main customer is all WinXP.

It really is cross-platform.

Monkeybars is Ruby code that knows how to hook into Swing via JRuby and
wicked use of Java reflection.

Also check out rawr, a tool that helps in packaging and deploying JRuby
apps.

http://gitorious.org/projects/rawr


James B.

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.rubystuff.com - The Ruby Store for Ruby Stuff