基于ASP的web技术介绍外文翻译资料

 2022-12-11 07:12

Introduction of ASP based on Web Technology

Active Server Page ASP is short for 'Active Server Pages'. ASP is an application developed by Microsoft instead of CGI scripts, it can interact with databases and other programs, is a simple and convenient programming tools. ASP page file format. Asp. Now commonly used in a variety of dynamic websites. In addition, aspirin, aspartate, Ali software sales partner, the United States armed Systems and procedures companies such abbreviations are ASP.

The first. Origin of ASP

The research to ASP mode and ASP enterprises origin can proceed with two respects , one to in terms of business and technology , is it carry on research to come from ASP developing history that business commit; Another one is studies the origins of ASP enterprises and evolution course at present in terms of organizations development.

Whether stand up synthetically above-mentioned developing stage, to put it briefly, present ASP history and development path of provider can simple to describe as:

The first, developed from the past ISP, rounded the infrastructure and communication function, cooperate with software manufacturer, increase the business scope, develop into the present IDC (the data centre of Internet);

The second,the past ISV (independent software provider ) and VAR (the trader that resells value-added service ), at Internet age , changed the marketing way in the past , would rely mainly on sale of the software product to change direction to rely mainly on the fact that right to use is leased in the past, bale from physics carrier encapsulation way change direction and long-range operation way main fact now, through the cooperation with network operator , realize the transition to ASP;

The third ,IT service departments and traditional advisory companies of traditional large- scale organization, at the foundation known deeply in Internet , depend on long-term experience, is it carry on systematic design and implementation of scheme for other customer to begin, through establish in with trader who operates network and alliance relation between the application software manufacturer, realize the ASP provider that appears in the capacity of system integration trader.

The second. The developing history and classification of ASP

ASP was born from 1996 to 2012, 17 years have passed. In just 17 years, the ASP significant changes until now ASP.

The asps first edition is 0.9 Beta born, since 1996 ASP1.0 bring the Gospel to the Web development community. The early Web application development is very tedious, so you want to make a simple dynamic page need to write a lot of C code to complete a bit difficult for ordinary programmers. ASP but allows the use of this simple VBScript scripting language to write code embedded in HTML pages. During program design can use its internal components to achieve some of the advanced features (such as cookies). Its greatest contribution is that it ADO (ActiveX Data Object), this component makes the program very easy operation of the database, so dynamic web design has become an easy thing. Therefore overnight, Web programming is no longer a daunting task in the imagination, as if a lot of people can show their skills.

In 1998, Microsoft released ASP 2.0. It is part of the Windows NT4 Option Pack, as IIS (Internet Information Services, Internet Information Services) 4.0 add-on. The main difference is that with ASP 1.0 external components can be initialized, so that all components within the ASP program has a separate memory space, and can carry out the transaction.

Released in 2000, with the success of Windows 2000 operating system, IIS (Internet Information Services, Internet Information Services) 5.0 comes with ASP 3.0 became popular. Compared with ASP 2.0, ASP 3.0 the advantage is that it uses COM , and thus its efficiency will be better than its previous version, and more stable.

In 2001, ASP.NET. The beginning of the development of its name is ASP , but, in order to plan with Microsoft .NET match, and to show that this version of the ASP is not complementary to ASP 3.0, Microsoft to name ASP .NET. ASP .NET structure different from the previous version, it is almost entirely based on components and modular, Web application developers use the development environment can be achieved more modular and more powerful applications.

The third. The development foundation of ASP mode

ASP as one brand-new concept, proposition and it takes shape to be just time for more than half a year of it, but in U.S.A. and other fast-developing countries of IT industry, ASP is becoming a kind of new developing business mode of leading e-commerce in the future, main maturity based on following IT technology of precondition that ASP produces and develops: Popularization of Internet: Internet deepens peoples life progressively , a large number of solutions based on Web are emerging constantly, all these make long-range application scheme based on host computer become possible; The bandwidth is increasing and dropping with the price constantly constantly: Communication performance and bandwidth expenses reduced continuously increased, make the application program at the host computer able to visit through Internet and tight client; Whether client / server can use by sharing under the environment. The remote access in ASP concept , users have already been accustomed to under the environment of client / the server, this make remote access and is it is it become acceptable first business mode to use to share; The browser becomes figure interface application program accepting extensively: The wide application and development of the technology of the browser have gathered enough technology and human resources for the calculation based on the calculation of Web and thi

