I''m new to Ruby, so don''t be too hard on me. Is there a great visual editor for Ruby? Also can Ruby on Rails (RoR) work with any other databases other than the ones listed in the documentation, I need to connect to SQLBase? Can Ruby be used to create standalone Applications (like Java)? If yes, does it create native looking apps? Can it be use in Client-Side and/or Server side web development? Does Ruby have any AJAX components that are part of a WYSIWYG IDE (see first question)? Thanks P.S. It is taking me sometime to get used to how things work in Ruby, but so far it''s a great language!! -- Posted via http://www.ruby-forum.com/.
Mr. Regg asked> I''m new to Ruby, so don''t be too hard on me.The community is much more friendly than most no need to self depreciate.> > Is there a great visual editor for Ruby?For Windows development RadRails gives you a nice IDE for code but a WYSIWYG editor for templates isn''t available. A lot of people think it''s not really needed. You could always generate your HTML markup with your favorite WYSYWIG editor then add the embedded Ruby tags to it later. For *nix you could look at the eclipse plugins for Rails which RadRails stems from (or vice versa). For OSX TextMate is favoured by many. My personal fav is Vim but many find it too terse which I can understand it''s got to be one of the least user friendly editors every written. Note all of these editors don''t really offer much in the way of a Visual editor like say Visual Studio. They''re really text editors on steroids.> > Also can Ruby on Rails (RoR) work with any other databases other than > the ones listed in the documentation, I need to connect to SQLBase?I''m not aware that Gupta is connectable via ActiveRecord (Rails/Ruby object relational mapping layer). Google is your friend.> > Can Ruby be used to create standalone Applications (like Java)?Yes but like Java it needs the runtime and libraries.> If yes, does it create native looking apps?Depends on what "native" means. Ruby defaults to TK but I can''t remember how "native" it looks. I believe there is a version of wxRuby for x-platform GUI development. Try googling for Ruby GUI.> > Can it be use in Client-Side and/or Server side web development?I don''t know of any browser that can directly execute Ruby code but Rails does a fantastic job of wrapping javascript and AJAX to enable rich client side development on the web. Server side it''s all Ruby (''cept the markup templates)> > Does Ruby have any AJAX components that are part of a WYSIWYG > IDE (see > first question)?Answered that yourself, see the first question. No is the short answer, Rails handles AJAX very nicely but you write/create in a text editor. Sorry for that lack of links but google should provide the answers you require in short form. Ross
I''ve just jumped from my "old faithful" vim to RadRails - impression after a few days is that it''s very good. IMHO the power of vim is less important with Ruby/Rails, where the majority of your methods/views tend to be under (say) 20-30 lines long. As far as an "IDE" goes, there isn''t one along the lines of e.g. Visual Studio. However, RadRails + NVU is a combination that I''m very happy with - you "draw" the forms with NVU, then take the HTML/CSS from NVU, move it into Rails views/partials and then edit views/partials/controllers to suit. That''s massively simplifying it, but it''s quite intuitive and extremely productive once you get your head around it. HTH Davee M. On 16/05/06, Regg Mr <spamwhite@cox.net> wrote:> I''m new to Ruby, so don''t be too hard on me. > > Is there a great visual editor for Ruby? > > Also can Ruby on Rails (RoR) work with any other databases other than > the ones listed in the documentation, I need to connect to SQLBase? > > Can Ruby be used to create standalone Applications (like Java)? > If yes, does it create native looking apps? > > Can it be use in Client-Side and/or Server side web development? > > Does Ruby have any AJAX components that are part of a WYSIWYG IDE (see > first question)? > > > Thanks > > P.S. It is taking me sometime to get used to how things work in Ruby, > but so far it''s a great language!! > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
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/ |
And what might NVU be? :) -Nb On 5/15/06 11:44 PM, "David Mitchell" <monch1962@gmail.com> wrote:> I''ve just jumped from my "old faithful" vim to RadRails - impression > after a few days is that it''s very good. IMHO the power of vim is > less important with Ruby/Rails, where the majority of your > methods/views tend to be under (say) 20-30 lines long. > > As far as an "IDE" goes, there isn''t one along the lines of e.g. > Visual Studio. However, RadRails + NVU is a combination that I''m very > happy with - you "draw" the forms with NVU, then take the HTML/CSS > from NVU, move it into Rails views/partials and then edit > views/partials/controllers to suit. That''s massively simplifying it, > but it''s quite intuitive and extremely productive once you get your > head around it. > > HTH > > Davee M. > > On 16/05/06, Regg Mr <spamwhite@cox.net> wrote: >> I''m new to Ruby, so don''t be too hard on me. >> >> Is there a great visual editor for Ruby? >> >> Also can Ruby on Rails (RoR) work with any other databases other than >> the ones listed in the documentation, I need to connect to SQLBase? >> >> Can Ruby be used to create standalone Applications (like Java)? >> If yes, does it create native looking apps? >> >> Can it be use in Client-Side and/or Server side web development? >> >> Does Ruby have any AJAX components that are part of a WYSIWYG IDE (see >> first question)? >> >> >> Thanks >> >> P.S. It is taking me sometime to get used to how things work in Ruby, >> but so far it''s a great language!! >> >> >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Nathaniel S. H. Brown? ? ?? ??? ?? ?? ?? ?? ?http://nshb.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nathaniel Brown wrote:> And what might NVU be? :)http://www.google.com/search?q=nvu
I use RadRails and it has served me admirably so far though you don''t really NEED an IDE for Rails, but it''s useful. I use SCITE for non-Rails Ruby work, which is bundled along with the Ruby installer I used (I forgot which one) and that''s the best I''ve used so far, but I''ve only done Ruby dev on Windows. Ruby can be used to create both client side and server side apps -- in Projectible (http://www.projectible.com) the backend is done with Rails while the front-end Windows app is a Ruby app done with FxRuby. The Projectible client is a standalone Windows application, but it doesn''t have a native look-and-feel. While some other widget toolkit can do that, really native stuff on Windows can be done through COM using the Win32 module. Regg Mr wrote:> I''m new to Ruby, so don''t be too hard on me. > > Is there a great visual editor for Ruby? > > Also can Ruby on Rails (RoR) work with any other databases other than > the ones listed in the documentation, I need to connect to SQLBase? > > Can Ruby be used to create standalone Applications (like Java)? > If yes, does it create native looking apps? > > Can it be use in Client-Side and/or Server side web development? > > Does Ruby have any AJAX components that are part of a WYSIWYG IDE (see > first question)? > > > Thanks > > P.S. It is taking me sometime to get used to how things work in Ruby, > but so far it''s a great language!! > > >-- Sau Sheong http://blog.saush.com http://www.projectible.com http://jaccal.sourceforge.net
After my experience wtih a lot of .NET guys at my work environment, GUI editors tend to make crappy code. e.g. visual studio not allowing an element to have a class *and* and id out of the box. creating ids that are 30 characters long for no good reason. I am a firm believer that the best way to learn all of this stuff is to just type by hand over and over again. HTML, Ruby, Rails standard constructs, etc. The more you do it, the better you''ll be and the better understanding you''ll have of it. GUI editors tend to create a crutch in my experience and they limit the user more so than enable them. Ruby can be used for anything. If there''s not a DB connector already written, I would anticipate it would take a new user a few weeks to figure out how to get them talking on the back end. There are probably other users with a similar need. Ruby can be compiled. It''s not like a .jar tho. Rails has the AJAX components. Rails is built with ruby (it''s a framework). On May 16, 2006, at 1:54 AM, Regg Mr wrote:> I''m new to Ruby, so don''t be too hard on me. > > Is there a great visual editor for Ruby? > > Also can Ruby on Rails (RoR) work with any other databases other than > the ones listed in the documentation, I need to connect to SQLBase? > > Can Ruby be used to create standalone Applications (like Java)? > If yes, does it create native looking apps? > > Can it be use in Client-Side and/or Server side web development? > > Does Ruby have any AJAX components that are part of a WYSIWYG IDE (see > first question)? > > > Thanks > > P.S. It is taking me sometime to get used to how things work in > Ruby, > but so far it''s a great language!! > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- John Athayde bobo@meticulous.com Meticulous | www.meticulous.com (work) Rotoscope | www.rotoscope.com (sound: rock band) Boboroshi & Kynz | www.boboroshiandkynz.com (sound: electronic) Personal Weblog | www.boboroshi.com (play) "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin (1706-1790) Reply of the Pennsylvania Assembly to the Governor November 11, 1755 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060517/5b7764ce/attachment-0001.html