View Single Post
Old 08-15-2007, 05:40 PM   #18
saden1
MVP
 
saden1's Avatar
 
Join Date: Feb 2004
Location: Seattle
Age: 45
Posts: 10,069
Re: New NFL.com at 5pm, new website to start 2007 season...?

Quote:
Originally Posted by dtruck View Post
Quick Question - (to Sadden or anyone) I was wondering if you could give a brief description of the benefits of AJAX (looking into incorporating into a private website). I've already checked Wikipedia, etc. Please keep in mind - I am very cpu savvy, but not a programmer. If you had a link to any good info on the topic, that would be great. thanks for any assistance.
The real benefits of AJAX is that it bring desktop application like features to the web (i.e. bring Excel to the web wouldn't be possible without AJAX). Ideal usage of AJAX is to reduce server load and improve user experience buy requesting content the user doesn't see right away on-demand (i.e tabs on NFL.com that aren't visible when the page first loads are ideal candidates for AJAX...why load things the user doesn't want to see?).

AJAX can also be used to update dynamic content and content that changes often (i.e. ESPN.com's scoreboard page updates individual game scores, down information, and time remaining every so often).

With AJAX one has to be careful because you can potentially overload your sever with too many requests. For example, if 10 users are viewing ESPN.com's scoreboard page, there are 10 games being played, and individual game information is updated every 5 seconds will results in 1200 requests to the server per minute (10 games * 10 users * (60 sec / 5 sec) = 1200 requests per min). Of course ESPN.com has $$ and the hardware to handle millions of requests per/sec, your server definitely won't!

If site doesn't have a lot of content and isn't very dynamic there's no need to utilize AJAX.


p.s. AJAX is the brainchild of Microsoft so lets give credit where it's due (hint: not Google). We were developing AJAX applications for Internet Explorer at my old job way before Google.
__________________
"The Redskins have always suffered from chronic organizational deformities under Snyder."

-Jenkins
saden1 is offline   Reply With Quote

Advertisements
 
Page generated in 0.14964 seconds with 10 queries