Excellent Basic AJAX Examples

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

ClearNova has probably the best single page of AJAX examples available with downloadable source.

The downloadable samples include full JavaScript & Java Source, a sample database for any SQL database, and a PowerPoint presentation.Source : ClearNova : Basic AJAX Examples

Examples include:

Ping!
Track Changes
Drop Downs & Form Handling
Get Customers By State (Parse Plain Text)
Get Customers By State (Parses XML)
Google Suggest Hack
Activity Log

Newsmap

Newsmap is a very different type of Ajax application. It is a treemap based on the Google News aggregator. It takes a little getting used to, but it is very easy to see the biggest news stories (pun intended). Clicking on a story will open up the news source in a new window.

Categories are color coded included World, Business, Technology, Sports, Entertainment and Health. A legend allows the user to turn on and off their preferred categories.

There is also an excellent time based legend allowing you to select a timeframe over the last week available in Newsmap.

Google AJAX Search API Updated

Google has already updated the Google AJAX Search API based on feedback they have received from the Google Groups discussions. The New Feature: Site Restricted Search was posted yesterday. Now developers can add additional sources to the system and create custom labels to utilize site restrictions and limit the scope of the searches to specific sites. Keep up with the API at the Google AJAX Search API Blog.

For all searchers, you now have the ability to set a user defined label for a specific searcher. This lets you replace the current system defined label of “Web”, “Blog”, etc., with a label of your choice e.g., “My Site”, “Amazon.com”, etc. Since you might want to provide unique styling for this searcher, we also added a new method that allows you to specify a user defined class suffix to wrap the results for any searcher. This is a pretty advanced feature, but for those of you that have a knack for CSS, you will appreciate the cool new things this allows you to do. And yes, our new sample application uses…Finally, for site restrictions, the GwebSearch and GblogSearch classes now support a .setSiteRestriction() method that forces search results to be scoped based on the programmed restriction. Our sample application demonstrates the use of this by configuring a web searcher to only return results from Amazon, and by configuring a blog searcher to only return posts from the Live Journal Nintendo DS blog. Source : Site Restricted Search - Turned On