1. The biggest purpose of the web application directory and file structure to establish a directory classification is to easily manage a wide variety of file types in the web application (.htm, .html or .asp) And Global.asa (must be placed in a virtual root directory) b. Content Directory c. Header Directory D. Multimedia File Directory E. Component Directory F. Data Directory
2. ASP file design practices a. Transfer HTTP header to add header information in the ASP file. If there is no, IIS will automatically make up the header information, this will consume additional processing time b. Do not use the HTML and ASP Script doping to use c. @ Predecessor command Use DW to create an ASP page will be added automatically @ Guide command, contains Code and LanguageD. ASP introduction file (include file)
e. Option Explicit can save some troubles, also help the execution efficiency of the program. F. Writing the ASP program programming is not just writing program code that can be executed or perform efficiency, and consider teamwork, programs and procedures Between, or communicate between people and the costs required for future maintenance procedures. i. Let the program code set in the area II. Define the program required by the ASP file Recommended to place all the programs used in the ASP file (including Function and Sub), it is best to place the program on the final or forehead of the program on the ASP file.
3. Execute IIS and Tech of the design ASP program a. Before the average distribution, the backend program performs the load before and after the load, you can work by the front-end, do not increase the burden on the backend B. Select variable type - The local variable efficiency of almost any program language is higher than the global variable. The maximum variable D.