Home  >  Article  >  Backend Development  >  一般一些网站的杂项数据是如何存放的

一般一些网站的杂项数据是如何存放的

WBOY
WBOYOriginal
2016-06-13 11:59:201117browse

一般一些网站的杂项数据是怎么存放的?
比如网站的标题、logo-url、版权信息等,一般是存在数据库还是文件里?
------解决方案--------------------
弄个表管理下,维护起来比较方便。
------解决方案--------------------
没用的东西尽量别往数据库放,像这类文件处理方法比较多,作用不大的都是作为Public处理
------解决方案--------------------
这种我一般是放在一个表里面,网站的基本信息之类的,然后在后台是---系统设置(管理)
------解决方案--------------------
可以存数据库里,也可以存文件里。存文件里也可以通过后台管理。

Statement:
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