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?

WBOY
Release: 2016-08-04 09:21:00
Original
1209 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:
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!