Sponsored by Dragon Age: Origins
Follow the Dragon Age: Origins development team on Twitter view!
twitter.com/DragonAge - EA presents BioWare's new dark fantasy epic Dragon Age: Origins. '9/10' from Game Informer.
52 Comments
- frooo, on 04/02/2008, -0/+72Good article, I like Ajax in theory, but unfortunately when you get into the trenches, AJAX annoys the crap out of me.
Heh, the thing about AJAX that annoys me most are the companies that pander it about like its easy to implement.
Client: "Yeah, what we want is a web 2.0 site with AJAX, RSS and SEO done by Friday next week... oh and we want it for about $150 cos I know a guy who's son makes websites for about that much"
Me: "Sure thing, in fact I like you so much, I'll actually give you guys my money, just for the opportunity to develop this for you!"
F*#k buzzwords! - Entroper, on 04/02/2008, -0/+47"Pay your friend's son the $150 and see what he comes up with. I'll see you next Friday, and we can talk about a more serious offer."
Technology companies are often very poor at discerning knowledge from talent. It's not the hammer and chisel that makes a beautiful sculpture, it's the artist wielding them. - csshyamsundar, on 04/02/2008, -2/+21All in one page -- http://www.networkworld.com/cgi-bin/mailto/x.cgi?p ...
- kevdotbadger, on 04/02/2008, -2/+16Also, prepare for people with javascript disabled.
- kittnerrules, on 04/02/2008, -0/+11Did you miss the article with 16,000+ diggs that explains this?
- Delphium226, on 04/02/2008, -0/+9One thing that bothers me about Ajax is accessibility issues it raises.
- jsd8cc, on 04/02/2008, -2/+10That was truly a beautiful word picture. *tear*
- Entroper, on 04/02/2008, -0/+7Indeed. Last time I was at Barnes and Noble, I picked up an AJAX book to skim through while I drank my coffee. I got through the introduction and said, "that's it?" It's just a buzzword applied to a set of technologies that were already there.
Good article, though. Definitely some good pitfalls to avoid. Especially timeout acknowledgement -- web 2.0 apps are incredibly poor at handling these. - ubernoggin, on 04/02/2008, -2/+8Heh.... April Fools!
- blackinthmiddle, on 04/02/2008, -0/+6I don't know if it's just browser issues. You also have race conditions that you have to check for.
For example, I built an ajax chess game. I use a serialized object and I realized I was running into a number of race conditions where one user was grabbing the object from the database before the other user finished updating it and putting back in the database. I often found myself having to store the results of back end calls in local files, as I didn't have any good way of testing what was going on.
Also, dealing with requests that for whatever reason got swallowed by the server can be difficult. Okay, the client didn't get a response. Should it send a request again? If the request was to insert a number of rows in a table on the back end, how do you know this didn't already happen? Maybe the request died before it hit the server. Maybe it died on the round trip. I found that a good percentage of my chess app was spent on error checking. - allfatherblack, on 04/02/2008, -0/+4Some times I hear about technologies or languages or code-bases or blah blah blah whatever and I think to myself "This seems like a lot of unnecessary abstraction for what could otherwise be a simple concept."
- Delphium226, on 04/02/2008, -2/+6You should just get some head or give some head, whatever it takes for you to wind your neck in.
- secrity, on 04/02/2008, -4/+8"make sure your developers understand the network impact of their applications."
When has that ever done any good? - Vagari, on 04/02/2008, -0/+4This reminds me of a project I was working on last year. A developer put in some code for one of those "live searches" on a division's web site. Working with localhost he didn't realize that he was sending ridiculous amounts of traffic for every single key press. When he tried to move it live every subsequent character you put in exponentially slowed down the page. The freak out call I got that day was no fun.
- mahdaeng, on 04/02/2008, -0/+4Tell me about this DOG technology. Is it new?
:^) - whisperedlie, on 04/02/2008, -0/+4any web app developer that doesn't have an expected model for network traffic of a proposed implementation, and then doesn't gather actual traffic patterns using any one of the myriad http debuggers or packet sniffers should be shot. or slapped... or given a stern talking to. well, i'll leave that up to you.
- kevdotbadger, on 04/02/2008, -0/+3Argh, i've been through this!
Some guy's throws a bunch of buzzwords at a client not really knowing what they mean. HTML, XML, CSS, AJAX, JS, PHP, .NET, ASP, DOG. Then the client comes to you telling you what the guys said and it doesnt make any sence. - element247, on 04/02/2008, -0/+3if only...
- galleryfront, on 04/02/2008, -0/+3How XML fell into the internet data format of choice is beyond me. If server load has ever been the concern, AMF should have been where it was at.... 1/9th the size of data exchange per data item, on average. One word: SmashedApples.
- fugazied, on 04/02/2008, -1/+3If browsers played nice with it, it WOULD be easy to implement and fulfil some nice functions. As it stands you know Internet Explorer will behave in unusual ways when JS is added and even Firefox has issues with JS. The JS frameworks do make a lot of AJAX work easy, but browser issues eat up a lot of time.
- mahdaeng, on 04/02/2008, -1/+3Leave it to someone that calls himself, "blackinthmiddle", to bring up race conditions.
/hey, settle down everyone, it's just a joke! :^) - Sapsucker, on 04/02/2008, -0/+2Wait wait wait. Let me make sure I've got this straight. A technology article....on the front page of digg? Wowwwwwwwwww...
- arcticsoft, on 04/02/2008, -0/+2how does a clients machine easily do this with javascript turned off?
- junkwheel, on 04/02/2008, -1/+3Yeah! It's a big lol!
LoL - zammit, on 04/02/2008, -2/+3i hate the buzzword crap... and async js is fairly straight forward, but dugg for great pointers.
- bbart3d, on 04/02/2008, -0/+1p.s. AJAX technology put that goofy symbol there.
- ghinch, on 04/02/2008, -1/+2Saying your site will be more secure with HTTP Only Cookies is like saying it will function better with CSS3 and HTML5: sure it will but what percentage of your market is really going to be able to use it?
- peorth, on 04/02/2008, -0/+1Michael's AJAX.net library saved me LOTS of time! (L)
- Veretax, on 04/02/2008, -1/+2Some MS Shops are only now beginning to dip into AJAX for actual use now, where before they probably were not. That is not their fault.
- aliengoods, on 04/02/2008, -0/+1He dugg it, so he didn't know what the final count was.
- leerayIG88, on 04/02/2008, -2/+3I know a "Jax" from Mortal Kombat....does that help?
- antych, on 04/04/2008, -0/+14) Plan for an increase in HTTP requests
- wrong, the point of Ajax is to refresh only relevant part of your page which saves you from refreshing it completely. Thus, you don't load all the js, css and images again, which LOWERS the number of HTTP request and make your site more responsive. - Niubai, on 04/02/2008, -0/+1Nice one, I hope the people who's labeling anything fancy nowadays as AJAX (even when it's only used javascript and/or some effects from some library) read this article.
- findhostcoupons, on 03/22/2009, -0/+1Thanks for your tips, now I have some general understending about AJAX
- habenneas, on 04/16/2008, -0/+1LynxCache mirror: http://www.lynxcache.org/usr/1/10_things_IT_needs_ ...
- jasonsalas, on 04/03/2008, -0/+1i hate it when clients specifically request SEO. it's like asking to build a site with links.
- frooo, on 04/03/2008, -0/+1woot, 69 diggs - I love that number :)
- stinkymountain, on 04/02/2008, -1/+1Great information, Plus, I enjoyed the slideshow.
- Bombfrog, on 04/28/2008, -0/+0Learning a lot more about javascript and how to decrease the amount of work done on the server has helped us create some great apps but it doesn't come overnight. It's probably taken a year for use to really switch to doing things "the ajax way".
We statred off using ASP.NET AJAX as it makes things very easy, but quickly realised it's a bit crap and slow and now do everything using raw javascript and jQuery. - nirav72, on 04/02/2008, -1/+1It is a good solution if you like messing a round with httphandler configurations. However, if you want simple ajax controls in asp.net, then try something like anthem.net or microsoft's ajax.net . However, the latter is somewhat bloated.
- jordanclark, on 04/10/2008, -0/+0@antych:
>> 4) Plan for an increase in HTTP requests
>> - wrong [snipped]
Err, I think you'll find that's correct: HTTP requests *will* increase. Somebody please correct me if I'm wrong, but to my understanding, although individual page reloads will decrease, an HTTP request is required every time a query is made or an update is performed.
It isn't called the XMLHttpRequest object for nothing, after all ;) -
Show 51 - 64 of 64 discussions



What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official