1. Implement Code separation
A mature software development team generally do not fully handwritten code, the code is described here as long as the development of the small skills, through the underlying framework + manual code approach to achieve rapid development and rapid expansion;
Code folder files are not allowed to modify, the folder is mainly stored in the system automatically generated code, the same DAL layer run two class names are the same, with the partial merge class, but two classes do not allow the same name with the same parameter method;
Using the partial keyword to combine two small tricks with the same name, the Code repository tool automatically generates code classes, and the root directory contains custom method classes that are manually added.
In the late expansion due to the previous code is placed separately, so the database new field adjustment automatically can again generate the underlying code coverage, and does not affect the method of adding manually, so as to facilitate code extension.
2. Modular development
Modular structure development, minimizing coupling between modules, avoiding one module problem affecting the use of other functional modules
3. Reserved related interface
Early in the system architecture, consider the project system integration that need to be involved, do the interface reservation
A, the usual use of several interface methods:
1. HTTP POST XML interface mode
2, WebService interface mode
3. WCF interface mode
4. FTP Data Interchange Interface mode
B. Several data interchange formats are commonly used:
1, XML comparison normalization, need to self-analysis, universal
2, JSON lightweight, no complex parsing, universal
3, DAT take FTP data exchange use more
Web Development Performance Optimization---extended performance chapter