Home > Backend Development > PHP Tutorial > 关于 php mvc

关于 php mvc

WBOY
Release: 2016-06-23 14:34:51
Original
899 people have browsed it

php到底需不需要mvc模式中的c?

model负责与数据库打交道, model模块提供所有view所需要调用的接口, 展示view时, 通过拼接html标签加model提供的接口完成.

control则由html端完成. 

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