这边为啥用xml来实现呢

WBOY
Release: 2016-06-13 12:27:13
Original
831 people have browsed it

这里为啥用xml来实现呢
亲爱的李炎恢老师,正在做你的php第二季中的实战部分第44讲,在这一讲中有一个逻辑思路不解!
你以前的部分全是用的mysql数据库配合php写的,可是为啥到这里(新增会员),突然用xml来实现呢。不是说xml因为太臃肿被淘汰了吗?还有,为啥你这里不用mysql来实现呢。此中肿肿,大惑不解啊,能不能说说,谢谢
------解决思路----------------------
如果数据量不大的话,XML本身可以作为小型数据库来使用的,比如存放四六级单词之类的,用x-path解析,速度还是可以的。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!