Regg Mr wrote:
Is there a great visual editor for Ruby?
I am personal quite against IDEs. To write HTML I have always preferred
a good text editor (with HTML facilities). On the Mac you can consider
BBEdit or TextMate (but since TM has a lot of facilities to work with
Rails, I would consider it directly).
HTML is not that hard and writing by hand (of course aided by the
editor, if you want to) gives you a great amount of control and it is
likely that you will produce cleaner code.
I’m speaking about HTML since you will be working with “rhtml”, that is
to say HTML with embedded ruby. Something a good text editor manages
easily.
I would not advise any IDE/Visual Editor. Unless it is fully
rails-aware, you would miss the best from rails.
For example it quite common to define “partials”. For example in a
single file you can define the way a post/message/customer/whatever is
presented, and then where you need to show it, you call the partial.
It is something similar to define a function and recall it from a
conceptual point of view. This way of working simplifies mantainance and
makes you write less code.
And it is something you would not use with a Visual Editor, I’m afraid.
Can Ruby be used to create standalone Applications (like Java)?
If yes, does it create native looking apps?
Yes, but it is not a matter of Rails. “native looking apps” depends on
the OS: I know for sure that with MacOS X you can use the RubyCocoa
binding (and you get native looking apps).
In the *nix world there is plenty of toolkits that can be used with Ruby
(qt and gtk2 just to name two). Again they are “native looking”.
And then you can use cross-platform toolkits like wx (well qt and gtk
are quite cross-platform too, but that’s another story). And they look
quite good.
I don’t work on windows, but I suppose that since you can call Windows
API, you should be able to use its native graphical system. However you
should get good looking apps using wx or gtk, too.
–
blog: http://www.akropolix.net/rik0/blogs |
site: http://www.akropolix.net/rik0/ |
forum: http://www.akropolix.net/forum/ |