剩余内容已隐藏,支付完成后下载完整资料


基于ASP的web技术介绍

ASP是Active Server Page的缩写,意为“动态服务器页面”。ASP是微软公司开发的代替CGI脚本程序的一种应用,它可以与数据库和其它程序进行交互,是一种简单、方便的编程工具。ASP的网页文件的格式是 .asp。现在常用于各种动态网站中。另外阿斯匹林、天门冬氨酸、阿里软件销售合作伙伴、美国武装系统暨程序公司等的缩写也都为ASP。

1. ASP的起源

对于ASP模式和ASP企业起源的研究可以从两个方面入手,一个是从业务和技术的角度,从ASP业务构成的发展历史来进行研究,另一个是从组织机构发展的角度,来研究目前ASP企业的由来和演化过程。将上述发展阶段综合起来,简单的说,目前的ASP提供商的历史和发展道路可以简单的描述为:

第一类,从过去的ISP发展起来,围绕基础设施和通讯功能,与软件厂商合作,增加业务范围,发展到现在的IDC(互联网数据中心);

第二类,过去的ISV(独立软件提供商)和VAR(增值服务转售商),在互联网时代,改变过去的营销方式,将过去以软件产品的出售为主转向以使用权租赁为主,从物理载体的打包封装方式转向现在在线和远程运行方式为主,通过与网络运营商的合作,实现向ASP的转型;

第三类,传统的大型组织的IT服务部门和传统的咨询公司,在对于互联网的深刻认识的基础上,依靠长期的经验,开始为其他客户进行系统方案的设计和实施,通过建立在与网络运行商和应用软件制造商之间的联盟关系,实现以系统集成商身份出现的ASP提供商。

2. ASP的发展历史与分类

从1996年ASP诞生到2012年已经过去了17年。在这短短的17年中,ASP发生了重大的变化,直到现在的ASP。

asp的第一版是0.9测试版,自从1996年ASP1.0诞生,它给Web开发界带来了福音。早期的Web程序开发是十分繁琐的,以至于要制作一个简单的动态页面需要编写大量的C代码才能完成,这对于普通的程序员来说有点难了。而ASP却允许使用VBScript这种的简单脚本语言,编写嵌入在HTML网页中的代码。在进行程序设计的时候可以使用它的内部组件来实现一些高级功能(例如Cookie)。它的最大的贡献在于它的ADO(ActiveX Data Object)这个组件使得程序对数据库的操作十分简单所以进行动态网页设计也变成一件轻松的事情。因此一夜之间,Web程序设计不再是想像中的艰巨任务,仿佛很多人都可以一显身手。

到了1998年,微软发布了ASP 2.0。它是Windows NT4 Option Pack的一部分,作为IIS(Internet Information Services)互联网信息服务) 4.0的外接式附件。它与ASP 1.0的主要区别在于它的外部组件是可以初始化的,这样,在ASP程序内部的所有组件都有了独立的内存空间,并可以进行事务处理。

到了2000年,随着Windows 2000的成功发布,这个操作系统的IIS(Internet Information Services,互联网信息服务) 5.0所附带的ASP 3.0也开始流行。与ASP 2.0相比,ASP 3.0的优势在于它使用了COM ,因而其效率会比它前面的版本要好,并且更稳定。

2001年,ASP·NET出现了。在刚开始开发的时候,它的名字是ASP ,但是,为了与微软的·NET计划相匹配,并且要表明这个ASP版本并不是对ASP 3.0的补充,微软将其命名为ASP·NET。ASP·NET在结构上与前面的版本大相径庭,它几乎完全是基于组件和模块化的,Web应用程序的开发人员使用这个开发环境可以实现更加模块化的、功能更强大的应用程序。

3. ASP模式的发展基础

ASP作为一个崭新的概念,它的提出和成形不过是半年多的时间,但在美国及其它IT产业快速发展的国家,ASP正成为主导电子商务未来的一种新兴业务模式,ASP产生和发展的前提条件主要基于以下IT技术的成熟:Internet的普及,Internet逐步深入人们生活,大量的基于Web的解决方案不断涌现,这些都使得远程的基于主机的应用方案成为可能,带宽不断增大和价格不断下降,增长的通信性能和持续减少的带宽费用,使主机上的应用程序可以通过Internet和瘦客户机来访问,客户机/服务器环境下的可共享应用,在ASP概念中的远程访问,用户早已经在客户机/服务器环境下习以为常,这使得远程访问和共享应用成为可接受的一种业务模式,浏览器成为广泛接受的图形界面应用程序,浏览器技术的广泛应用及开发为基于Web的计算和瘦客户机的计算聚集了足够的技术及人力资源,以及良好的用户基础,电子商务解决方案的潜力,先进的电子商务解决方案,与ASP的概念一起分享了许多棘手的业务和技术问题,例如系统的安全性和可靠性。所以,电子商务的巨大动力也在推动ASP的前进。

