




已阅读5页,还剩6页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
附 录Brief Introduction Of ASP1.ASP Language BasicsActive 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, Ill bring you up to speed on the basic syntax of the VBScript language, including variables, operators, and control structures.Server-Side ScriptingTo understand where ASP fits into the big picture of Web development, you need to understand the concept of a server-side scripting language. If youve programmed Web pages in Perl, PHP, JSP, or Cold Fusion before, you can safely skip this section all of those are server-side scripting languages, and ASP works in much the same way. If youre coming to ASP armed only with knowledge of HTML (and perhaps with some CSS and/or JavaScript experience) then youll 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 youve 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 textand 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 of Figure 1. The Web server is completely oblivious to whether the file it is sending contains a script or not; its 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.2Definition and characteristic of ASPASP is a abbreviation of English APPLICATION SERVICE PROVIDER, usually Chinese is translated into a application service provider, it mean that disposes, leases and manages the solution of using, specialized service company providing service for commerce , individual. Say ASP whether one business lease mode , enterprise user can rent computer and software system of ASP manage ones own business directly popular, so long as any user has network browser, can rent the software needed to ASP , neednt install this software on the machine here . Thus a large sum of is used in the fund that IT products technology bought and operated sparingly. Someone think ASP may INTERNET third killer magnitudes of application (the first E-mail, the second is WEB)Generally speaking, ASP has the characteristics of five respects:(1), ASP regards using as the business core, namely ASP offers the visit and management to using to customer;(2)ASP is it lease application service of form to offer to customer, customer enterprise neednt make extensive investment in such aspects as equipment , software , personnel for his application demand , wrap up to ASP enterprises. (3), ASP carry on centralized management, namely ASP is it carry on centralized management in one in the center position generally to serve, the customer carries on the application that the remote access needs through Internet;(4), ASP, to a lot of customer services, ASP offers a set of standardization to use the bag , offers specialized application service for a lot of different customers, borrow this application cost of customers enterprises of reducing;(5), ASP and customer offer the corresponding service according to the contract, from the point of view of customer, ASP whether one offer relevant service according to customer agreement content, is it use service organization that service of the system may run to guarantee.3 pluses and minuses of ASP1, Realize scale merit. Have software ownership of hardwares and right to use and traditional application facilitator to offer the one-to-one service mode with traditional users differently, ASP has ownership of application systems, users have right to use, use the system to concentrate on putting in the data centre of ASP, centralized management, disperse and use, regard form of lease of more than one pair as numerous users and offer the application technological service of the quality assurance, realize scale merit.2, The foreseeable expenses to user , stinting on expenses, can make sure to spend the little money and do the large undertaking . Because save the previous expenses which are bought software and hardware ,etc., users can rent more advanced application software . Charge of ASP to is it take according to type , guest of software degree , user quantity , service time limit is it make to come to make, this sum of expenses can be predicted to customer.3, Convenient upgrading of customers application software.4, Reducing in the customer , the qualified personnel of IT lack the influence brought. The customer of ASP staff utilize the browser to enter relevant application software, simple and easy to use, do not need professional technical support.5, Help users to realize fast various kinds of are used and served , ASP trader has ability to combine resources of various fields, can offer the necessary solution to user in a short time . For example, typical ERP installation, time when if want in customer end installation to take from half a year to two years, but some ASP traders of U.S.A. can offer ERP application scheme within 90-120 days such as USI and CORIO.6, Service of professional lines. Some ASP traders offer vertical application service , offers service of using to one specific trade.7, Strong expansibility. ASP has strong expansion nature, can realize connecting with many kinds of networks , hardware equipment one : Insert enterprises long-rangly through the special-purpose communication line; Provide service for the long-range dialing customer through the long-range dialing server; Serve customer of Internet of the cellular telephone through WAP.8, ASP most heavy shortcoming lie in security and dependability of network, enterprise deal in data set free at the open platform, the greatest worry is how to guarantee these data are not destroyed by other people .9, Because of what ASP is offered being a service for more than, so some special demands of users are very difficult to be satisfied.10, In realize ERP advanced ASP when using , user is it offer central management materials to need, need ASP trader to have very high credit degree.11, Lacking the sector standard that can be followed together, ASP is returned the place on the initial stage of developing, everybody is different in understanding of it, for instance the products and service standard, expenses standard ,etc., are unfavorable to the sound development of the trade.3ASP prospect1, Market predictionHow big during the following two or three years ASP , this market , is, there is different prediction in different organizations!, wrap up IDC , GartnerGroup, Forrester ,etc. However, they all have a basic view: In the following three to five years, IT manufacturer will transfer quite a few of business to ASP market.U.S.A. Gartner Group Dataquest has issued to use the investigation result of the market of facilitator (ASP ) in the whole world. The investigation result shows , the market scale of ASP will rise to 3,600 million dollars in 2000 from 1 billion U.S. dollars in 1999, will exceed 25,300 million dollars in 2004 .Whether not for big enterprise or in small-scale one enterprise, it hope not it is throw in by fund not huge from infrastructure , software and staff member to needing, can guarantee the supreme application level . Though and service content is different and different to some extent according to using, when utilizing ASP, estimate that can reduce by 30%-70% of the total cost of ownership (TCO) (Dataquest Company President Application Services Worldwide Programs analyst Ben Pring).1999, North America account for whole ASP 65%, market of sales amount, expect this rate to lessen to 45% in 2004. The sales amount of Europe takes the rate of the whole ASP market, will rise to 32% in 2004 from 20% of 1999. By 2004, Europe and the Asian-Pacific area will turn into with the maturity market of equal scale of U.S.A. To U.S.A., European and Asian market face wireless ASP and use easier to be accepted, promote the development of market (Ben Pring ).In addition according to Gartner analysis, U.S.A. at present have 480 ASP enterprise, have new enterprises enter the market also every day. But have 60% ASP enterprise disappear by the end of 2001, and enterprise that can survive still by 2004 it it is saids to be only 20%.2, ASP impact on traditional IT industryASP impact on software industryThe appearance of ASP , this commercial mode , will bring the revolutionary change to the software industry . ASP trader will be the main customers of software enterprises , some software enterprises turn to ASP management mode directly, some software enterprises will make up strategic alliance with ASP trader.ASP impact on hardware industryASP impact on hardware manufacturer very enormous, ASP management mode dependability , usability in hardware, can elasticity put forward high demand, in addition, the hardware manufacturer will be forced in terms of the solution or the service more, but not conceive their value proposition in terms of independent products. The hardware will be considered as a part among them of the application platform of ASP more and more.3)ASP is influenced big to using the service tradeWhat ASP is offered is standardized service of more than one pair, so for application service provider, and quite a lot of customers need some special customization services. However, the fast reaction of ASP, reasonable price model will impel the traditional service trade to provide ASP service in ones own products .ASP impact on communication industryTo network service provider, ASP management mode will bring oneself within with the software provider , hardware Shang and use the shared risks together of facilitator, mechanism that the income shares .3, Influence several factors of ASP developmentRestriction with frequently wide communicationASP commercial mode need sufficient bandwidth resource support, communication infrastructure of our country at present got very great development, but bandwidth resource does not arrive redundant degree yet, so wide resource frequently may is it restrict an important factor , ASP of development to become.Security of the networkThe security of the network includes meaning of two layers: First, technology can resist forcible entry of hacker, another important meaning whether ASP job personal integrity, trader of itself reach certain level, the customers business secret will not be revealed because of reason of ASP oneself.3)Social credit systemWe see the ASP industry of U.S.A. develop rapidly , should see the credit system that they have accumulated for many years has actually been the key motive force of ASP development . However, review domestic enterprises and generally lack the credit idea, this has increased transaction cost and investment risk of ASP users greatly.4)Factor of the brandNeed high specification requirement very , require because of ASP commercial mode itself this and credit require safely, ASP brand factor of Shang is very important too.译 文ASP简介1.ASP基础语言ASP是构建动态网页应用的被实践证明了的技术,为你需要创建任何的东西从一个基于图片库个人网页到一个完整的目录,为你的下一个商业项目提供全面的系统提供了强大的功能和灵活性。ASP唯一的特性即让你选择你最喜欢的脚本语言,像JavaScript 或者VBScript,然而VBScript是至今为止最流行的脚本语言。在本文中,我将带你学习VBScript的基本syntax,包括变量,操作数和控制结构。 服务器端的脚本为了理解ASP适合Web开发的大图片,你需要理解服务器端的脚本语言的概念。如果你用Perl, PHP, JSP 或者Cold Fusion编写Web页面前,你能够安全略过这部分所有这些是服务器端的脚本语言,ASP工作在许多相同的方式。如果你只是用HTML知识来辅助ASP(也许有过一些CSS或者Java脚本的经历),那么你将发现服务器端的脚本是有点不同之处的。 让我开始给你一个标准的快速回顾,非ASP Web网页工作。图1中显示客户端的计算机(计算机属于用户)Web浏览器对页面做请求即html (1)文件。假定在Web主机上存在被请求的文件,Web服务器软件能发现它,软件能通过发回文件给浏览器来回应请求。任何附加文件(如图象文件)要求显示页面是用同样的方式请求和接收。协议用做交易,的确Web浏览器和Web服务器通信是叫做HTTP。如果你曾经在你的网页上用过Java脚本,你知道请求Web网页(html文件)能包含除了普通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引擎的出现能对每一个客户(浏览器)请求是不同的。那动态生成的网页被送到浏览器以响应它的请求,这跟以前的静态网页有相同的方式。 正象页面包含客户端的Java脚本和服务器是完全没有意识到这个事实,当页面包含服务器端的ASP脚本,浏览器是根本不知道的。ASP代码包含在页面被解释和传送到ASP页面看起来像其它任何普通的Web页面。所有的工作在服务器端,所以名字就是服务器端脚本2ASP的定义与特征ASP是英文APPLICATION SERVICE PROVIDER的缩写,通常中文译为应用服务提供商,它是指配置、租赁和管理应用解决方案,为商业、个人提供服务的专业化服务公司。通俗地说,ASP是一种业务租赁模式,企业用户可以直接租用ASP的计算机及软件系统进行自己的业务管理,任何用户只要有网络浏览器,就可以向ASP租用所需要的软件,而不必在本地的机器上安装该软件。从而节省一大笔用于IT产品技术购买和运行的资金。有人认为,ASP可能是INTERNET第三个“杀手级应用”(第一个是电子邮件,第二个是WEB) 一般来说,ASP具有五个方面的特点:(1)、ASP以应用为业务核心,即ASP为客户提供对应用的访问和管理;(2)、ASP为客户提供租赁形式的应用服务,客户企业可以不必为他的应用需求而在设备、软件、人员等方面作大规模的投资,而外包给ASP企业。(3)、ASP进行集中管理,即ASP服务一般在一个中心位置进行集中管理,客户通过互联网进行远程访问所需的应用;(4)、ASP对多个客户服务,ASP提供一套标准化应用包,为多个不同的客户提供专业化的应用服务,借此降低客户企业的应用成本;(5)、ASP与客户根据合同提供相应服务,从客户的角度看,ASP是一家根据客户协议内容提供相关服务,并确保应用系统服务可以运行的服务性机构。3ASP的优缺点 1、实现规模效益。与传统的用户拥有硬件软件所有权和使用权以及传统的应用服务商提供一对一的服务模式不同,ASP拥有应用系统所有权,用户拥有使用权,应用系统集中放在ASP的数据中心中,集中管理,分散使用,以一对多的租赁的形式为众多用户提供有品质保证的应用技术服务,实现规模效益。 2、 对用户来说可预见费用、节约费用,可以做到花少钱办大事。由于省去了购买软件和硬件等的前期费用,用户可以租用较高级的应用软件。ASP的收费是根据软件的类型、客制化程度、用户数量、服务期限来定的,对客户来说这笔费用是可以预见的。 3、 方便于客户应用软件的升级。 4、 减少客户内IT专业人才缺乏带来的影响。ASP的客户员工利用浏览器进入相关的应用软件,简单易用,无需专业技术支持。 5、 帮助用户快速实现各种应用服务,ASP商有整合各方面资源的能力,可在短期内为用户提供所需的解决方案。例如,典型的ERP安装,如果要在客户端安装的话需要半年到二年的时间,但是美国的一些ASP商如USI和CORIO能在90120天内提供ERP应用方案
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 人教版七年级上册第一章第二节乡村与城市说课稿3
- 2025塑料管道购销合同
- 2025贷款协议合同号按月付息
- Unit 1 I hope that you can join us one day. 说课稿 2024-2025学年外研版英语八年级下册
- 2024-2025学年七年级生物上册 3.1.1 藻类、苔藓和蕨类植物说课稿 (新版)新人教版
- 2025《建筑材料采购与应用专用合同》
- 淮南事业单位笔试真题2025
- 2025年的租赁合同与买卖合同解析
- 2025设备租赁合同(模板工程)完
- 2025年智能保温杯销售代理合同
- 肿瘤病人血管通路的选择
- 2025年 北京门头沟大峪街道社区储备人才招募考试试题附答案
- 科技安全课件
- 2025年重庆市中考英语试卷真题(含标准答案及解析)
- 档案公司借阅管理制度
- 药店医保考试试题及答案
- 酒质量安全管理制度
- 化工企业工艺联锁、报警管理制度
- 《当前保密工作面临的新形势、新任务》课件
- 全友家居加盟合同范本
- 2025-2030中国聚α烯烃(PAO)行业市场现状供需分析及投资评估规划分析研究报告
评论
0/150
提交评论