Web Development Performance Optimization---extended performance chapter

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.