Translator

-
Recent
Tags
Tweets
- want to start your own business in 2011? look at this - http://t.co/Y0uHkaz7 4 months ago
- if you're serious about getting your own business up this year, you have to check this out - http://t.co/wpj9yFoF 4 months ago
- Bobby goin on a booz cruise from MD to VA for the day with my fav former employer, Booz Allen! Let's get it poppington Giggity giggity! 2 years ago
- Not able to put my iPhone down for a second! 2 years ago
- watching The Informers on Boxee. check it out at http://bit.ly/FFkhO 2 years ago
Categories
- AJAX (1)
- Best Practices (1)
- C# (2)
- Emerging Technology (1)
- Investing (1)
- jQuery (2)
- LINQ (2)
- MOSS (3)
- SharePoint (4)
- Software Documentation (1)
Archives
- September 2009 (4)
- August 2009 (3)
This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.



When to Use AJAX
Consider Your Goals
When considering implementing an AJAX pattern on a website or web application, you should first consider your goals. While there are several good reasons to implement AJAX, there are also several bad reasons. This all depends on what you’re trying to accomplish.
AJAX the Wrong Way
There are a lot of pitfalls if you choose to implement AJAX on something like a blog or a company site. For example, you implement AJAX so that when a user clicks on a top-level navigation link, the main content of the page changes. While this may seem like a relatively spiffy thing to do, it is not a good practice for several reasons:
AJAX the Right Way
Albeit quirky at times, the Facebook chat widget is a wonderful implementation of AJAX. The widget uses AJAX to retrieve a list of your friends, displays whether they are idle, and allows you to communicate with them without refreshing the entire page. All of this is a reflection of using the right tool for the right job.
Let’s assume you create a company website for your insurance company. The company website offers a wizard for users to request a quote. Implementing AJAX may be a smart decision if you:
Favorite Examples
Lastly, here are some public facing websites featuring some of my favorite AJAX implementations:
In Conclusion
I hope the above information and examples were of use to you. If you feel you can contribute to this article, feel free to post a comment below!
No related posts.