脚本ASP简介 毕业论文外文翻译

asp简介  时间:2021-01-08  阅读:()

Brief Introduction Of ASP

1Active Server Pages (ASP) is a proven,well-established technology for building dynamic Web applications,which provides the power and flexibility you need to create anything from a personal,Web based photo gallery to a complete catalogue and shopping cart system for your next eCommerce project。 One unique feature of ASP is that it lets you choose your favourite scripting language, be it JavaScript or VBScript; however,VBScript is by far the most popular choice. In this article, I'll bring you up to speed on the basic syntax of the VBScript language, including variables, operators, and control structures.

Server-Side Scripting

To understand where ASP fits into the big picture of Web development,you need to understand the concept of a server-side scripting language. If you've programmed Web pages in Perl,PHP, JSP, or Cold Fusion before, you can safely skip this section–all of

of Computing Sciences in Colleges archive.2004,20(1)342-356.

those are server-side scripting languages,and ASP works in much the same way. If you're coming to ASP armed only with knowledge of HTML(and perhaps with some CSS and/or JavaScript experience) then you'll find that server-side scripting is quite a bit different.

Let me begin by giving you a quick review of how standard,non-ASP Web pages work.As shown in Figure 1, the Web browser on the client computer (the computer belonging to the user)makes a request for a page, say file.html (1).Assuming the requested file exists on the Web host computer where the Web Server software can find it, that software replies to the request by sending the file back to the browser (2).Any additional files (images, for example) required to display the page are requested and received in the same way.The protocol used for this exchange,and indeed for all communication between Web browsers and Web servers is called Hypertext Transfer Protocol (HTTP).

If you've ever used any JavaScript in your pages,you know that the requested Web page (file.html) can contain, in addition to plain HTML code, small programs written in JavaScript.These programs,or scripts,are read and executed by the Web browser while the page is displayed in the browser. So the Web browser must understand not only how to read HTML and display text.and images,but it must also be able to run JavaScript programs appearing inside Web pages.This arrangement,where the Web browser runs the script after receiving it from the Web server, is called client-side scripting.The name makes sense–all of the script runs on the client-side–the right-hand side ofFigure 1.The Web server is completely oblivious to whether the file it is sending contains a script or not; it’s all up to the browser(the client) to handle execution of the script.

ASP fits into a different category of technologies,called server-side scripting,where it is no longer the browser running on the client that is responsible for running the script;instead, it is the Web server that runs the script.This process is illustrated in Figure 2.As before, the Web browser requests a file (1). In this case, however, the filename ends with.asp(file.asp, for example),branding it as a file containing an ASP script that needs to be processed by the server.The server recognizes this,and instead of directly sending the requested file back to the browser, it sends the file to the ASP scripting engine (2).The engine is a component of the Web server software that can interpret ASP scripts and output the results as HTML.The trick here is that any given script can output different HTML

each time it is run, so what comes out of the ASP engine can be different for each client (browser) request.That dynamically generated page is then sent to the browser in response to its request (3), in exactly the same way as the static page was sent in the previous example.

Just as when the page contained client-side JavaScript and the server was completely unaware of this fact,when the page contains server-side ASP script, the browser does not know this at all.The ASP code contained in the page is interpreted and converted to plain HTML by the ASP engine before the browser gets to see it; so as far as the browser is concerned an ASP page looks just like any normal Web page.All the work is done on the server-side; thus the name, server-side scripting.

附录2外文文献中文译文

ASP简介

ASP是构建动态网页应用的被实践证明了的技术为你需要创建任何的东西从一个基于图片库个人网页到一个完整的目录为你的下一个商业项目提供全面的系统提供了强大的功能和灵活性。 ASP唯一的特性即让你选择你最喜欢的脚本语言像JavaScript或者VBScript然而VBScript是至今为止最流行的脚本语言。在本文中我将带你学习VBSc rip t的基本syntax包括变量操作数和控制结构。

服务器端的脚本

为了理解ASP适合Web开发的大图片你需要理解服务器端的脚本语言的概念。如果你用Perl,PHP, JSP或者Cold Fusion编写Web页面前你能够安全略过这部分—所有这些是服务器端的脚本语言 ASP工作在许多相同的方式。如果你只是用HTML知识来辅助ASP(也许有过一些C S S或者Java脚本的经历),那么你将发现服务器端的脚本是有点不同之处的。

让我开始给你一个标准的快速回顾非ASP Web网页工作。图1中显示客户端的计算机计算机属于用户Web浏览器对页面做请求即html (1)文件。假定在Web 主机上存在被请求的文件Web服务器软件能发现它软件能通过发回文件给浏览器来回应请求。任何附加文件如图象文件要求显示页面是用同样的方式请求和接收。协议用做交易 的确Web浏览器和Web服务器通信是叫做HTTP。

