I don't even know Ruby but I love the Enumeration helpers. For example, $A().without() is something you do often in javascript and I'm happy not to have to write a for-next loop and test values everytime I need to do it.
On 18/05/06, Peter Michaux <[EMAIL PROTECTED]> wrote:
Andrzej, I have been using the Yahoo! UI connection and drag and drop libraries a bit instead of Prototype.js Partly this is because I had read so many warning about the quality of the Prototype.js library. Partly because I don't like the enumerable stuff in Prototype.js. I think it makes for ugly JavaScript. Partly because I don't really like seeing JavaScript hidden under Ruby wrappers in my code. Yes JavaScript is weird but if I want to use JavaScript to do a job then I don't mind coding in JavaScript. The newest version of Prototype.js has nice Ajax stuff but I haven't found a way to do what the Yahoo! UI connection "argument" can do. See the Yahoo! UI docs. The Yahoo! UI library has a rediculous requirement that every dragdrop element must have an id. I have to invent dummy ids for sortable list elements. I hope this goes away. The sortable list options in both libraries are not so great. However with the power of the new rjs templates I am using Prototype.js a little bit. Prototype.js is so integrated into the rails way of doing things it might not be good to avoid it all together. With rjs it feels like fighting to avoid Prototype.js. The way my app is set up it is not a problem for the client to download both some Yahoo and Prototype libraries. I might just happily sit on the fence. Peter On 5/17/06, Andrzej Rumpfelt <[EMAIL PROTECTED]> wrote: > > > I know there was a discussion about it while ago but I just checked some of > the Yahoo's libs and design patterns and just wondering what are the > advantages of using one instead of another ? > I only saw yahoo's examples - didn't get down to the code.. Have you tried > to play with it ? How is it comparing to prototype style ? > > I would like to know what do you think about it :) > > greetings, > Andrzej > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
-- Andrew
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs