Although most developers have used XMLHTTP in the past or used an IFRAME to load data, only now do we see traditional developers and companies starting to adopt these technologies. Like new programming languages or models with more pain, developers need to learn new tricks and how best to make use of these new technologies. This article describes how developers use Ajax to ping 's tomb Takezo yo lt;br/>
Many important technologies and Ajax development patterns can be obtained from existing knowledge. For example, in an application that sends a request to a server, it must include the order of request, priority, timeout response, error handling, and callbacks, many of which have already been included in the Web service, like today's SOA. Ajax developers have a complete knowledge of the system architecture. At the same time, as the technology matures there will be many areas to improve, especially the usability of the UI component.
With the combination of varying technologies and a strong coupled client-server environment, AJAX presents a new development approach. Ajax developers must understand the traditional MVC architecture, which limits the boundaries between application hierarchies. At the same time, developers need to consider the outside of the CS environment and use AJAX technology to reset the MVC boundaries. Most importantly, AJAX developers must prevent the Web application from being considered as a single page in the form of a collection of pages. Once the scope between the UI design and the service architecture is strictly differentiated, the developer needs to update and change the technology collection.
Always thinking about the user
The biggest opportunity for Ajax is the user experience. The rules for defining Web applications are being rewritten in the process of making applications more responsive and innovative, so developers must focus more on users. Now the user has become accustomed to using web apps. For example, users usually want to have a few seconds of delay and screen refresh for each button click, but Ajax is breaking this long time. So the user needs to relive the button click Response.
Usability is an exciting place for Ajax and has produced several novel technologies. One of the most striking is a technology called "Yellow Stealth", which turns the user interface into yellow before the data is updated, and restores the original color immediately after the update is complete. Ajax developers freed users from the load of Web applications, carefully leveraging the rich interfaces provided by Ajax, and soon desktop developers found Ajax to be their direction.
Several tools and techniques
As Ajax quickly stands out, I think the developer's expectation of this technology is increasing rapidly. Like any new technology, the boom in Ajax needs to be supported by a whole development tool/programming language and related technology systems.
The XMLHttpRequest object is implemented on most browsers and has a simple interface that allows data to be delivered from the client to the server, but does not interrupt the user's current operation. Data transmitted using XMLHttpRequest can be in any format, although it is suggested from the first name as XML-formatted data.
CSS is an important weapon that Ajax developers need to navigate to the right AJAX application. CSS provides a mechanism for separating application styles and designs from content. Although CSS plays a crucial role in AJAX applications, it is also a major impediment to building a Cross-browser application because different browser vendors support a variety of CSS levels.
But unlike on the client side, AJAX applications at the server end are used or built in like Java. NET and PHP language based mechanisms; there is no change in the main way in this field.
That being the case, our interest in the Ruby on Rails framework has increased rapidly. More than a year ago, Ruby on Rails had attracted a large number of developers to build web and Ajax applications based on their powerful capabilities. While there are many quick application development tools available, Ruby on rails seems to have the ability to simplify building AJAX applications.
These frameworks give developers more room than they need to worry about cross-browser issues. While these frameworks enhance the developer's ability to build applications, there are a number of other factors to consider in the Ajax component market as vendors have developed a more detailed user interface packaged component solution. For example, several vendors that provide common user interface components such as combo boxes and data grids can be used to create a good experience in the application to view and edit data in a spreadsheet-like format. These components, however, not only encapsulate the user interface of the component, but also communicate with the server-side data, which typically uses a tagging approach to implement such as ASP.net or JSF controls.
In general, Ajax developers must follow up on the latest technology and take advantage of the high productivity toolset as quickly as possible. Successful AJAX developers also need to keep an eye on their users to avoid magnifying any problems. and Ajax developers need to innovate continuously to create new ways to enhance usability of Web applications.
Dave Johnson is the founder and preacher of ebusiness applications, a software consultancy company in Vancouver, Canada, with over seven years of experience in XML related work.
Ajax Developer's compilation mode: http://www.ajaxpatterns.org
XMLHttpRequest Tutorial: "Dynamic Web Interface": http://www.xml.com/pub/a/2005/02/09/xml-http-request.html
Ajax Resources: http://www.ajaxmatters.com
XML DOM Reference: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
Microsoft Dynamic HTML reference:http://msdn.microsoft.com/library/default.asp?url=/
Gecko DOM reference:http://www.mozilla.org/docs/dom/domref/
• "Transplant IE application to Mozilla"
Mozilla XUL Reference:
Microsoft XAML Reference:
James Jesses Garret introduced the term AJAX in he article "Ajax:a New approach to WEB applications," (Adaptive Path, February (in): "AJAX: New Web application Development approach"
jetbrains IntelliJ Idea:
Microsoft Visual Studio:
Document Object Model:
cascading Style Sheets:
Extensible Stylesheet Language:
Scaling Vector Graphics:
dwr (Direct Web Reporting):
Ruby on Rails:
for more on Ajax and DWR, read "Ajax Made simple with DWR, cloves Carneiro Jr. (Javaworld, June 2005): For Ajax and DWR, please read" a Jax Use DWR simpler "
for more articles in Java Development tools, browse the Development tools section of Javaworld ' s topical Index: more Java development Tool articles, browse Javaworld's Development Tools Section index page
for more articles in XML, browse the Java and XML section of Javaworld ' s topical Index: For more XML articles, browse javaworld Java and XML sections Index page
for more articles in UI design, browse the User Interface designing section of Javaworld ' s topical Index: For more UI-designed articles, see Java World's UI Design Section index page