a lot of people probably already saw this since its a few years old but i hadn't because i hadn't been using so much javascript until the past half year or so:
http://www.cmarshall.net/MySoftware/aja ... index.html
there it is. i thought it was really neat. if you don't care to read, like me, then scroll down about a page and start clicking!
something cool: threaded ajax
Moderator: General Moderators
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Re: something cool: threaded ajax
Only thing what that script does (as I understood) is ajax call with timeout and allows to pass additional data to callbacks.
JS code is just horrible:
1) hard to read and probably maintain
2) callback function created from a string (omg!), because of invalid assumption
3) "threaded"? It's just asynchronous ajax call with queue (which is not even working in the demo!)
I would never use it.
JS code is just horrible:
1) hard to read and probably maintain
2) callback function created from a string (omg!), because of invalid assumption
3) "threaded"? It's just asynchronous ajax call with queue (which is not even working in the demo!)
I would never use it.
Re: something cool: threaded ajax
His demo puts me into an infinite javascript pop up situation. not cool. Plus, This seems stupid. Ajax is already asynchronous.
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Re: something cool: threaded ajax
Check jQuery source, that's a good place to learn.
Re: something cool: threaded ajax
+1kaszu wrote:Check jQuery source, that's a good place to learn.