In the Model-View-Controller principle, what is the Frontend and what is the Backend?

后端 未结 5 450
陌清茗
陌清茗 2020-12-23 17:43

Wikipedia says:

MVC provides front and back ends for the database, the user, and the data processing components. The separation of software systems

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 18:05

    Maybe the figure below can help..

    MVC               Human language    backend/frontend
    ---------------   ---------------   ---------------
    model          -> data           -> backend
    controllers    -> actions        -> backend/frontend (depends on implementation)
    views          -> GUI            -> frontend
    

提交回复
热议问题