Home > Backend Development > PHP Tutorial > 用php做博客,文章一般存在哪里?是数据库还是html文件?

用php做博客,文章一般存在哪里?是数据库还是html文件?

WBOY
Release: 2016-06-20 12:42:54
Original
1418 people have browsed it

用php做博客,文章一般存在哪里?是数据库还是html文件?


回复讨论(解决方案)

肯定是数据库啊  HTML只不过是 从数据库里读出来 显示而已

毫无疑问是放在数据库里。Apache/Nginx 服务器------》使用PHP------》PHP操作数据库来增删改查。服务器从数据库取出数据后,发送静态的HTML给浏览器。

数据库,但是也有使用页面静态化,弄成html

数据库 + 缓存!

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