What is ASP? What can it do?
1. What is ASP?
Literally, ASP has three meanings:
1. Active: ASP uses Microsoft ActiveX technology. ActiveX (COM) technology is an important foundation of Microsoft software. It adopts the technology of encapsulating objects and calling objects, simplifies programming, and strengthens inter-Program Cooperation. ASP encapsulates some basic components and common components, and many companies have developed many practical components. As long as you can install these components on the server and access the components, you can quickly and easily build your own WEB applications.
2. Server: ASP runs on the Server. In this way, you do not have to worry about whether the browser supports the programming language used by ASP. ASP programming languages can be VBSCRIPT and JSCRIPT. VBSCRIPT is a simple set of VB, which can be easily and quickly used by VB users. However, the Netscape browser does not support VBSCRIPT on the client, so it is best not to use VBSCRIPT on the client. On the server side, browser support is not required. The Netscape Browser can also display ASP pages normally.
3. Pages: ASP returns standard HTML Pages, which can be normally displayed in common browsers. When viewing the page source file, the viewer can see the HTML code generated by ASP instead of the ASP program code. In this way, the program can be copied by others.
From this we can see that ASP is a simple and convenient programming tool for developing WEB applications under IIS. After learning the basic syntax of VBSCRIPT, you can easily compile your own ASP system by knowing the usage, attributes, and methods of each component.
2. What can ASP do?
ASP is a WEB-based programming technology. It can be said that it is a type of CGI. It can complete all the functions of CGI programs in the past, such as counters, message books, bulletin boards, chat rooms, and so on. ASP can easily implement dynamic control of page content, and display different page content based on different viewers. The viewer cannot perceive it at all, just like a page specially made for him. With a variety of components, ASP can provide extremely powerful functions. FileSystemObject allows you to operate, browse, copy, move, and delete files on the server. With the support of ADO (Active Database Object, dynamic Database Object), ASP is very handy for Database operations. You can even manage databases on remote hosts and perform various operations on tables and records like using local databases. You can use CDONTS to send and view emails and implement WEBMAIL functions. With WSH (Windows Scripting Host), you can manage NT hosts, such as NT user management, IIS virtual Host settings, and EXCHANGE Mailbox settings. It is just as convenient as managing local hosts.
Iii. How to enable asp
Asp is actually a text file. You can use NotePad to open and view the code, but asp usually needs to be executed to see what we want, so you need the asp runtime environment, generally, we purchase virtual hosts that support asp.
Of course, we need to set up an asp runtime environment to learn asp or test websites locally. We generally use iis or a simple asp running tool. If we learn and use the actual application, we suggest using iis (relatively stable, and the space we buy is on iis ), if you are occasionally testing simple asp code, you can use the following tool (http://www.jb51.net/softs/28133.html ).
Use the notepad with the system to open
Asp is a Web programming language.
Asp is displayed on the webpage. Support from services is required. For example, you can create an iis server. Then visit this page. You can see
I recommend you use dreamweaver to edit asp software.
To put it simply:
1. Install IIS, which comes with windows and is included in the Add/delete component.
2. Place the asp file in a directory, such as c: \ asp. Right-click the Directory and choose "properties"> "web Sharing"> "shared folder" to create an alias, such as asp, remember the asp file name, such as default. asp
3. Open IE and enter http: // localhost/asp/default. asp.
ASP is the abbreviation of Active Server Page. It is a Web page that contains the code of a Script program using VB Script or Jscript. When the browser browses ASP Web pages, the Web server will generate the corresponding HTML code based on the request and then return it to the browser, so that the browser can see the dynamically generated Web page. ASP is an application developed by Microsoft to replace CGI script programs. It can interact with databases and other programs. It is a simple and convenient programming tool. After learning the basic syntax of VBSCRIPT, you can easily compile your own ASP system by knowing the usage, attributes, and methods of each component. The format of ASP Webpage files is. ASP.
You can use Notepad, FRONTPAGE, and DW to open the database. However, you can only see the code and not the page. However, note that some of the mdb database files are renamed asp, if garbled characters occur, mdb may change the code.
There is also a case of garbled code, that is, asp is encrypted.
If you want to see the page content on your local computer, you must install the operating environment that supports ASP by yourself. If not, install the IIS that comes with windows.