[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Newbie: .Net => Ruby Questions

Dru

3/22/2006 2:47:00 AM

If I am a .Net developer and I want to build a windows GUI I use
System.Windows.Forms . What do I use in ruby?

In .Net there are namespaces. What is the equivilent in Ruby?

What is out there to support Web Services for ruby?

Thanks,

Dru

--
Posted via http://www.ruby-....


4 Answers

Brian.LeRoux

3/22/2006 4:05:00 AM

0

You can use CLR bridge. Just do a search in the archives..

Jeff

3/22/2006 4:31:00 AM

0

Dru wrote:
> If I am a .Net developer and I want to build a windows GUI I use
> System.Windows.Forms . What do I use in ruby?
>
> In .Net there are namespaces. What is the equivilent in Ruby?
>
> What is out there to support Web Services for ruby?
>
> Thanks,
>
> Dru

Hi Dru,

Welcome to the Ruby world! There aren't too many easy choices yet for
doing Ruby on Windows, but you might want to check out John Lam's
project for letting you program against .NET assemblies from within Ruby
code (www.iunknown.com). It's still under development.

Otherwise, people seem to be using other cross-platform GUI libraries
like Tk and Gtk; and I haven't tried it but you can check out
VisualURuby which claims to be an easier GUI library specialize for Ruby
on Windows (http://ruby.codezoo.com/pub/component/5196?ca...).

If you find something that works for you (or not), I'd like to hear
about it.

Jeff
www.softiesonrails.com

--
Posted via http://www.ruby-....


Jeff

3/22/2006 4:34:00 AM

0

Dru wrote:
> In .Net there are namespaces. What is the equivilent in Ruby?
>

Sorry, forgot the answer the 2nd part of your question... Modules are
the equivalent of namespaces. They also serve a 2nd purpose - to
provide mix-in ability - but that's a different story altogether.

http://www.ruby-doc.org/docs/Progra... has a good section on
Modules.

Jeff
www.softiesonrails.com

--
Posted via http://www.ruby-....


Gomix

3/22/2006 11:53:00 AM

0

Dru wrote:
> If I am a .Net developer and I want to build a windows GUI I use
> System.Windows.Forms . What do I use in ruby?

Perhaps GTK is one of the best choices for Windows Ruby GUI.
For Windows u can use Glade/Gtk for Windows to design your interface,
then use the XML files produced by glade in ruby for showing and
manipulate the widgets and connecting to ruby code for events.
If u prefer to start without Glade, u can code Gtk directly in your
ruby programs.

Resources:

http://gladewin32.source...
http://ruby-gnome2.sourc...

Guillermo Gómez S.
Rubyando desde Venezuela