My plan is to use both these libraries indefinitely in my application.
I am basically writing a Rails application and hence am using Prototype
and Scriptaculous.
But I plan to use YUI and YUI-ext extensively in the application as I
wish to use some of their features.
Though I have seen a few examples where YUI was used successfully in a
Rails application, these are just examples.
[posting order restored]
> > > I would like to know whether we can use Yahoo UI Library and Prototype
> > > in the same application/page.
[quoted text clipped - 8 lines]
>
> My plan is to use both these libraries indefinitely in my application.
I think this will be painfully slow duplication for users of your site
with slow connections and may cause you grief using two big libraries.
> I am basically writing a Rails application and hence am using Prototype
> and Scriptaculous.
Just because you are using Rails doesn't mean you need to use Prototype
and Scriptaculous. I don't and have a new project to help others avoid
Prototype/Scriptaculous in favor of a library more like YUI but built
for use with or without Rails. If you want to wrap some of the YUI libs
in Rails helpers in a plugin you may get some helpful hints from my
project. <URL: http://forkjavascript.org>
> But I plan to use YUI and YUI-ext extensively in the application as I
> wish to use some of their features.
>
> Though I have seen a few examples where YUI was used successfully in a
> Rails application, these are just examples.
I can't think of any reasons why YUI wouldn't work with a Rails site.
Rails is the server-side and the JavaScript is the client side. The
JavaScript really only needs to have a few Ajax tricks for the way
Rails likes to do Ajax and RJS.
Peter