# Prototype/jquery/yui-ext

**URL:** <https://www.ruby-forum.com/t/prototype-jquery-yui-ext/91776>\
**Category:** Rails\
**Created:** [April 12, 2007, 9:32am UTC](https://www.ruby-forum.com/t/prototype-jquery-yui-ext/91776 "2007-04-12T09:32:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave\_Olsson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b9e5f3/32.png) [@Dave\_Olsson](https://www.ruby-forum.com/u/Dave_Olsson)\
**Post date:** [April 12, 2007, 9:32am UTC](https://www.ruby-forum.com/t/prototype-jquery-yui-ext/91776/1 "2007-04-12T09:32:44Z")

</div>

Hi:

First of all I am a bit confused by all the different JS library cos I  
am completely noob in JS world. However all the cool JS stuff just  
rocks. Now I am trying to understand the following:

1. Some of the cool stuff that i want to do (like yui-ext comment  
system)… can it be done using Prototype? is there any example or  
something to learn from?

2. I know you can do that with Jquery but seems like there are lot of  
work to put such stuff on production… this i gather reading various  
blog post.

3. Are there any rails-app (open source) that are using yui-ext or  
jquery that I could look and learn from?

Thanks for any tips.

---

<div class="post-metadata">

**Author:** ![Dave\_Olsson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b9e5f3/32.png) [@Dave\_Olsson](https://www.ruby-forum.com/u/Dave_Olsson)\
**Post date:** [April 12, 2007, 3:21pm UTC](https://www.ruby-forum.com/t/prototype-jquery-yui-ext/91776/2 "2007-04-12T15:21:29Z")

</div>

On 12 Apr 2007, at 09:32, Dave Olsson wrote:

> First of all I am a bit confused by all the different JS library cos I  
> am completely noob in JS world. However all the cool JS stuff just  
> rocks. Now I am trying to understand the following:
> 
> 1. Some of the cool stuff that i want to do (like yui-ext comment  
> system)… can it be done using Prototype? is there any example or  
> something to learn from?

ExtJS now has a version that uses Prototype/scriptaculous instead of  
YUI.

> 1. I know you can do that with Jquery but seems like there are lot of  
> work to put such stuff on production… this i gather reading various  
> blog post.

JQuery is really great, but in my experience there are more bugs in  
it than Prototype/scriptaculous. Proto/script also has the advantage  
of leaning towards the Ruby syntax in its Javascript extensions, so  
it’s easier to pick up than the other libraries, which lean towards  
other languages (such as Java with GWT for example).

> 1. Are there any rails-app (open source) that are using yui-ext or  
> jquery that I could look and learn from?

Not that I know of.

I would advise you to stick with Prototype/scriptaculous for the  
moment (there seems to be a new JQuery for Rails plugin in the works,  
but it hasn’t been released yet) and buy the book “Prototype and  
scriptaculous in Action” from Manning. This way, you’ll be able to  
use the built-in Rails helpers for the basic stuff and fall back to  
custom JS code for the fancy stuff.

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![Dave\_Olsson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b9e5f3/32.png) [@Dave\_Olsson](https://www.ruby-forum.com/u/Dave_Olsson)\
**Post date:** [April 12, 2007, 7:32pm UTC](https://www.ruby-forum.com/t/prototype-jquery-yui-ext/91776/3 "2007-04-12T19:32:49Z")

</div>

Has anyone actually read “Prototype and Scriptaculous in Action” yet?  
it was published just a couple weeks ago and there’s no reviews on  
amazon.

How does it compare with “Ajax on Rails” from O’Reilly?
