What is ASP

云罗郡主
Release: 2019-01-02 17:07:41
Original
73641 people have browsed it


What is ASP

1: What is ASP

ASP is Active Server Pages, a server developed by Microsoft Corporation A side-side scripting environment that can be used to create dynamic interactive web pages and build powerful web applications. When the server receives a request for an ASP file, it processes the server-side script code contained in the HTML (Hyper Text Markup Language) web page file that is used to build it and sends it to the browser. In addition to server-side script code, ASP files can also contain text, HTML (including associated client-side script) and COM component calls. [Recommended reading: What is .NET]

ASP is simple and easy to maintain. It is the choice for small page applications. When using DCOM (Distributed Component Object Model) and MTS (Microsoft Transaction Server), ASP can even implement medium-sized enterprise applications.

2: Programming development

1. Hardware environment

The running of ASP program has no special requirements for the hardware environment, and usually has the ability to meet the requirements of Windows operation The hardware equipment required for system operation is enough. The basic memory capacity requirement is 64MB, and the recommended memory capacity is 128MB or more. In addition, there should be more than 1G of hard disk space to install the required software.


2. Software environment

In terms of software environment, because ASP is launched by Microsoft, it can only be used under the Microsoft Windows operating system and its supporting web server. It can only be run with the support of software. Various wiIldows operating systems of MicroSoR can be used as the operating platform of ASP. Among them, the Personal Server running under Windows 98 operating system is generally referred to as PWS, while the Personal Server running under Windows 98 operating system is referred to as IIS.

Three: ASP development environment

1. Use simple and easy scripting languages ​​such as VBScript and JavaScript. Combined with HTML code, you can quickly complete the website application and implement dynamic web page technology.

2. The ASP file is contained in a file composed of HTML code, which is easy to modify and test, and can be interpreted and executed without compilation or linking.

3. The scripting language used by ASP is executed on the Web server. The ASP interpreter on the server will execute the ASP program on the server and transmit the results to the client browser in HTML format.

4. ASP provides some built-in objects. Using these objects can make server-side scripts more powerful.

5. ASP can use server-side ActiveX components to perform a variety of tasks, such as accessing databases, discovering emails, or accessing file systems.

6. Since the server transmits the result of ASP program execution back to the client browser in HTML format, the user will not see the original program code written by ASP, which can prevent the ASP program code from being stolen.

Four: How ASP works

The script program in ASP is run on the server side (rather than on the client side) and is transmitted to the browser The web pages on the server are generated on the web server. Therefore, the client browser does not process these scripts, the web server has completed processing these scripts and transmits the standard HTML page to the browser. The ASP interpreter reads and executes all script code between the tags and generates content. Since only the execution result of the script is returned to the browser, the user cannot see the script commands of the web page being browsed, but only the execution result of the script.



The above is the detailed content of What is ASP. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
asp
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template