[jQuery] jQuery vs Prototype
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:.6in .6in .6in .6in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks to all who responded. I'm already
impressed by the bright and active community rallying around this thing. For
that reason, and because it makes my code look so gosh darned pretty, I'm leaning
toward jQuery at this point.<o:p></o:p></span></font>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Oh yeah, and also because of the Devo hat
logo. It just does it for me. Hey John, if you ever get tired of the "New
Wave Javascript" tagline, how about "Whip Your Scripts Into Shape"?<o:p></o:p></span></font>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> discuss-bounces@jquery.com
[mailto:discuss-bounces@jquery.com] <b><span style='font-weight:bold'>On Behalf
Of </span></b>Matt Stith
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, August 16, 2006
4:54 PM
<b><span style='font-weight:bold'>To:</span></b> jQuery Discussion.
<b><span style='font-weight:bold'>Subject:</span></b> Re: [jQuery] jQuery vs
Prototype</span></font><o:p></o:p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Im with Jonathan on this
one. jQuery is the only library ive ever used, and its done everything ive ever
needed.<o:p></o:p></span></font>
<div>
<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 8/16/06, <b><span style='font-weight:bold'>Jonathan
Sharp</span></b> <<a href="mailto:jdsharp+jquery@gmail.com">
jdsharp+jquery@gmail.com</a>> wrote:</span></font></span><o:p></o:p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I would agree with Corey. We've been using jquery in a large scale
application. We evaluated jquery and prototype a while back but were forced to
start prototyping ui's quickly and so we picked jquery and figured we'd
re-evaluate when implementation began.
We've never re-evaluated since there has never been a need. We went from the
prototype to implementation phase faster than planned and have been able to
develop robust components with amazing speed. (One example of a component is <a
href="http://jdsharp.us/code/jd_Menu/jd_Menu.html" target="_blank">http://jdsharp.us/code/jd_Menu/jd_Menu.html</a>)
I can't speak to prototype since I haven't used it extensively, so let's just
say that jquery has never given me a reason to look anywhere else.
Great work John!<o:p></o:p></span></font>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>
<span class=sg>-js</span><o:p></o:p></span></font>
</div>
<div><span id="q_10d18ce48b6b7ace_2">
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<span class=e><o:p></o:p></span></span></font>
<div>
<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 8/16/06, <b><span style='font-weight:bold'>Corey
Jewett</span></b> <<a href="mailto:ml@syntheticplayground.com"
target="_blank">ml@syntheticplayground.com</a>> wrote: </span></font></span><o:p></o:p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>You'd be surprised at how much functionality jQuery packs into such a
small package. I used to use prototype, but I've switched to jQuery
completely.
Maybe the largest piece of functionality you'll give up is access to
some of the other stuff that leverages prototype (e.g.
scriptaculous). However jQuery has a thriving plugin community that's
rapidly expanding the quite of bolt-on goodness.
My main reason for switching to jQuery is it's terseness and
expressiveness. The chainable method strategy often results in being
50-75% shorter code than equivalent prototype code. There's some
examples documenting this phenomena on the jQuery blog. For me
terser, more expressive code is not only more productive, but more
readable and easier to debug.
Corey
On Aug 16, 2006, at 12:51 PM, Menier, Todd wrote: