File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ruby and the fly likes Info on JQuery/ Dojo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Info on JQuery/ Dojo" Watch "Info on JQuery/ Dojo" New topic

Info on JQuery/ Dojo

Vilpesh Mistry
Ranch Hand

Joined: May 27, 2003
Posts: 62

Hi all,

A] Which of the javascript frameworks is the best supported from RubyOnRails ?
1> JQuery.
2> Dojo.

B] Which one out of the JQuery and Dojo can be used for complex javascript DOM manipulation.

Is their any other framework other than above specified best to use while developing in RubyOnRails.


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

A. Yes
B. Yes

In other words, both are suitable.

Of the two, jQuery seems to be the most popular, so if you want the one with best support in forums and the most people with general knowledge of it, jQuery is the way to go.

[Asking smart questions] [About Bear] [Books by Bear]
David Newton

Joined: Sep 29, 2008
Posts: 12617

Prototype is the default RoR JavaScript framework, but either works fine. There's zero built-in support for Dojo, and I'm not sure if there are any plugins for it.
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
+1 for jQuery

Spritle Software Blogs
I agree. Here's the link:
subject: Info on JQuery/ Dojo
It's not a secret anymore!