ObjectGraph Dictionary – AJAX in action

ObjectGraph Dictionary

objectgraph 

This is an excellent demonstration of the power of AJAX coding for web services. (AJAX – for you sub-rock dwellers, is  Asynchronous JavaScript and XML, and the au courant technology du jour of 2005).

 Essentially, it’s an online dictionary that kicks the stuffing out of Dictionary.com. I stuck a quick launch link on my 11-year old son’s new laptop and within two days ObjectGraph passed the ultimate test when he said, "Dad, this dictionary thing rules."

So, next time you’re stuck trying to demo what Ajax is all about, and don’t want to quote the following explanation from the Wikipedia, show ’em Objectgraph:

From WikiPedia:

"Ajax applications look almost as if they reside on the user’s machine, rather than across the Internet on a server. The reason: pages get updated, not entirely refreshed.

“Every user action that normally would generate an HTTP request takes the form of a JavaScript call to the Ajax engine instead”, wrote Jesse James Garrett, in the essay that first defined the term. “Any response to a user action that doesn’t require a trip back to the server — such as simple data validation, editing data in memory, and even some navigation — the engine handles on its own. If the engine needs something from the server in order to respond — if it’s submitting data for processing, loading additional interface code, or retrieving new data — the engine makes those requests asynchronously, usually using XML, without stalling a user’s interaction with the application.”

Traditional web applications essentially submit forms, completed by a user, to a web server. The web server responds back by sending a new web page. Because the server must submit a new page each time, applications run more slowly and awkwardly than their native counterparts.

Ajax applications, on the other hand, can send requests to the web server to retrieve only the data that is needed, usually using SOAP or some other XML-based web services dialect. On the client, JavaScript processes the web server response. The result is a more responsive interface, since the amount of data interchanged between the web browser and web server is vastly reduced. Web server processing time is also saved, since much of it is done on the client."

 

Author: David Churbuck

Cape Codder with an itch to write

0 thoughts on “ObjectGraph Dictionary – AJAX in action”

  1. Its database seems to be outdated. Here, I found this website: http://www.quickdef.net It also uses ajax for its dictionary and seems more updated because it uses WordNet database. Try it.. It also has a more information on a particular word. All in all, I love ajax dictionary. Very easy to use. 🙂