client-MVC vs server-MVC

前端 未结 5 774
温柔的废话
温柔的废话 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条回答
  •  闹比i
    闹比i (楼主)
    2021-02-02 11:43

    Server MVC benefits:

    1. Mature.
    2. Widely adopted.
    3. Most of the code is inside server so should be more secure.

    But definitely the tendency is to back to client/server computing but instead of fat clients written in C or another language but now you have a very nice platform: The browser.

    I have a simple policy about when I use Server side MVC and client side MVC:

    1. Casual users with few interactions: Server + Ajax.
    2. LOB application (Accounting, ERP, CRM, etc.): Client.

    BTW I use Java Server Faces for #1 and ExtJS backed up by JAX-RS services for #2.

    Regards.

提交回复
热议问题