1. <i id='GlzAE'><tr id='GlzAE'><dt id='GlzAE'><q id='GlzAE'><span id='GlzAE'><b id='GlzAE'><form id='GlzAE'><ins id='GlzAE'></ins><ul id='GlzAE'></ul><sub id='GlzAE'></sub></form><legend id='GlzAE'></legend><bdo id='GlzAE'><pre id='GlzAE'><center id='GlzAE'></center></pre></bdo></b><th id='GlzAE'></th></span></q></dt></tr></i><div id='GlzAE'><tfoot id='GlzAE'></tfoot><dl id='GlzAE'><fieldset id='GlzAE'></fieldset></dl></div>

        <bdo id='GlzAE'></bdo><ul id='GlzAE'></ul>
    2. <legend id='GlzAE'><style id='GlzAE'><dir id='GlzAE'><q id='GlzAE'></q></dir></style></legend>

      <small id='GlzAE'></small><noframes id='GlzAE'>

      <tfoot id='GlzAE'></tfoot>

        ZF2 是基于 MOVE 的吗?

        时间:2023-10-02

        <small id='N18gp'></small><noframes id='N18gp'>

          1. <legend id='N18gp'><style id='N18gp'><dir id='N18gp'><q id='N18gp'></q></dir></style></legend>
              <tbody id='N18gp'></tbody>
            • <bdo id='N18gp'></bdo><ul id='N18gp'></ul>
              <i id='N18gp'><tr id='N18gp'><dt id='N18gp'><q id='N18gp'><span id='N18gp'><b id='N18gp'><form id='N18gp'><ins id='N18gp'></ins><ul id='N18gp'></ul><sub id='N18gp'></sub></form><legend id='N18gp'></legend><bdo id='N18gp'><pre id='N18gp'><center id='N18gp'></center></pre></bdo></b><th id='N18gp'></th></span></q></dt></tr></i><div id='N18gp'><tfoot id='N18gp'></tfoot><dl id='N18gp'><fieldset id='N18gp'></fieldset></dl></div>
              • <tfoot id='N18gp'></tfoot>
                • 本文介绍了ZF2 是基于 MOVE 的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我想知道 ZF2 是否完全基于 MOVE 而不是经典的 MVC.

                  I'm wondering if ZF2 is based entierly on MOVE instead of the classic MVC.

                  我读到的某处确实基于 MOVE (http://cirw.in/blog/time-to-move-on) 但例如在入门教程"(http://zf2.readthedocs.org/en/latest/user-guide/overview.html)中,他们说使用模型-视图-控制器范例创建一个简单的数据库驱动应用程序".

                  Somewhere I read that is really bases on MOVE (http://cirw.in/blog/time-to-move-on) but e.g. in the "getting started tutorial" (http://zf2.readthedocs.org/en/latest/user-guide/overview.html) they are saying "creating a simple database driven application using the Model-View-Controller paradigm".

                  那么,它现在基于什么?两者都支持吗?

                  So, what is it now based on? Does it support both?

                  我有点困惑.ZF1和ZF2在MVC上有什么区别?

                  I'm a bit confused. What are the difference at MVC between ZF1 and ZF2?

                  谢谢

                  推荐答案

                  MOVE (Models, Operations, Views and Events)
                  MVC (Models, Views, Controllers)
                  

                  MVC 的问题是你最终会在控制器中塞入太多代码,为了克服这个问题 MOVE 是另一个在 zf2 项目中可以选择的选项,因为在这种架构中,您可以将控制器拆分为事件和操作.

                  The problem with MVC is that you end up stuffing too much code into controllers, to overcome this problem MOVE is another possible option to choose in zf2 projects, Because in this architecture you can split your controller into Events and Operations.

                  问题:ZF2 是否完全基于 MOVE 架构?

                  我不认为 ZF2 是完全基于 MOVE 架构设计的.ZF2 遵循 SOLID 面向对象设计 原则和松散耦合的 MVC 架构 在可用性方面提供了更大的灵活性.

                  I don't think ZF2 is designed entirely on MOVE architecture. ZF2 follows the SOLID object oriented design principle with loosely coupled MVC architecture which provide more flexibility in terms of usability.

                  问题:我可以使用 ZF2 中的 MOVE 架构开发我的项目吗?

                  是的,ZF2 为您提供了支持两种架构(MOVE、MVC)的一切.它提供模型、视图、控制器(操作)、事件.他想使用哪种架构取决于开发人员.

                  Yes ZF2 provides you with everything to support both architectures (MOVE, MVC). It provides Models, Views, Controllers(Operations), Events. It is up to the developer which architecture he would like to use.

                  ZF1 和 ZF2 在另一个线程中进行比较.

                  MVC 或 MOVE

                  SOLID 面向对象编程

                  这篇关于ZF2 是基于 MOVE 的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:ZF2 如何 orWhere() 下一篇:Wamp 服务器:多个虚拟主机在 Windows 上不工作

                  相关文章

                  最新文章

                  1. <i id='ZM7XZ'><tr id='ZM7XZ'><dt id='ZM7XZ'><q id='ZM7XZ'><span id='ZM7XZ'><b id='ZM7XZ'><form id='ZM7XZ'><ins id='ZM7XZ'></ins><ul id='ZM7XZ'></ul><sub id='ZM7XZ'></sub></form><legend id='ZM7XZ'></legend><bdo id='ZM7XZ'><pre id='ZM7XZ'><center id='ZM7XZ'></center></pre></bdo></b><th id='ZM7XZ'></th></span></q></dt></tr></i><div id='ZM7XZ'><tfoot id='ZM7XZ'></tfoot><dl id='ZM7XZ'><fieldset id='ZM7XZ'></fieldset></dl></div>
                    • <bdo id='ZM7XZ'></bdo><ul id='ZM7XZ'></ul>

                    <legend id='ZM7XZ'><style id='ZM7XZ'><dir id='ZM7XZ'><q id='ZM7XZ'></q></dir></style></legend>
                    1. <small id='ZM7XZ'></small><noframes id='ZM7XZ'>

                      <tfoot id='ZM7XZ'></tfoot>