Home  >  Article  >  Backend Development  >  discuz!X3.2版中怎么封装数据库的

discuz!X3.2版中怎么封装数据库的

WBOY
WBOYOriginal
2016-06-13 12:07:11821browse

discuz!X3.2版中如何封装数据库的

本帖最后由 z2916070581 于 2014-09-30 22:08:54 编辑 大家知道x版本对数据库进行了封装,调用数据库一般用C::t语法调用,那么
它的数据库封装思路是什么呢?
------解决思路----------------------
不就是MVC的思路么?就是调用DB类操作数据库
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