JQuery or Prototype ?

Z

ziobudda

Hi, I want ask you if, for a web portal/application, is better
prototype or Jquery? I don't want to innesc some type of flame, but
after the announce that drupal use JQuery and that the new Wordpress
2.2 use Jquery I ask myself if my choice of use prototype.js is the
bettere choice.

M.

Sorry for my bad english.
 
M

Matt Kruse

Hi, I want ask you if, for a web portal/application, is better
prototype or Jquery?

All IMO:
Both are extremely capable and well-written.
If you must have OO, go with Prototype. If you like CSS and
simplicity, go with jQuery.
Prototype's popularity is decreasing while jQuery's popularity is
increasing.
Prototype is a library to help you write js code, jQuery is a whole
new strategy to do what you really want.

I choose jQuery, but choosing Prototype is not a "wrong" choice these
days (previously, it was).

Matt Kruse
 
L

-Lost

Matt said:
All IMO:
Both are extremely capable and well-written.

I have never heard that Prototype is "well-written." Nor that it has
the most efficient code.
If you must have OO, go with Prototype. If you like CSS and
simplicity, go with jQuery.

In this sense, jQuery enables web developers. The same cannot be said
for Prototype. Prototype has a severe learning curve, whilst jQuery
merely builds upon what web designers already know.
Prototype's popularity is decreasing while jQuery's popularity is
increasing.
Prototype is a library to help you write js code, jQuery is a whole
new strategy to do what you really want.

I actually feel that way about jQuery. It is an enabler, and not the
bad kind either.

It has the nicest, simplest syntax, especially when compared to Prototype.

I always think its funny, how Prototype has the "real world" page. The
only reason it got adopted first, is because it was first.
I choose jQuery, but choosing Prototype is not a "wrong" choice these
days (previously, it was).

There are several people in this group, who when they say something, I
pay careful attention to. You are one of them, but I must say in this
case, your opinion is flawed. (That is of course, my opinion.)

Or maybe I should ask, what has changed all of a sudden to make
Prototype a viable development library?
 
R

RobG

Hi, I want ask you if, for a web portal/application, is better
prototype or Jquery? I don't want to innesc some type of flame, but
after the announce that drupal use JQuery and that the new Wordpress
2.2 use Jquery I ask myself if my choice of use prototype.js is the
bettere choice.

I'm no expert in either, but I'll offer a humble opinion.

jQuery seems more compact, faster and more functional than Prototype -
e.g. the comparison of form serialising found here:

<URL: http://www.malsup.com/jquery/form/comp/ >

I seem to find frequent examples of Prototype usage that can be done
much more efficiently in plain javascript, it happens less often in
jQuery.

jQuery's newsgroup is also far more active than Prototype's (which is
actually at the Ruby On Rails: Spinoffs group).

I hope that helps.
 
L

-Lost

RobG wrote:

jQuery's newsgroup is also far more active than Prototype's (which is
actually at the Ruby On Rails: Spinoffs group).

Mailing list you mean, right? If jQuery has a newsgroup I sure would
like to know about it.

That is actually the only thing I hate about jQuery. They use mailing
lists, which I never subscribe to.
 
K

Kevin Scholl

-Lost said:
RobG wrote:



Mailing list you mean, right? If jQuery has a newsgroup I sure would
like to know about it.

That is actually the only thing I hate about jQuery. They use mailing
lists, which I never subscribe to.

Well, maybe not a newsgroup in the truest sense, but you can access and
be part of the jQuery Google Group...

http://groups.google.com/group/jquery-en

....without being inundated with mail in your inbox. And I agree with
previous comments; jQuery has a very active and (IMO) superior community.

--

*** Remove the DELETE from my address to reply ***

======================================================
Kevin Scholl http://www.ksscholl.com/
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,428
Latest member
RosalieQui

Latest Threads

Top