Comparison on the loss of a little XML and data base

xiaoxiao2021-03-06  40

For large data retrieval, even if it is not a large number of files, it is recommended to use the database.

Because of the basic XML file is a text file, I will not say the reading efficiency of text files, but XML

It is also beneficial, for example, we can use its characteristics to disperse the pressure of the database, just like the most typical

It is 9CBS, why is 9CBS to use XML, it is to partially press, and the readings of these data do not have a database.

So if you want to do it, you must clear the advantages and disadvantages of XML, try to avoid shortcomings and use advantages.

Let's take 9CBS as an example.

Traditional website is, enter the page name -> xxx.asp? Id = 123

Read ID information, select * from table where id = xxx

Display the content, finally generated page

While Not Rs.eof Wend uses the data structure of the class VB language, I want everyone to understand

If it is XML, it doesn't need to be displayed directly.

I want to see you have questions, what is the difference between HTM??

It is clear that XML is structured. We only need to add appendchild that apndchild is information.

And HTM, destroyed this SAVE, no such good structure, change time

So, in summary, XML makes up for some missing text files and databases (the deletion of the database refers to a large number of read readings of the database)

Of course, the shortcomings of XML are also said on the side. If you don't have the database, you only use XML, efficiency is definitely devastating * ^ _ ^ *

转载请注明原文地址:https://www.9cbs.com/read-50937.html

New Post(0)