{$cfg_webname}
主页 > 外文翻译 > 计算机翻译 >

ASP技术特征的概述

来源:56doc.com  资料编号:5D2663 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D2663
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

asp 技术特征的概述
介绍
这篇文章主要描述了 ASP 技术概述, Internet 信息服务器(IIS) 使得ASP技术可以利用。在这篇文章里描述的ASP特征在IIS 4.0版本是可利用的 。在通过ASP 特点的最显著部分后, 我提供一个部分,这个部分是关于那些asp特征怎样一起合适地创造客户服务器网应用程序的。
语言独立性
ASP技术在语言上是独立的。其中最普遍的两种脚本语言是支持在盒子外面的: VBScript. 和JScript? 。对于其它scripting 语言的支持, 譬如Perl, 是可利用的。不管你使用何种scripting 语言, 您都能简单地在asp的特别符号里封装脚本声明 。 开始的符号是< %, 并且关闭的符号是% > 。在脚本发展中符号将得到进一步论述。
VBScript
在服务器端asp页面的VBScript语言的应用不同于在应用程序或普通的网页上的应用。 几乎所有VBScript 命令在服务器上的应用是可行的。 但是,与用户交互的VBScript 命令不是可行的。 例如, 想象一下在服务器上打开一个对话框的命令。 没人将撤消它, 并且系统将直到有人撤消它时才能能作出反应。
表现用户界面元素的VBScript 声明是InputBox 和MsgBox 。 另外, VBScript 函数CreateObject(创建对象)是 由服务器对象的一个方法代替的。在服务器端跟踪对象事例是必要的。 您能像平时那样把注释添加到您的脚本中。 但是, 您无法把注释添加到输出表达式中。输出表达式是评估和写网页的一个表达式或值。 它包含在符号< % = 和% 之内> 。

外文原文
asp Technology Feature Overview

Introduction
This article provides an overview of Active Server Pages (ASP) technology, a technology made available by Internet Information Server (IIS). The ASP features described in this article are available in IIS version 4.0. After walking through the highlights of asp features, I provide a section on how those features fit together to create client/server Web applications.
Language Independence
Active Server Pages (ASP) technology is language-independent. Two of the most common scripting languages are supported right out of the box: VBScript® and JScript™. Support for other scripting languages, such as Perl, is available. Whatever scripting language you use, you can simply enclose script statements in special delimiters for asp. The starting delimiter is <%, and the closing delimiter is %>. Delimiters are discussed further in Development with Scripts.
VBScript
Using VBScript on the server in an asp page isn't very different from using it in applications or on ordinary Web pages. Nearly all of the VBScript commands are available for use on the server. VBScript commands that interact with the user, however, are not available. For example, imagine a command that opens a dialog box on the server. No one is around to dismiss it, and the system can do nothing until someone dismisses it!
The VBScript statements that present user interface elements are InputBox and MsgBox. In addition, the VBScript function CreateObject is replaced by a method of the Server object. This is necessary to track the object instances on the server side. You can add comments to your script just as you normally do. However, you cannot add comments inside an output expression. An output expression is an expression or value that is evaluated and written to the Web page. It is contained within the delimiters <%= and %>.

推荐资料