Why is it implemented in xml?-php Tutorial

Source: Internet
Author: User
Here is why we use xml to implement it. Dear Li Yanhui, we are working on the actual practice section 44th in your php second season. there is a logic in this lecture!
Some of your previous work was written using the mysql database and php, but why is it here (new members)? it was suddenly implemented using xml. Isn't xml obsolete because it is too bloated? Also, why don't you use mysql here. It's confusing. can you tell me? thank you.


Reply to discussion (solution)

Xml text and databases are all stored.
Which one can be used? of course, it is better to use a database.

The possible example is to explain how to use xml to save data and read/write data.

Dear instructor Li Yanhui, I am making part 44th of your php practice in the second quarter. there is a logic in this lecture!
Some of your previous work was written using the mysql database and php, but why is it here (new members)? it was suddenly implemented using xml. Isn't xml obsolete because it is too bloated? Also, why don't you use mysql here. It's confusing. can you tell me? thank you.



Xml text and databases are all stored.
Which one can be used? of course, it is better to use a database.

The possible example is to explain how to use xml to save data and read/write data.


It seems that this is not the case. only the person doing the station can explain his thoughts at that time. maybe he was forced to be helpless at that time. maybe he only wanted this at that time.

If the data volume is small, XML itself can be used as a small Database. for example, it can store four or six words and use x-path for parsing.

You should give the source of the tutorial

You should give the source of the tutorial


Don't scare me, don't you?

You are questioning the question about the tutorial, but are not willing to give the content of the tutorial.
How can I know the original intent of the tutorial? Are you wrong?

I just want to go to the tutorial because I don't understand it.
Instead of randomly guessing the author's intent

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.