4. 基于asp的web技术

利用ASP开发Web应用程序首先必须确立Web应用的体系结构。目前在应用中常用到的有两种C/S体系结构和B/S体系结构。

C/S体系结构即client/server客户端/服务器端

两层的客户/服务器结构

客户/服务器Client/Server模型是一种良好的软件体系结构,是网络的最佳应用模式之一。从技术上看,它本身是一个逻辑概念,是指将一个应用分解成多个任务分别执行,共同完成整个应用任务的功能。网络各站点主机上资源(硬件、软件、数据)分步不均衡,在客户/服务器结构下,无资源的客户机通过向有资源的服务器发出请求,并得到资源请求,从而适应网络中资源分布的不均衡性。采用这种结构能综合各种计算机协同工作,各尽其能,实现对计算机系统的规模优化Rightsizing和规模缩小化(Downsizing)。

从技术角度讲,“客户机”和“服务器”都是逻辑的概念,其含义是:将计算机网络应用分成两大部分,其中一部分支持多个用户共享的功能与资源,它由服务器来实现;另一部分是面向每个用户的,由客户机来实现,也就是说,客户机通常执行前台功能,通过用户界面实现人机对话,或是执行用户特定的应用程序。而服务器通常执行后台功能,管理共享的外设,接受并回答用户的请求等。对于一台计算机来说,它可以具有双重功能,在某一时刻充当服务器,而在另一时刻又成为客户机。

客户/服务器类型把计算机分为两类,提供服务的一方称为服务器,请求服务的一方称为客户。为了能够提供服务,服务器一方必须具有一定的硬件和相应的服务器软件;同样,客户一方也必须具有一定的硬件和相应的客户软件。

在服务器和客户之间必须有一个协议,双方根据这个协议进行通信。

将客户/服务器模型应用于Internet服务,客户与服务器之间的关系并不是一成不变的。有的Internet节点一方面提供服务,另一方面也从别的节点处获得服务;甚至在一次对话过程中,双方的角色也可能互换。如在进行文件传输时,如果把提供文件的一方称为服务器,把获取文件的一方称为客户,则在使用get 或mget命令从另一个节点取文件时,可以认为自己使用的及其是客户机,在使用put 或mput命令向另一个节点发送文件时又可以认为自己使用的机器是服务器。

多层的客户/服务器结构

随着企业应用的扩展,最近又出现了一种新的多层体系结构,它把客户端应用分为两部分:客户应用和服务器应用。客户应用是原来客户应用的一部分,另一部分被移入服务器应用中。新的客户应用负责用户界面和简单固定的业务逻辑,新的服务器应用驻留核心的、易变的业务逻辑。因此其结构就变成了新的(Client应用 Server应用)/Server结构。

这种结构解决了传统Client/Server的可扩展问题,既减少了客户端业务逻辑,又降低了客户端对硬件的要求。同时,由于把许多业务逻辑集中到了单一的应用服务器上,应用系统的维护工作也被集中到了一起,消除了传统Client/Server结构中软件分发的问题。这种结构即被称为B/S体系结构。

B/S体系结构即Browser/Server,浏览器/服务器端。本质上Browser/Server也是一种Client/Server结构,它是一种由传统的二层Client/Server结构发展而来的三层Client/Server结构在Web上应用的特例。

在Browser/Server的系统中,用户可以通过浏览器向分布在网络上的许多服务器发出请求。Browser/Server结构极大的简化了客户机的工作,客户机上只需安装、配置少量的客户端软件即可,服务器将担负更多的工作,对数据库的访问和应用程序的执行将在服务器上完成。

在Browser/Server三层体系结构下,表示层(Presentatioon)、功能层(Business Logic)、数据层(Data Service)被割成三个相对独立的单元:

第一层 表示层:Web浏览器

