Personally, I still recommend using the latter one. Using the mvc architecture can decouple the project very well, and it will not be painful if you change it in the future. The package structure is like this
This is a relatively small project, but it feels good to divide it this way
Personally, I still recommend using the latter one. Using the mvc architecture can decouple the project very well, and it will not be painful if you change it in the future. The package structure is like this
This is a relatively small project, but it feels good to divide it this way
If the project is relatively large and is developed in modules, it will be clearer to subcontract according to the module name