how to implement mvc in core php

前端 未结 8 2159
余生分开走
余生分开走 2020-12-29 00:52

how is mvc architecture used in php without any framework?

8条回答
  •  一向
    一向 (楼主)
    2020-12-29 01:18

    It's not. Core PHP is a "start in global namespace statement and expression oriented language". You need extra code (and an optional URL Rewriter) to implement any kind of MVC architecture. That extra code is your framework.

提交回复
热议问题