Vishwas Lele of Applied Information Sciences talks about the Ajax Style web development using ASP.NET in an article published in .NET DEVELOPER'S JOURNAL. This article talks about the AJAX using ASP.NET.
"In the past few months, the design pattern of combining Asynchronous JavaScript and XML (AJAX) to develop highly interactive Web applications has been growing in popularity. High-profile Web applications such as Google Maps and A9 are currently leveraging the combination of these technologies to produce rich client-side user experiences. The individual technologies that compose AJAX are not recent developments; they have been around for some time and have been continuously updated and improved. However, it is the recent confluence of these technologies that is leading to interesting possibilities.
AJAX-style Web applications exhibit the following characteristics:
» Asynchronous requests made to the Web server.
» High dependence on browser-based logic written in JavaScript.
» Exchange of nonpresentation XML-based data between the browser and the Web server." Read more »
James Snell of IBM's Emerging Technologies Toolkit team talks about calling the SOAP Web Services with AJAX in his recent article at IBM developerworks. This article is the first of a short series that illustrates the implementation of a cross-platform, JavaScript-based SOAP Web services client based on the Asynchronous JavaScript and XML (AJAX) design pattern for Web applications.
"Popularized through its use in a number of well-known Web application services like GMail, Google Maps, Flickr, and Odeo.com, AJAX provides Web developers with a way of expanding the value and function of their Web applications by using asynchronous XML messaging. The Web Services JavaScript Library introduced here expands on the fundamental mechanisms that power the AJAX pattern by introducing support for invoking SOAP-based Web services. " Read more »
The Hows and Whys of Degradable AjaxWe cooked up a simple to do list to demonstrate how a simple Ajax application can work with or without JavaScript. Now, don’t be mislead by the simplicity of the demo. The techniques introduced in this tutorial are scalable and can easily allow even more powerful Ajax applications to retain their sweet action without losing their non-J-juice using customers. more »
If you spend much time working with JavaScript, there will eventually come a day when you need to know the value of a variable (or an object’s field) as the execution of the script progresses, or why a script terminates unexpectedly. In simple scripts, you can accomplish this with JavaScript’s alert() function, which instructs the browser to create a dialog box with the argument set as the box’s caption. The message can be anything that helps you understand your script’s operation. more »
The rise of Ajax represents the new and widening recognition that the days of “Yes, if…” are numbered. It’s analogous to the realization we had a couple of years ago, when it became apparent that maturing browser support for CSS and XHTML would finally allow designers the flexibility and ease of maintenance the Web had always promised but never quite delivered. In both cases, the technologies aren’t new; what’s new is our ability to make the most of them on the broadest possible scale. more »
Ajax, or Asynchronous JavaScript and XML, is an approach to Web application development that uses client-side scripting to exchange data with the Web server. As a result, Web pages are dynamically updated without a full page refresh interrupting the interaction flow. With Ajax, you can create richer, more dynamic Web application user interfaces that approach the immediacy and usability of native desktop applications.
Ajax isn't a technology, it's more of a pattern -- a way to identify and describe a useful design technique. Ajax is new in the sense that many developers are just beginning to be aware of it, but all of the components that implement an Ajax application have existed for several years. The current buzz is because of the emergence in 2004 and 2005 of some great dynamic Web UIs based on Ajax technology, most notably Google's GMail and Maps applications and the photo-sharing site Flickr. These UIs were sufficiently groundbreaking to be dubbed "Web 2.0" by some developers, with the resulting interest in Ajax applications skyrocketing.
more »
Interest in Ajax continues to increase, which is somewhat surprising considering that its constituent components have been around for 5+ years. In fact, Microsoft was one of the earliest to adopt Ajax (they used XMLHTTP in an earlier version of Outlook Web Access). Google, however, popularized the development technique by launching Maps, Gmail, and Suggest (hopefully, Microsoft has a big budget for extra chairs). more »
XmlHttpRequest is a Javascript object that allows a client side Javascript code to send almost raw HTTP requests to the origin host and to access the response's body in raw form. As such, XmlHttpRequest is a core component of AJAX.
It seems that the same origin security policy ensures that the power of XmlHttpRequest is only used in a secure manner (after all, if the Javascript code can only access the server it originated from, then what harm can be done, except for XSS conditions), but this is not so. In fact, about 2.5 years ago I noticed a problem in XmlHttpRequest's implementation in IE - IE doesn't validate some critical fields that are provided by the user [1]. Back at that time, the attack vector was through an XSS condition, but the basic flaw (and other, related flaws) renders itself nicely to other conditions. more »
Over the years, desktop applications tied to a specific operating system have become entrenched as the main way to work on a computer. AJAX, a set of development techniques standardized over the past eight years, could change all that by bringing more sophisticated interfaces to Web applications. With that, backers are hoping it can open a crack in the dominance of desktop software like Microsoft's Office, the undisputed market leader. more »
Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together in powerful new ways. Ajax incorporates:
» standards-based presentation using XHTML and CSS;
» dynamic display and interaction using the Document Object Model;
» data interchange and manipulation using XML and XSLT;
» asynchronous data retrieval using XMLHttpRequest;
» and JavaScript binding everything together. more »
In this article, you'll learn how to extend AJAX (Asynchronous JavaScript and XML) by cross-communicating between Flash and JavaScript, discover how this technique enables technologies to focus on specialized tasks, and see how it helps to create the ultimate user experience. Because Flash makes graphical programming quick, easy, and attractive, and because JavaScript is very effective at manipulating HTML, we can leverage these technologies to focus on their strengths. This will provide us with more control over the page and, ultimately, the user experience. more »
Why is Ajax getting so much attention when there are so many alternative technologies? Something about Ajax raises it above the rest.
As a new technology moves through the hype curve, detractors emerge to raise the innevitable question "Why not something else?". Now we have AJAX - an admittedly powerful approach to web development, but is that because it`s really the best option for the job? If not, does that mean we should expect AJAX to fade away as have other much hyped technologies? more »