Prototype VS jQuery

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Prototype VS jQuery

Post by alex.barylski »

What are the benefits of both...

ideally I would want the smaller of the two...it seems jQuery has a more plugable arch. so I would suspect (from first glance) jQuery is better this way?

Basically I need:

1) Cross platform - easy AJAX support
2) Simple animations like those fading headers in Wordpress (go from green to white - blend with background transition)
3) FORM validation - although I think I'll be using qForm for that
4) Key capturing, specifically "Cancel"

Given this simple criteria which would you suggest I use?
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

this question was asked like yesterday or the day before... viewtopic.php?t=69044 :roll:
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Hmmmm...touche. :)

Although in my defense, the replies even from feyd were vague. Actually yours wasn't too bad. At least I have impression that jQuery is something of a easier to manipulate DOM, which is fine with me - it's why I want to use a lib instead of hand-coding anyways. :)

Are you aware of any other differences which might be of interest to me? :)
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Can't say too much, but...
Simple animations like those fading headers in Wordpress
As far as I can remember, Prototype does not come with any animations by default. You need to use another library like script.aculo.us in conjunction with it to get that functionality.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I typically give somewhat vague answers. There's a reason behind that, but you'll have to think...
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

feyd wrote:I typically give somewhat vague answers. There's a reason behind that, but you'll have to think...
Haha...I know you do. it's your thing. ;)

I understand though, really I do. Simple arithmatic really.

30,000 posts * 10 mins/reply = 208+ days of replying 8O

If my maths are right that is, I haven't slept in like 2 days :(
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

It has nothing to do with numbers. It's a philosophical reason.

If you're wishing to track, it takes far less than ten minutes for me to reply once I start for most posts.. even long ones.
Post Reply