Home >Backend Development >PHP Tutorial >php中mvc的问题

php中mvc的问题

WBOY
WBOYOriginal
2016-06-23 14:10:07790browse

针对于php中如何用mvc的设计模式实现增删查改的功能


回复讨论(解决方案)

增删查改主要是在M(Model)层
找PHP AMP看看,可以了解下。 : )

找一个用MVC写的代码 看看

可是我是新手没有耶,麻烦发一下代码来看看,谢谢

smarty

mvc只是一个编程思想,并不一定非要按照这个来写代码。你试着用用主流的php框架,它们的mvc都分的很清楚,用一下你就清楚了

mvc是开发模式

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