Hey folks, I''m about to start a new project and I''m considering using JQuery instead of Prototype because I''ve heard that a lot of people like it. I''ve looked at a lot of JQuery documentation, but I don''t see what makes it so different than Prototype. Do you prefer JQuery? Why? or why not? Mike -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I prefer jquery now because it''s shown me the benefit of writing unobtrusive javascript. Prototype lends itself to being embedded in the source, while jquery was built from the ground up to be put in an external file, where you add behaviours to HTML elements at load time. I also find the api much, much cleaner. Jason On Tue, Apr 29, 2008 at 9:38 AM, Mike Nicholaides <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hey folks, > > I''m about to start a new project and I''m considering using JQuery > instead of Prototype because I''ve heard that a lot of people like it. > I''ve looked at a lot of JQuery documentation, but I don''t see what makes > it so different than Prototype. > > Do you prefer JQuery? Why? or why not? > > > Mike > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Apr 29, 2008 at 9:03 AM, Jason Roelofs <jameskilton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I prefer jquery now because it''s shown me the benefit of writing > unobtrusive javascript. Prototype lends itself to being embedded in > the source, while jquery was built from the ground up to be put in an > external file, where you add behaviours to HTML elements at load time. > > I also find the api much, much cleaner. > > Jason > >I have to second all of Jason''s points. I also find it easier to write rspecs for and to debug generally, especially when doing AJAX stuff. OTH, I haven''t found a good way to spec out the jquery calls themselves..This might require a bit of Selenium or Watir. At this moment this is a hole in my overall coverage. Ed -- Ed Howland http://greenprogrammer.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Apr 29, 2008 at 7:03 AM, Jason Roelofs <jameskilton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Prototype lends itself to being embedded in the source,Not being argumentative, but can you expand on that? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---