(1) the customer needs to interact with different data sources. Data may come from different databases, and they all have different complex patterns. However, the customer interacts with these databases only through one scaling language, that is, XML. Because
(1) the customer needs to interact with different data sources. Data may come from different databases, and they all have different complex patterns. However, the customer interacts with these databases only through one scaling language, that is, XML. XML is sufficient to express various types of data because of its customization and scalability. After receiving the data, the customer can process the data or transmit it between different databases. In short, XML solves the same interface title of data in such exploitation. However, unlike other data transmission scales, XML does not define the specific data presentation specifications in data files, but adds tags to the data to express the logical structure and meaning of the data. This makes XML a specification that a program can actively understand.
(2) it is used to distribute a large number of computing loads on the client, that is, the customer can select and create different exploitation programs based on their own needs to process data, the server only needs to issue the same XML file. The above example is still true. for example, in the traditional "customer/server" working method, the customer sends different requests to the server, and the server distinguishes and responds, which not only increases the load on the server itself, in addition, network administrators must investigate various user requirements in advance to develop different programs. However, if the user requirements are complex and changing, however, it is appropriate to concentrate all the business logic on the server. because the server programmers may not be able to meet many utilization requirements, nor can they keep up with the changes, both parties are passive. With XML, the initiative to process data is handed over to the customer. what the server does is to encapsulate the data into XML files as well and accurately as possible, which is exactly what they need and what they do. The XML self-description allows the client to understand the logical structure and meaning of the data while receiving the data, so that the extensive and general distributed calculation is possible.
(3) presents the same data to different users in different ways. This utilization 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 exploitation will pave the way for the personalized and style development of the web user interface.
(4) use the network proxy to compile, increase or decrease the information obtained to meet the needs of individual users. Some customers do not directly apply data, but organize their own databases as needed. In comparison, the Ministry of Education has established a grand question bank. during the test, the subject of the question bank is taken out to form a number of examination papers, and then the examination is encapsulated into an XML file. The next step is the best part, in each school, let it filter all the answers through a filter, and then send them to the eyes of all candidates. unfiltered content can be directly sent to the teacher, of course, you can also send an answer compilation after the quiz. In addition, the XML file can contain other related information such as difficulty coefficient and error rate in previous years. in this way, only a few small programs are required, the same XML file can be transferred into multiple files to different users.