ASP Primer: A brief introduction to ASP's Basics

Source: Internet
Author: User
Tags html form html tags iis requires

ASP files can contain text, HTML tags, and scripts. The scripts in the ASP file can be executed on the server.

Before you study, you should have the knowledge:

Before continuing your study, you need to have a basic understanding of the following knowledge:

    • Html/xhtml
    • Scripting languages such as JavaScript or VBScript

If you want to learn the above items, please visit these tutorials on our homepage.

What is an ASP?

    • ASP refers to Active Server Pages (dynamic server Pages)
    • ASP is a program running in ISS
    • IIS means Internet Information Services (Internet Information Service)
    • IIS is a free component of Windows 2000
    • IIS is also an optional component of Windows NT 4.0
    • This optional component can be downloaded via the Internet
    • PWS smaller-but with the full functionality of ISS
    • PWS can be found on the Windows 95/98 installation CD

ASP compatibility

    • ASP is a technology introduced by Microsoft Company
    • Running IIS requires a Windows NT 4.0 or higher version.
    • Running PWS requires a Windows 95 or higher version.
    • Chiliasp is a technology that runs ASP on non-Windows operating systems
    • Instantasp is another technology that runs ASP on non-Windows operating systems

What is an ASP file?

    • ASP files and HTML files are similar
    • ASP files can contain text, HTML, XML, and scripts
    • The scripts in the ASP file can be executed on the server.
    • ASP file extension is ". asp"

What is the difference between ASP and HTML?

    • When the browser requests an HTML file, the server returns the file
    • When the browser requests an ASP file, IIS passes the request to the ASP engine. The ASP engine reads the file line by row and executes the script in the file. Finally, the ASP file is returned to the browser as plain HTML.

What can ASP do for you?

    • Dynamically edit, change, or add any content to a page
    • Respond to queries or data submitted by a user from an HTML form
    • accessing data or databases and returning results to the browser
    • customizing Web pages for different users to improve availability of these pages
    • The advantage of replacing CGI and Perl with ASP is its simplicity and speed
    • Because the ASP code can not be viewed from browser-side, ASP ensures the security of the site.
    • Excellent ASP programming to minimize Network load

Important: Because the ASP is running on the server, those browsers that display ASP files do not need to support script running!



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.