Tell me about how to layer the current system architecture.

  node.js, question

Recently, I took over another project. I found that everyone is really good at using MVC framework. Almost all logic is written in layer c?

  • Does your project also encounter such problems?

  • Is MVC really enough?

  • How much is used in the Service layer?


update


At least I think that the C layer should keep clear logic and simple variable initialization. All detail logic should not be in the C layer. I mean, the most complicated control center will only have complicated buttons. Do not pile up the raw materials for manufacturing buttons here.

Play liumang is the only place to talk about breaking away from business.