如果你曾经在你的网页上用过Jav a脚本你知道请求Web网页ht ml文件能包含除了普通HTML代码用Java脚本写的小程序。这些程序或者脚本通过Web浏览器是可读可执行的当页面显示在浏览器上时。所以Web浏览器必须理解怎么读HTML和显示文本和图象但是它必须能运行显示在Web页面的Java脚本程序。浏览器收到Web服务器这个安排后运行脚本这个安排叫客户端脚本。在图1右手边所有名字有意义的脚本在客护端运行。Web服务器文件发送是否包含脚本是完全健忘的这是浏览器客户端处理执行脚本。

ASP适合不同的技术种类叫客户端脚本它不在浏览器运行客户端而是在Web 服务器上负责运行脚本。这个过程在图2中描绘。 像前面一样Web浏览器请求文件1然而在这样的情况下文件名末尾用asp 如文件asp标志着这个文件包含ASP脚本需要服务器来处理。服务器认识这个代替直接送请求文件给浏览器它送文件给ASP脚本引擎2引擎是Web服务器的重要软件它能够解释ASP脚

本和作为HTML输出结果。这里的诀窍是任何已给的脚本每次运行能输出不同的HTML所以ASP引擎的出现能对每一个客户浏览器请求是不同的。那动态生成的网页被送到浏览器以响应它的请求这跟以前的静态网页有相同的方式。

正象页面包含客户端的J ava脚本和服务器是完全没有意识到这个事实 当页面包含服务器端的ASP脚本浏览器是根本不知道的。ASP代码包含在页面被解释和传送到ASP页面看起来像其它任何普通的Web页面。所有的工作在服务器端所以名字就是服务器端脚本。

A1 B1

A2 B2

RiFi

无忧云:服务器100G高防云服务器,bgpBGP云,洛阳BGP云服务器2核2G仅38.4元/月起

无忧云怎么样?无忧云值不值得购买?无忧云,无忧云是一家成立于2017年的老牌商家旗下的服务器销售品牌,现由深圳市云上无忧网络科技有限公司运营,是正规持证IDC/ISP/IRCS商家,主要销售国内、中国香港、国外服务器产品,线路有腾讯云国外线路、自营香港CN2线路等,都是中国大陆直连线路,非常适合免备案建站业务需求和各种负载较高的项目,同时国内服务器也有多个BGP以及高防节点。目前,四川雅安机房,4...

hostodo:美国大流量VPS,低至$3,8T流量/月-1.5G内存/1核/25gNVMe/拉斯维加斯+迈阿密

hostodo从2014年年底运作至今一直都是走低价促销侧率运作VPS,在市场上一直都是那种不温不火的品牌知名度,好在坚持了7年都还运作得好好的,站长觉得hostodo还是值得大家在买VPS的时候作为一个候选考虑项的。当前,hostodo有拉斯维加斯和迈阿密两个数据中心的VPS在促销,专门列出了2款VPS给8T流量/月,基于KVM虚拟+NVMe整列,年付送DirectAdmin授权(发ticket...

收到几个新商家投稿(HostMem,无忧云,青云互联,TTcloud,亚洲云端,趣米云),一起发布排名不分先后

7月份已经过去了一半,炎热的夏季已经来临了,主机圈也开始了大量的夏季促销攻势,近期收到一些商家投稿信息,提供欧美或者亚洲地区主机产品,价格优惠,这里做一个汇总,方便大家参考,排名不分先后,以邮件顺序,少部分因为促销具有一定的时效性,价格已经恢复故暂未列出。HostMem部落曾经分享过一次Hostmem的信息,这是一家提供动态云和经典云的国人VPS商家,其中动态云硬件按小时计费,流量按需使用;而经典...

asp简介为你推荐
海外主机租用国外服务器租用有几十块钱一年的么.net虚拟主机我是国内买的net域名,打算买香港的虚拟主机空间,这个不需要备案吧?独立ip主机独立IP虚拟主机的主机弊端info域名注册淘宝上有的注册info域名十元左右,是不是真的网站域名域名和网址有什么区别国内ip代理谁能推荐一款最快的ip代理。虚拟主机申请在哪里可以申请到虚拟主机呢香港虚拟空间香港虚拟空间哪家好?asp网站空间谁有能申请免费的ASP空间网站?免费网站空间申请申请免费空间的网站
美国linux主机 俄罗斯vps 域名备案只选云聚达 cybermonday 联通c套餐 服务器怎么绑定域名 12306抢票助手 web服务器架设软件 网站被封 促正网秒杀 e蜗 免空 流量计费 免费美国空间 绍兴电信 33456 卡巴斯基免费试用版 闪讯官网 789 论坛主机 更多