As the topic.
Background: c/s, winform procedure. At present, the company boss to open a new project, the code using the SVN permission management. Development which module to take the corresponding module code; The program is a project. So there will be some 2, changes to the modules.
Question: would you like to ask you, what kind of good method to supervise and control the code access.
Now I think of the plan is as follows:
1. The overall framework.
1. To design a startup main frame, main frame in all carried out in accordance with the reflection to the operation of the DLL.
2. The name of the class library, all the main method in the database maintenance is clear, follow the menu maintenance, can the function of the dynamic management online menu.
3. Can read boot method in SVN, but can't upload the.
2. The code management
1. The SVN permission, everyone's division of different modules, development to the block of code is different.
2. Public libraries to the library only, not to the code details. No global variables in the code. If you want to use, add redis for middle management. Reduce the coupling.
3. According to the above there are a few problems haven't figured out this way.
1. I here how to plan as a whole the code, I built a solution all libraries are added to the solution?
2. Friends how development. Also built a solution will project themselves to add?
3. If there is a project change, how to manage?
Now I want to the solution of the directory structure
Solution
Public library
Start the class library
1 module folder
1 module library
1 module library - A (different project)
1 module library - B (different project)
2 modules folder
2 module library
2 module library - A (different)
2 module library - B (different project)
3 modules folder
4 modules folder
Is the whole team to share code before, haven't been such management, so want to ask you is there a better way.
Thank you.!