Page 1 of 1

Prototype VS jQuery

Posted: Thu Jun 14, 2007 9:17 am
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?

Posted: Thu Jun 14, 2007 12:07 pm
by Luke
this question was asked like yesterday or the day before... viewtopic.php?t=69044 :roll:

Posted: Thu Jun 14, 2007 12:19 pm
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? :)

Posted: Thu Jun 14, 2007 5:48 pm
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.

Posted: Thu Jun 14, 2007 6:27 pm
by feyd
I typically give somewhat vague answers. There's a reason behind that, but you'll have to think...

Posted: Thu Jun 14, 2007 6:54 pm
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 :(

Posted: Thu Jun 14, 2007 7:09 pm
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.