ASP Getting Started tutorials-asp and scripting languages

Source: Internet
Author: User
Tags html page what is asp

What is ASP

ASP called Active Server Page (English full name Active Server Pages) is a programming environment in which you can mix HTML, scripting languages, and components to create server-side powerful Internet applications. If you have previously created a site that mixes HTML, scripting languages, and components, you can add ASP program code to it. Also, you can include some business logic rules by using components. A component can be called by a script program or by another component.

How the ASP works:

When you incorporate ASP functionality into your Web site, the following events occur:

1, the user calls out the site content, the default page extension is. asp.

2, the browser request ASP files from the server.

3, server-side script started running ASP.

4, ASP file in order to start from top to bottom processing, execute script command, execute HTML page content.

5, the page information sent to the browser.

Because the script is running on the server side, the Web server completes all processing, sending the standard HTML page to the browser. This means that the ASP can only run on servers that are supported. Another advantage of having the script reside on the server side is that the user cannot see the code of the original script, and the user sees only the resulting HTML content.

Scripting languages  

A script is a program code that is embedded in a Web page, and the programming language used is called a scripting language. Depending on how and where they are executed, the scripts are divided into client script and server-side scripts. Client script is executed on the client computer by a Web browser, and server-side scripts are executed on the server-side computer by the Web server. A scripting language is an interpreted language in which the interpreter for client script is located in a Web browser, and the interpreter for the server script resides on the Web server. Static Web pages can contain only client-side script, and dynamic Web pages may contain client script and server script

Microsoft has developed two standard scripting languages: VBScript and JScript. VBScript is the newest member of the Visual Basic family of program development languages, and it applies flexible scripts to a wider range of areas, including client script in Microsoft Internet Explorer and Microsoft Internet Server-side script in Information Server. However, Netscape's Navigator browser does not support the client's VBScript script, so it is best not to use the VBScript language on the client side, and not to worry about browser support at the server end.

JScript is an interpreted, object-based scripting language.

See the full set of ASP Getting started tutorials

Related Article

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.