在表示层中包含系统的显示逻辑,位于客户端。它的任务是由Web浏览器向网络上的某一Web服务器提出服务请求Web服务器对用户身份进行验证后用HTTP协议把所需的主页传送给客户端,客户机接受传来的主页文件,并把它显示在Web浏览器上。

第二层 功能层:具有应用程序扩展功能的Web服务器

在功能层中包含系统的事务处理逻辑,位于Web服务器端。它的任务是接受用户的请求首先需要执行相应的扩展应用程序与数据库进行连接,通过SQL等方式向数据库服务器提出数据处理申请,而后等数据库服务器将数据处理的结果提交给Web服务器,再由Web服务器传送回客户端。

第三层 数据层:数据库服务器

在数据层中包含系统的数据处理逻辑,位于数据库服务器端。它的任务是接受Web服务器对数据库操纵的请求,实现对数据库查询、修改、更新等功能,把运行结果提交给Web服务器。

仔细分析不难看出,三层的Browser/Server体系结构是把二层Client/Server结构的事务处理逻辑模块从客户机的任务中分离出来,由单独组成的一层来负担其任务,这样客户机的压力大大减轻了,把负荷均衡地分配给了Web服务器,于是由原来的两层的Client/server结构转变成三层的Browser/Server结构。

这种结构不仅把客户机从沉重的负担和不断对其提高的性能的要求中解放出来,也把技术维护人员从繁重的维护升级工作中解脱出来。由于客户机把事务处理逻辑部分分给了功能服务器,使客户机一下子“苗条”了许多,不再负责处理复杂计算和数据访问等关键事务,只负责显示部分,所以维护人员不再为程序的维护工作奔波于每个客户机之间,而把主要精力放在功能服务器上程序的更新工作。这种三层结构层与层之间相互独立,任何一层的改变不影响其它层的功能。它从根本上改变了传统的二层Client/Server体系结构的缺陷,它是应用系统体系结构中一次深刻的变革。

两种体系结构的对比

Browser/Server体系结构与Client/Server体系结构相比不仅具有Client/Server体系结构的全部优点,而且又有Clinet/Server体系结构所不具备的独特优势:

开放的标准Client/Server所采用的标准只要在内部统一就可它的应用往往是专用的。Browser/Server所采用的标准都是开放的、非专用的是经过标准化组织所确定的而非单一厂商所制定保证了其应用的通用性和跨平台性。 较低的开发和维护成本Client/Server的应用必须开发出专用的客户端软件无论是安装、配置还是升级都需要在所有的客户机上实施极大地浪费了人力和物力。Browser/Server的应用只需在客户端装有通用的浏览器即可维护和升级工作都在服务器端进行不需对客户端进行任何改变故而大大降低了开发和维护的成本。

使用简单,界面友好:Client/Server用户的界面是由客户端软件所决定的,其使用的方法和界面各不相同,每推广一个Client/Server系统都要求用户从头学起,难以使用。Browser/Server用户的界面都统一在浏览器上,浏览器易于使用、界面友好,不须再学习使用其它的软件,一劳永逸的解决了用户的使用问题。

客户端消肿:Client/Server的客户端具有显示与处理数据的功能,对客户端的要求很高,是一个“胖”客户机。Browser/Server的客户端不再负责数据库的存取和复杂数据计算的等任务,只需要其进行显示,充分发挥了服务器的强大作用,这样就大大的降低了对客户端的要求,客户端变得非常“瘦”。

系统灵活:Client/Server系统的三部分模块中有一部分需改变就要关联到其它模块的变动,使系统极难升级。Browser/Server系统的三部分模块各自相对独立,其中一部分模块改变时其它模块不受影响,系统改进变得非常容易,且可以用不同厂家的产品来组成性能更佳的系统。

保障系统的安全性:在Client/Server系统中由于客户机直接与数据库服务器进行连接用户可以很轻易的改变服务器上的数据,无法保证系统的安全性。Browser/Server系统在客户机与数据库服务器之间增加了一层Web服务器,使两者不再直接相连,客户机无法直接对数据库操纵,有效地防止用户的非法入侵。

三层的Brows

剩余内容已隐藏,支付完成后下载完整资料


资料编号:[31040],资料为PDF文档或Word文档,PDF文档可免费转换为Word

原文和译文剩余内容已隐藏,您需要先支付 30元 才能查看原文和译文全部内容!立即支付

以上是毕业论文外文翻译,课题毕业论文、任务书、文献综述、开题报告、程序设计、图纸设计等资料可联系客服协助查找。