Beginner ASP you need to know which

Source: Internet
Author: User

In the absence of contact with the ASP of the case of learning ASP is best from the basic knowledge, the most basic easy is the simplest as long as the hard learning will soon learn.

ASP (Active Server Pages)called server-side Dynamic Web pages, isMicrosoftdevelopment of the server scripting environment. ThroughASPcan be discussed with the previousHTML, scripting language, and some components to create dynamic, interactive, and efficientWebapplication that is used for network information processing. BecauseASPis a scripting language technology developed by Microsoft, embedded inIIS, therefore,ASPbecomeWindowsa user-preferred information system development environment.

How ASP works when the browser makes a request to the Web Server . asp files, the server-side script starts to run, andtheWeb Server calls   ASP, which processes the requested file from beginning to finish, executes script commands, and sends the WEB page to the browser in an HTML file format.

Because the script runs onWebThe server side, not the client, generates a message sent to the browserHTMLpages and other workWebThe server is responsible. SoASPfiles cannot be likeHTMLThe file is opened directly by the browser and must be performed by an interpreter in the server-side runtime environment. Because returning to the browser is just the result of running the script, soWebserver-side scripts cannot be pre-replicated toASPyou can prevent users from viewing source code and copying scripts.

Because ASP has no compatibility problem with browser-independent, does not need to compile and connect the literal language environment, the programming environment is simple (plain text file form and any text editor can edit), transfer data small, easy access to database and other major advantages, coupled with simple syntax structure, Become the most popular WEB application currently in use .  However,ASP also has some problems such as running speed and some network operating systems not supported.

Features of ASP

Dynamic Web site for Web developers, not only to obtain user feedback information, according to user needs to update the site, but also through the user identification, realize the information of the * * *, to obtain revenue, for users, can enhance the participation of the Internet, From passive recipients of information to information recipients, users can quickly find useful information on the web as needed.

The powerful function of ASP makes its technology become the most applied server-side scripting environment in the world today, its function is mainly in the following aspects.

(1) To process the user to submit the request in the form of access, directly manipulate the database, query, INSERT, UPDATE, delete and other operations;

(2) Recording client-related data information;

(3) Realize data sharing among multiple pages;

(4) Embed Active X,COM components, and Javaappletin your app.  The above functions can be combined to realize the network information processing and management work.

ASP Basic Syntax

(1) asp program file with .asp Span style= "font-family: ' The song Body '; > is the end. The server interprets web page, if yes .htm or .html .asp documents, The server processes the client's request and delivers the results to the client.   

(2) Letters are not case-sensitive, except for strings, you must enter punctuation in the English half-angle state, otherwise it will not work properly.

(3) TheASP statement must be written in a branch, an ASP statement is a row, you can not write multiple ASP statements in one line, It is also not possible to write a statement in more than one line, a statement that is too long to be underlined as a continuation character, or an automatic line wrapping method.

(4 asp statements are often associated with html tags are used together, but delimited by a delimiter. asp All the in the document Span style= "font-family: ' Times New Roman ';" >asp statement and asp Span style= "font-family: ' The song Body '; > The script statement must be <%&NBSP;%> mark to define.

(5)ASP calls some scripts ( For example VBScript) The interpreter removes whitespace characters from the instruction. Use HTML nonbreaking spaces ( ) when outputting whitespace characters .


Beginner ASP you need to know which

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.