Understanding Web Page Tool Language XML (IV) Application Classification


IV. Classification of XML Applications
Generally speaking, the application of XML can be divided into four categories:
(1) When customers need to interact with different data sources. Data may come from different databases, each of which has its own complex format. But customers interact with these databases only through a standard language, XML. Because of its customization and extensibility, XML is sufficient to express various types of data. After receiving the data, customers can process it or transfer it between different databases. In a word, in such applications, XML solves the problem of uniform interface of data. However, unlike other data transfer standards, XML does not define specific specifications for data appearing in data files, but adds tags to data to express the logical structure and meaning of data. This makes XML a specification that programs can automatically understand.
(2) Used to distribute a large amount of computing load on the client side, that is, the client can choose and make different applications to process data according to their own needs, while the server only needs to issue the same XML file. As an example, if the client sends different requests to the server and the server responds separately according to the traditional “client/server” mode of work, this not only increases the load of the server itself, but also requires the network manager to investigate various user needs in advance to make corresponding different programs. However, if the user’s needs are complex and changeable, all business will still be carried out. It is inappropriate to concentrate logic on the server side, because the programmers on the server side may not be able to meet the needs of many applications, nor to keep up with the changes of requirements, both sides are passive. The application of XML gives the client the initiative to process data. What the server does is to encapsulate the data into the XML file as perfectly and accurately as possible. It is precisely what each needs and does its duty. The self-explanatory nature of XML makes it possible for clients to understand the logical structure and meaning of data while receiving data, thus making it possible to use widely and widely distributed computing.
(3) Applied to displaying the same data to different users in different ways. This application can also be reflected in the example above. It is similar to the same script, but we can use different forms of TV, film, drama, animation and so on. This application will pave the way for the personalized and stylized development of the network user interface.
(4) Apply to the network agent to edit, add or subtract the information obtained to meet the needs of individual users. Some customers acquire data not for direct use but for organizing their own databases as needed. For example, the Ministry of Education establishes a huge question bank. When examining, the questions in the question bank are taken out and packaged into an XML file. Then the best part is to let each school pass a filter to filter out all the answers and send them to each examinee. The unfiltered content can be sent directly to the teacher. Of course, after the examination, the unfiltered content can be sent directly to the teacher. You can also send another compilation of answers. In addition, the XML file can also contain other relevant information such as difficulty coefficient, error rate in previous years, so that the same XML file can be transformed into multiple files and transmitted to different users with only a few small programs.

Recommended Today

Rust programming video tutorial (Advanced) – 024_ 3 syntax of all modes 3

Video address Headline address:https://www.ixigua.com/i677586170644791348…Station B address:https://www.bilibili.com/video/av81202308/ Source address GitHub address:https://github.com/anonymousGiga/learn_rus… Explanation content 1. Ignore values in mode(1) Use_ Ignore entire valueexample: fn foo(_: i32, y: i32) { println!(“This code only uses the y parameter: {}”, y); } fn main() { foo(3, 4); } Note: placeholders are used for parameters in the function, mainly when implementing […]