client-MVC vs server-MVC

前端 未结 5 822
温柔的废话
温柔的废话 2021-02-02 10:56

I am looking to get some input from other users on the benefits of server-side MVC. With the power of many javascript libraries. What good purpose does server-side MVC server

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-02 11:30

    Well, you are still going to need an initial page, which could be served by a server-side MVC engine.

    Apart from that, client-MVC + REST could work, but I think in big applications you still have different sections and you need to tie these sections together. This would be possible doing it client-side, but I think it's easier to do that server-side.

    For the moment I can see both coexisting happily. You could still do as much as possible on the client-side and through REST, but if something is not possible client-side, you still benefit from the server-side advantages of MVC

提交回复
热议问题