Introduction to Microsoft New Generation Development Technology ASP +

zhaozj2021-02-17  61

Introduction to Microsoft New Generation Development Technology ASP

ASP Despite the development of ASP3.0 ink, Microsoft has developed the next generation of server-side programming technology. In the following three parts, we will make a rough introduction to this new product called ASP (name undecided). This article is mainly those experienced ASP developers who decide whether to transplant to the ASP . Yes, ASP can be installed simultaneously with the ASP 3.0 on the Windows2000. So, you can continue to provide an existing ASP service while testing ASP , switch to ASP on ASP while everything is ready, without another Test server. Although the original ASP application can be simply converted to ASP , there is not much benefit from the new version. ASP has many new features, such as easier to use, more powerful, run Higher efficiency is higher. But to really play, I need to understand the work mode of ASP . On July 11-14, the Microsoft Developer General Assembly held in Outland, Florida, Microsoft released ASP Preview versions, Let the developer experience to build a dynamic website than the less code than ever.

The history of ASP ASP has not been long. In 1996, the initial development of 1996 was quickly developed into the mainstream development environment in the Windows environment. In addition, there is a simulated environment developed by third-party manufacturers on other platforms, such as ChilliaSP. Dynamic server-side web programming Traditionally, the dynamic page is generated by the server-side executable program. The standard web server interface is called CGI, the basic principle is to let the executable to get information from the client, then collect the output information to generate the return page (HTML, Script Code, text, etc.), last sent to the client. Later, an interpreter such as Perl, programmers only need to write some macro code, you can explain the execution. Microsoft ISAPI technology Microsoft has launched another tool with IIS : ISAPI (Internet Server Application Programming Interface), which is different from CGI is ISAPI to call dynamic link library (DLL). Many Microsoft developers have developed on ISAPI. Another short-lived product called DBWeb, providing a certain degree of interaction Data query, filtration, formatting function. The second-generation development tool is a slight improvement in the Internet Database Connector. Not only because it is more efficient than DBWeb, but it is more convenient. IDC introduces the concept of template, making programmers to construct an application on this basis. Each page IDC uses two files. Where the Query file contains a simple macro statement, define how data from the database. Actually SQL is added description file configuration {query getuserlist.idc} Datasource: GlobalExampleDataUsername: examplesPassword: secretTemplate: getuserlist.htxSQLStatement: SELECT DISTINCT UserName FROM Person ORDER BY UserName;.

The server executes this file to get the result set, then call the template file

{Template file getUserList.htx} ...

user name:
CopyRight © 2020 All Rights Reserved
Processed: 0.047, SQL: 9