Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

12.14. 数据库访问

早期php访问数据库的做法是写一个连接文件,include包含进来,然后在页面使用sql操作函数,返回结果。

		

另外设计一个框架是还要考虑,切割表,分库。

12.14.1. CRUD

12.14.2. Active Record

12.14.3. OR Mapping