作者在 2007-01-28 08:40:00 发布以下内容
什么是ASP文件?(来自微$
Nancy Winnick Cluts. Developer Technology Engineer .Microsoft Corporation
Files created with Active Server Pages have the extension .ASP. This story is an example; take a look at the address above. With ASP files, you can activate your Web site using any combination of HTML, ing--such as Java or Visual Basic?ing Edition (VB)--and components written in any language. This means your ASP file is simply a file that can contain any combination of HTML, ing, and calls to components. When you make a change on the ASP file on the server, you need only save the changes to the file梩he next time the Web page is loaded, the will automatically be compiled. How does this happen? It works because ASP technology is built directly into Microsoft Web servers, and is thus supported on all Microsoft Web servers: Windows NT Internet Information Server (IIS) 3.0, Windows NT Workstation, and Windows 95 Personal Web Server.
A few examples of the use of Active Server Pages with IIS 3.0:
Put your employee handbook online, rather than printing copies that are soon obsolete. An added benefit is the reduction of administrative costs when employees can access and update their own records, such as address and health-plan benefits. I know of several administrative assistants who would love this one!
Tie your online store to your existing inventory database and order-processing system.
Give every visitor to your site a personalized view of just the information he or she seeks, and automatically flag what is new since the last visit.
I know what you're thinking: "So what? I can write CGI s right now that will let me update information and have it reloaded next time the page is loaded." That's true, but ASP runs as a service of the Web server and is optimized for multiple threads and multiple users. This means that it's fast, and it's easy to implement. If you use ASP, you can separate the design of your Web page from the nitty-gritty details of programming access to databases and applications. This frees up the programmer to do what she does best--code like crazy--and, conversely, frees the designer to worry about just the design rather than the database.
It all works together via ing.
An example is a form that is used to pass a ticker symbol request in the URL to the ASP files. The first part of the ASP file calls a component that talks to a stock-price server. Properties of this object, such as opening and closing price, can then be easily inserted in the HTML. The programmer can work in any language, and need worry only about how to talk to the stock-price server. The HTML author need know only how to the component, and does not care how the stock-price server works.
Files created with Active Server Pages have the extension .ASP. This story is an example; take a look at the address above. With ASP files, you can activate your Web site using any combination of HTML, ing--such as Java or Visual Basic?ing Edition (VB)--and components written in any language. This means your ASP file is simply a file that can contain any combination of HTML, ing, and calls to components. When you make a change on the ASP file on the server, you need only save the changes to the file梩he next time the Web page is loaded, the will automatically be compiled. How does this happen? It works because ASP technology is built directly into Microsoft Web servers, and is thus supported on all Microsoft Web servers: Windows NT Internet Information Server (IIS) 3.0, Windows NT Workstation, and Windows 95 Personal Web Server.
A few examples of the use of Active Server Pages with IIS 3.0:
Put your employee handbook online, rather than printing copies that are soon obsolete. An added benefit is the reduction of administrative costs when employees can access and update their own records, such as address and health-plan benefits. I know of several administrative assistants who would love this one!
Tie your online store to your existing inventory database and order-processing system.
Give every visitor to your site a personalized view of just the information he or she seeks, and automatically flag what is new since the last visit.
I know what you're thinking: "So what? I can write CGI s right now that will let me update information and have it reloaded next time the page is loaded." That's true, but ASP runs as a service of the Web server and is optimized for multiple threads and multiple users. This means that it's fast, and it's easy to implement. If you use ASP, you can separate the design of your Web page from the nitty-gritty details of programming access to databases and applications. This frees up the programmer to do what she does best--code like crazy--and, conversely, frees the designer to worry about just the design rather than the database.
It all works together via ing.
An example is a form that is used to pass a ticker symbol request in the URL to the ASP files. The first part of the ASP file calls a component that talks to a stock-price server. Properties of this object, such as opening and closing price, can then be easily inserted in the HTML. The programmer can work in any language, and need worry only about how to talk to the stock-price server. The HTML author need know only how to the component, and does not care how the stock-price server works.