Home > Backend Development > PHP Tutorial > PHP frameworks like blogmi creatively store site articles and configurations directly in PHP files instead of databases using read and write functions. What are the advantages and disadvantages of this approach?

PHP frameworks like blogmi creatively store site articles and configurations directly in PHP files instead of databases using read and write functions. What are the advantages and disadvantages of this approach?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-04 09:21:00
Original
1276 people have browsed it

I personally experienced it and found that the response speed is extremely fast, much faster than reading articles from the database, but I always feel that this method will have sequelae.
Is this method suitable for a small personal website? (No complex functions such as user registration and comments)
Can this framework be directly applied to the production environment?
What are the side effects of long-term use?

Reply content:

I personally experienced it and found that the response speed is extremely fast, much faster than reading articles from the database, but I always feel that this method will have sequelae.
Is this method suitable for a small personal website? (No complex functions such as user registration and comments)
Can this framework be directly applied to the production environment?
What are the side effects of long-term use?

This is the embodiment of file caching, mainly due to high performance
Disadvantages: It is not easy to maintain and query

Related labels:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template