Monday, November 12, 2007

Ajax: The Shiny Future of the Web

Ajax, Asynchronus JavaScript and XML, will have a significant impact on the development of web forms in the near future. Ajax is not so much a new technology but a way of extending and blending existing technology standards and extending the scope of their operation.



  • JavaScript

  • XMLHttpRequest - JavaScript object with an API that interfaces with HTTP protocol

  • XML

  • HTML/CSS

  • Document Object Model(DOM)

  • Extensible Stylesheet Language and Transformation(XLST)



In short, Ajax allows dynamic web pages to update without refreshing the browser. Ajax handles data in the background to minimize server transactions providing a rich-client interface (Holzner, 2006). It seems to me to be the logical crossroads of the above listed technologies. The server-side web services of the past are beginning to creak under their own weight requiring strong servers and fast connections to maintain web service connectivity. The shift to client-side processing and dynamic web forms that can alter content after download without connection to the server or browser refresh.


JavaScript facilitates the dynamic power of Ajax via the specific JavaScript object HTTPRequest (Zakas, McPeak, Fawcett, 2006). This object that facilitates an API via the HTTP protocol is often referred to as the Ajax engine. All user interaction is carried out via JavaScript calls to the Ajax engine. The Ajax engine processes and initiates all requests instead of the web browser.


Ajax, given some time, will revolutionize the way business looks at web applications, services, and forms. When all the functionality of a rich client application can be joined with the connectivity of a web based application the result is an all "pro" solution existing free of any "cons." Personally, one of the biggest problems I have with web based applications is the constant refreshing and cumbersome, irregular performace. Ajax will provide web applications without these issues. I see a big increase in the market of application hosting over the next 5-10 years in which enterprise businesses will outsource the hosting of business applications and run all information off a leased line connection to an off-site server farm.


I actually disapprove of the above prognostication. A business should not hand away "the keys to the kingdom" to some outfit providing application hosting. There are too many variables and possibilities to worry about for someone like me to allow application hosting off-site. I like my equipment and services nearby, where I can keep an eye, and a lock, on them.

No comments: