corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Any Javascript peeps on here?


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Any Javascript peeps on here?
ed
Member

Registered: 10th Sep 03
User status: Offline
10th Mar 10 at 14:11   View User's Profile U2U Member Reply With Quote

I've always used Prototype for Ajax and Scriptaculous for effects.

I've been working on an upgrade to my CMS I've developed which uses in-line editing in Lightboxes constructed using Scriptaculous (my own concoction). I've started to use other libraries to create these effects and it all works really nicely.

It seems however, everything is now based on jQuery. It seems silly to use two libraries which do similar things, I was just wondering if jQuery was 'better' or something? Had a little root about and just found lots of internet arguing about the question
Paul_J
Member

Registered: 6th Jun 02
Location: London
User status: Offline
10th Mar 10 at 14:19   View User's Profile U2U Member Reply With Quote

I like jquery.
ed
Member

Registered: 10th Sep 03
User status: Offline
10th Mar 10 at 14:28   View User's Profile U2U Member Reply With Quote

I might just continue to use both. Who doesn't have broadband these days
Laney
Member

Registered: 6th May 03
Location: Leeds
User status: Offline
10th Mar 10 at 16:27   View User's Profile U2U Member Reply With Quote

jQuery has a much nicer way of accessing/traversing. I switched over about a year ago and haven't really looked back.
Dom
Member

Registered: 13th Sep 03
User status: Offline
10th Mar 10 at 16:30   View User's Profile U2U Member Reply With Quote

how comes you use Prototype? As JQuery and scriptaculous both do Ajax calls. JQuery is decent though, likewise Mootools is worth a shot although i've only looked at it.
ed
Member

Registered: 10th Sep 03
User status: Offline
10th Mar 10 at 16:51   View User's Profile U2U Member Reply With Quote

Not really sure, it's just what I started with and I haven't had any problems writing things with it.

Scriptaculous doesn't do Ajax, it comes bundled with Prototype which handles the Ajax stuff...
Dom
Member

Registered: 13th Sep 03
User status: Offline
10th Mar 10 at 17:25   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by ed
Not really sure, it's just what I started with and I haven't had any problems writing things with it.

Scriptaculous doesn't do Ajax, it comes bundled with Prototype which handles the Ajax stuff...


Ah ok, that'd make sense. Always assumed Scriptaculous had it's own Ajax functions. To be honest, browsers tend to cache javascript files so it isn't a problem (unless you start changing the library/javascript files).
ed
Member

Registered: 10th Sep 03
User status: Offline
10th Mar 10 at 18:40   View User's Profile U2U Member Reply With Quote

Google host my jQuery file so that ought to aid with caching, I don't think there is a similar thing available with Prototype, but I'm sure enough people use it. I don't think I'm crazy enough to start trying to mod the library files either

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
After Constructice Criticism Bart Geek Day 41 2318
5th Sep 06 at 08:33
by James
 
bit of coding for a webpage Tantastic Geek Day 4 673
22nd Feb 07 at 23:31
by Tantastic
 
Javascript people Steve Geek Day 0 639
28th Apr 07 at 19:07
by Steve
 
Javascript function changing css? Rus Geek Day 1 651
22nd Jun 07 at 10:53
by Rus
 
Irmsher airdam Corsa_Quadz Help Zone, Modification and ICE Advice 3 485
6th Mar 08 at 07:59
by Fonz
 

Corsa Sport » Message Board » Off Day » Geek Day » Any Javascript peeps on here? 29 database queries in 0.0092130 seconds