Microsoft gets the credit for coming up with the idea as part of their Outlook Web Access initiative back in 1999 or so. Of course, they did it in a proprietary manner by making it an ActiveX control, but that's been rectified in IE 7.
It wasn't until years later, when Google began using the idea, and that the name "Ajax" was coined, that the technology began gathering the buzz that it enjoys today. [ April 10, 2007: Message edited by: Bear Bibeault ]
Originally posted by Jitesh Sinha: AJAX refreshes only the part of the browser which is required.Isn't that correct?I just wanted to know how this revolutionary idea come to the mind ?
It's important to note that there isn't some kind of magical Ajax switch that you can flip, and then your applications suddenly exhibit this type of behavior. You will still need to write the code that refreshes the appropriate bits of the page. A more correct statement would be 'Ajax techniques allow you to write code that will refresh parts of the page as needed'. But in essence, yes you are correct: Ajax allows you to refresh certain parts of a page, and not others.
Joined: Jun 19, 2004
Thanks Bear and Jord for your replies. I am a complete newbie as far as AJAX is concerned. My next question is something I have asked a few folks who are already working on AJAX but could not get a satisfactory answer.It is pretty basic actually. What kind of special technique is used to refresh only a part of the browser?I mean,how only a specific part of browser is made dynamic while other parts are static.If you think question is too basic,don't bother to answer.I will spend some time on it myself and see if I can get the answer.
One risk which I can see from a developer's point of view is that,if developer has to choose which part of the browser to refresh and which not to,he/she can choose not to refresh a part of the browser which is actually required to be refreshed.
Originally posted by Jitesh Sinha: What kind of special technique is used to refresh only a part of the browser?
A simple example is the Ajax.Updater class from the Protoype library. Using it, you identify an element (usually a div, but can be just about anything) whose content is to be replaced with whatever comes back as the response of the Ajax request.