I recently received a project, but I don't know if I want to prove my learning achievements in the past, so I want to use a three-tier architecture for development, however, we have found more and more discord factors in the development process (more may be found in the future). Now we will present them one by one. I hope some friends can give me some advice.
- The customer's requirements are vague, which makes it difficult to design a database. The three-tier architecture uses the entity layer for data transmission. How should we design such an entity layer, how to design other layers (your interface layer cannot be set). If you want to add a function later, you must first change the object Layer and then modify it layer by layer?
- Or the entity layer. If the other two layers are designed as web services, how can this layer be designed and transmitted?
- Because the customer requirements of this project need to share the load, the Project Manager requires that the three layers must be installed on different servers, then, according to the ideas of most people in the garden (such as petshop), how should we build different class libraries on different servers and how can they access each other, what if one layer still wants to be divided into unused servers?
- If each layer is designed as a web service, how can this problem be solved? How to upload a layer? In the end, will the Web service become very bloated? It seems that I have read a lot of information in the garden and have not found any examples of the application of the web service in the three-tier architecture, in addition, I tried to find that the Web service cannot return the interface generated in the factory mode, prompting that the interface cannot be serialized.
- I don't know if I will encounter any other problems in the future .................... very confused ........................