简体   繁体   English

MVC是OOP概念吗?

[英]Is MVC an OOP concept?

As the title indicates, my question is if Model-View-Controller pattern belongs to object-oriented programming. 如标题所示,我的问题是Model-View-Controller模式是否属于面向对象的编程。

I have been programming with PHP 5 with models, views and controllers using a framework, but a friend is telling me that is possible to use this pattern also in functional programming? 我一直在使用PHP 5通过框架使用模型,视图和控制器进行编程,但是一位朋友告诉我在函数式编程中也可以使用这种模式吗?

Is he right? 是吗 thanks for your usual explanations. 感谢您的一贯解释。

There is no better answers to your questions than this You have to fully Understand the MVC 没有比这更好的答案了。您必须完全了解MVC

How should a model be structured in MVC? 在MVC中应如何构建模型?

And

MVC for advanced PHP developers 适用于高级PHP开发人员的MVC

Also have look on this Scala functional PL 也可以看看这个Scala功能PL

http://www.scala-lang.org/old/node/485 http://www.scala-lang.org/old/node/485

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM