Recall ASP compiling

Source: Internet
Author: User

Not used for a long timeASPWriteProgramToday, a friend asked me to modify it for him.ASPProgram, it feels very kind to the program. I used to do it.ASPNow.NetDeveloped. used todayASPBut what I want to say today is that I was developingASPSome experiences in the program are also the basic law for writing the program.ASPProgrammers can help you. Let's get started:

1.Page framework definition andCodeSeparation (generally usedCSS + XML)

2.Encapsulate programs into segments by function to facilitate expansion.

3.Try to use duplicate codeIncludeEmbedded.

4.Make full use of public fields to avoid wasting memory resources.

5.Page implementation by encapsulation function combination.

6.Strictly filter codes to avoid leakage and avoid allowing users to see any accurate information.

7.Do not trust any input.

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.