snyke.net — The internet is full of tutorials explaining those little tricks about AJAX, all that low level stuff, but nobody gives you the overview on how all these things should work together. We have libraries to abstract from the Browser dependant things, and we should concentrate on higher level design for good and usefull applications.
Mar 26, 2006 View in Crawl 4
danskiMar 26, 2006
Good article. We develop with prototype and it really does help us spend less time debugging and more time adding features.
spectre_25gtMar 26, 2006
Oh, that's just an emo girl. They're more afraid of you than you are of them.
Closed AccountMar 26, 2006Submitter
That's true as I just found out now, PHP seems to jumble up my links, with its PHPSESSID-Crap...Trying to fix it...
Closed AccountMar 26, 2006Submitter
I surely will :-)
Closed AccountMar 26, 2006Submitter
Ok fixed, had to set session.use_only_cookies in the ini...
Closed AccountMar 27, 2006Submitter
Sure the amount of code can be reduced, with some things like adding the Page.module.js code into the engine (reduces open connections), reducing the code with tools, and compressing it with gzip.The goal of the example isn't to be fast, it's a demonstration that shows the capabilities :-)
sneedlyMar 27, 2006
Very nice write up Snyke. Thanks. Anyone have any ideas about how you could use this "Engine" to load two div ID's simultaneously (with different page data)? That is, without making two server requests (to avoid a double latency hit)? I'd like to be able to update both the "content" and "sidebar" div's with one click.
xswagMar 27, 2006
Hey finally an article on the front page of Digg with the word AJAX in it that really is a great article about AJAX.Thanks, very diggable article!
Closed AccountMar 27, 2006Submitter
Try using JSON to encapsulate the data, then download it and show it into two different divs. Any way of encapsulation works, XML too :-P