Followers

Sunday, January 9, 2011

Ajax

Hello there, Java Enthusiasts,

I wanted to share some notes on Ajax and related stuff. Hope it helps to summarize briefly. This blog article will be updated with more information from time to time.

Ajax shorthand for Asynchronous JavaScript and XML is a combination of the technologies:
  1. HTML or XHTML and CSS for presentation
  2. the Document Object Model (DOM) for dynamic display of and interaction with data
  3. XML for the interchange of data, and XSLT for its manipulation
  4. the XMLHttpRequest object for asynchronous communication
  5. JavaScript to bring these technologies together

With Ajax, web applications can retrieve data from the server asynchronously in the background without interfering with the display and behaviour of the existing page. Data is usually retrieved using the XMLHttpRequest object.

The term Ajax was coined on February 18, 2005 by Jesse James Garrett in an article entitled Ajax: A New Approach to Web Applications.

On April 5, 2006 the World Wide Web Consortium (W3C) released the first draft specification for the XMLHttpRequest object in an attempt to create an official web standard.

The utility of background HTTP requests to the server and asynchronous web technologies remained fairly obscure until it started appearing in full scale online applications such as Outlook Web Access (2000) and Oddpost (2002), and later, Google made a wide deployment of Ajax with Gmail (2004) and Google Maps (2005).

With traditional Ajax Client polling is used. Reverse Ajax describes the implementation of either Client polling or Server pushing models, or a combination of both. The design pattern is also known as Ajax Push, Full Duplex Ajax and Streaming Ajax.

An Ajax framework is a web application framework that helps to develop web applications that use Ajax. The goal of the framework is to provide the Ajax engine and associated server and client-side functions. Types of frameworks, according to the features they offer and the skills required of the user, include,
  1. Direct Ajax frameworks (require HTML, CSS and Ajax expertise), 
  2. Indirect Ajax frameworks (based on compiler technology, a high-level language is used), 
  3. Ajax component frameworks (offer pre-built components) and 
  4. Server-driven Ajax frameworks (offer a server-side component-based development model with some degree of Ajax support).
List of Ajax frameworks
JavaScript frameworks are browser-side frameworks very commonly used in Ajax development such as jQuery, SWFObject, jQuery UI, Prototype, Yahoo! UI Library, script.aculo.us etc.

Java frameworks use Java for server-side Ajax operations such as Apache Wicket, AribaWeb, Google Web Toolkit, Richfaces etc.

Others are Pyjamas for Python, Wt - a C++ Web Toolkit, ASP.NET AJAX from .NET, Sajax and Xajax for PHP and RJS for Ruby on Rails.

Wednesday, December 22, 2010

Dispatches@22-Dec

Hello,

Today's dispatches will include the following:


1. Apple too plugged the leak!!
Apple followed suit as was expected. Various companies are having a good time revising and blowing off dust from the rule books to fight the hula boo created by WikiLeaks.
To comprehend the menace created by WikiLeaks, if we perceive it objectively, we can give an analogy that it is similar to somebody publishing all our chat conversation and e-mail content on web. Only here instead of an individual, the target is a nation. It can be said that WikiLeaks is also driven by ulterior motives which is beyond comprehension for a common man.
With more companies, which are US based or affiliated, are resisting to any association with WikiLeaks, the matter is getting under control. What will be the final sum of the effects of the leak, only time can tell. Wait and watch as we are mere spectators!

2. After Blackberry now it is GMail!!
Indian Government miffed by the lack of control on the content on the Internet has started to look into this direction and is intensifying the force and the reach day by day. It was Blackberry first then and now it is the turn of GMail. Almost all the individual needs for e-mail today is fulfilled by GMail, Yahoo and hotmail. Many corporates still have not switched to their own domain and increasingly are now dependant on these free e-mail services. Google, in any case has to negotiate and bend its policies as it has stakes in India including corporate offices and research wings.

3. For a change we will have Onions instead of Terrorists from Pakistan. But beware, these Onions can terrorize your digestive system!! LOL
Onion which is a popular and a must-include ingredient in the Indian cuisine is again under the radar for the demand and supply deficit. Onions have, in the past, brought tears in the market and have toppled governments. When asked, why the Onions bear this fate, one of the vendor blames it on the huge demand in the winters due to which the freshly cultivated Onions are directly brought for the sale and therefore succumb to rot due to high moisture content. A high percentage of Onions rot creating a deficit.

4. Pura filmi story ban gaya bhai sahab!!
What is more to be seen. Now filmy style murder plans of the government officials involved in CWG corruption case if believed as told by their fellow inmates is intriguing. We all must have seen some or the other bollywood movie where a key witness or a accused is killed in a staged accident by the villain. So here is a real life incident just for the Indian public.