On Wed, Jan 28, 2009 at 14:46, Erwan Barrier <[email protected]>wrote:
> > * Yehuda suggested that we have a javascript file for each framework > (prototype.rails.js, jquery.rails.js, etc...) which implement the > helpers. Rails js helpers would generate js code, implemented by > prototype.rails.js or another depending on the choosen framework. So Rails would generate the same set of JavaScript code which would use some kind of an API abstracting away jQuery and Prototype? Could work in theory, but then you're ruining the point of difference between JavaScript libraries -- different APIs. Prototype and jQuery have -- for the most part -- same features; their biggest difference is the API which appeals to different people for different reasons. If you abstract that away, how will you decide on how this "adapter" thing feels -- Prototypish or jQuery-ish? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
