Introduction to WEB page tool Language XML (4) application classification

Source: Internet
Author: User
IV. XML application classification generally, XML applications can be divided into four categories: (1) when users need to interact with different data sources. Data may come from different databases, and they all have different complex formats. However, the customer interacts with these databases in only one standard language, that is, XML. XML is customizable and scalable. 4. XML application classification
In general, XML applications can be divided into four categories:
(1) it is used when the customer needs to interact with different data sources. Data may come from different databases, and they all have different complex formats. However, the customer interacts with these databases in only one standard language, that is, XML. Due to the customization and scalability of XML, it is sufficient to express various types of data. After receiving the data, the customer can process the data or transmit it between different databases. In short, XML solves the unified interface problem of data in such applications. However, unlike other data transmission standards, XML does not define specific specifications for data in data files, but adds tags to the data to express the logical structure and meaning of the data. This makes XML a specification automatically understood by a program.
(2) distribution of a large amount of computing load on the client, that is, the customer can select and create different applications to process data according to their own needs, and the server only needs to issue the same XML file. For example, in the traditional "customer/server" mode, the customer sends different requests to the server and the server responds separately, which not only increases the load on the server itself, in addition, network managers must investigate various user needs in advance to develop different programs. However, if the user needs are complex and changing, it is not appropriate to concentrate all the business logic on the server, because the server programmers may not be able to meet the needs of a large number of applications, nor be able to keep up with the changes in requirements. both sides are passive. The application XML gives the customer the initiative to process data. what the server does is to encapsulate the data into XML files as far as possible and accurately, which is exactly what they need and what they do. The self-explanatory XML allows the client to understand the logical structure and meaning of the data while receiving the data, thus making extensive and common distributed computing possible.
(3) it is used to present the same data to different users in different ways. This application can also be reflected in the above example. It is similar to the same script, but we can use TV series, movies, dramas, cartoons, and other forms. This application will pave the way for personalized and stylish Web user interfaces.
(4) used by the network proxy to edit, increase, or decrease the obtained information to meet the needs of individual users. Some customers do not directly use the data to organize their own databases as needed. For example, the Ministry of Education has set up a huge question bank. during the examination, several questions in the question bank are taken out to form the exam, and then the exam is encapsulated into an XML file. The next step is the most exciting part, in each school, let them filter all the answers through a filter, and then send them to each candidate. unfiltered content can be directly sent to the teacher, of course, you can also send a compilation of answers after the exam. In addition, the XML file can contain other related information such as the difficulty coefficient and the error rate in previous years. This requires only a few small programs, the same XML file can be transferred into multiple files to different users.

The preceding section describes the detailed content of the WEB page tool Language XML (4) application classification. For more information, see other related articles in the first PHP community!

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.