What is an MVC framework and why is it necessary/useful?

前端 未结 9 779
自闭症患者
自闭症患者 2021-02-02 03:01

I know that an MVC framework allows you to separate business logic, data base access and presentation, but why do we need a framework to do this.

Can\'t we just keep ou

9条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-02 03:37

    MVC and framework is a different thing. MVC is just an architectural pattern, which can be applied with any project, with or without framework.

    So you don't need a framework to do this. You can separate them by yourself. :)

提交回复
热议问题