jQuery's big thing is that it uses css selectors to modify the dom.
Prototype's big thing is that it  extends native datatype prototypes
to give added features and methods.

Prototype can also modify by selector using $$().

Both frameworks compress well Prototype to 20kb jQuery to 15kb

Both have simalar functions, though Prototype has more for class
building and things like that.
If you are using a framework to add a little spice to your blog you
could use jQuery.
If you are buidling a web app clientside I would use Prototype.

I love Prototypes native extentions.
Give this a read: http://www.prototypejs.org/learn

Prototypes source is easier to read IMO.
Both have great community and trouble shooting support:
http://scripteka.com/

There are pissing contests between Prototype uses and jQuery users in
reguards to code footprint. Both produce smaller code footprint than
regular javascript and both are about the same footprint. Lots of
articles say one is better than the other but usually the author
doesn't know one of the frameworks as well and produces longer/
unoptimized code for one of the frameworks.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to