[Last week's technical attention] Ajax technical attention

Source: Internet
Author: User
Tags database issues
[Integrate Database Technology in Ajax Development]
Today, many web applications, such as backpack, blinksale, and Gmail, integrate database technology with Ajax. By providing a powerful technology that communicates with the database without refreshing the browser, this integration has a huge impact on web applications and user experience-this means that, you can transmit data in real time while continuing other interactions.

This article will focus on the above technology integration mechanism. It also provides complete reference source code. This example is a simple job record application where each job contains a title, description, and date-allowing users to add, edit, and delete jobs. All these are the basic operations you perform when dealing with database record data, but this application has taken a step further. A role can be changed into an editable form-it will be saved or deleted from the database, and displayed in its new state without refreshing the browser and interrupting user operations.

In this article, I assume that you have a preliminary understanding of Ajax, MySQL, PHP, or a similar server-side language. If you have not created any XML
For more information about HTTP request objects, see my article "How to Use Ajax ". Next, let's first discuss the database issues.
[Original address]

[
In-depth Ajax development based on the JMX notification framework]

Ajax and JMX are located at two opposite ends of the system management stack. However, Ajax models are now widely used in a wide range of browser clients. This makes the advantages of this model in the architecture field to improve the support mode in the problem parsing pipeline fuzzy.

This article describes in detail the advantages of an Ajax architecture-it can broadcast the management status to a user who can use a browser without waiting for page updates.

This architecture is an extension of a general model-it can be used to record JMX events and attributes to a server-side log file; and, this change further adds the management information record or "broadcast" to the (Ajax-supported) user base.

In this article, we will analyze the Ajax request/Response Model and draw the management data to the page, there is also a beautiful JMX notification framework-all of which are clearly integrated together through an assembled servlet.

Next, we will give a rough look at the content-security and capacity model, which is not commonly discussed in standard Ajax.

In this article, we use Bea
WebLogic 8.1 is used as the release platform for these software, although the architecture and methods here are also applicable to other J2EE application servers.
[Original address]

[Use Ajax technology to develop a new generation of Web applications 1-4)]
An ideal user interface should be invisible to users-only provide choices when users need them, otherwise they will not interfere with their work and let them focus on the work at hand. However, this is not an easy task. Today, we become accustomed to daily work through a less satisfactory UI until someone shows us a better way. Now, we gradually realize how hard our current approach is to do these things.

As the basic web browser technology used to display document content is pushed further beyond the scope of their previous capabilities, today's Internet is experiencing such an implementation.

Ajax (Asynchronous JavaScript + XML) is a very new name, named adaptive
Jesse James of Path
Created by Garret. Some parts of Ajax were previously described as dynamic HTML and remote scripts.

The emergence of AJAX is not just a new name. From a technical and commercial perspective, there are a lot of exciting things around Ajax. Technically speaking, Ajax has realized a lot of unrealized potential in Web browser technology. In terms of business, Google and other major businesses are gradually using Ajax technology to make the public realize what a web application can do.

The typical web applications we used to use today are under tremendous pressure, because the increasingly sophisticated world wide web-based services are becoming increasingly mature and applied to the Internet. Various new technologies are emerging to overcome these problems, and AJAX can better express these ideas only by using existing Internet technologies.

Using ajax, We have reused a bunch of original technologies, but expanded their original capabilities. We need to be able to manage the complexity we introduced. This article will discuss how to implement these technologies and how to manage large Ajax projects. We will introduce the Ajax design pattern and how it can help us complete our work. Design Patterns help us capture our knowledge and experience and use our current technology to communicate with other objects. By introducing rules to the code base, they allow you to easily create applications-you can modify and scale your project based on changes. Using design patterns for development is even a joy!
[Original address]


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.