毕业设计(论文)-房地产信息管理系统的设计与实现--外文翻译.doc_第1页
毕业设计(论文)-房地产信息管理系统的设计与实现--外文翻译.doc_第2页
毕业设计(论文)-房地产信息管理系统的设计与实现--外文翻译.doc_第3页
毕业设计(论文)-房地产信息管理系统的设计与实现--外文翻译.doc_第4页
毕业设计(论文)-房地产信息管理系统的设计与实现--外文翻译.doc_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

本科毕业设计(论文)外文翻译本科毕业设计(论文)外文翻译译文:aspasp介绍你是否对静态html网页感到厌倦呢?你是否想要创建动态网页呢?你是否想要你的网页能够数据库存储呢?如果你回答:“是”,asp可能会帮你解决。在2002年5月,微软预计世界上的asp开发者将超过80万。你可能会有一个疑问什么是asp。不用着急,等你读完这些,你讲会知道asp是什么,asp如何工作以及它能为我们做什么。你准备好了吗?让我们一起去了解asp。什么是asp?asp为动态服务器网页。微软在1996年12月推出动态服务器网页,版本是3.0。微软公司的正式定义为:“动态服务器网页是一个开放的、编辑自由的应用环境,你可以将html、脚本、可重用的元件来创建动态的以及强大的网络基础业务方案。动态服务器网页服务器端脚本, iis能够以支持jscript和vbscript。”(2)。换句话说,asp是微软技术开发的,能使您可以通过脚本如vbscript jscript的帮助创建动态网站。微软的网站服务器都支持asp技术并且是免费的。如果你有window nt 4.0服务器安装,你可以下载iis(互联网信息服务器)3.0或4.0。如果你正在使用的windows 2000,iis 5.0是它的一个免费的组件。如果你是windows95/98,你可以下载(个人网络服务器(pws),这是比iis小的一个版本,可以从windows95/98cd中安装,你也可以从微软的网站上免费下载这些产品。好了,您已经学会了什么是asp技术,接下来,您将学习asp文件。它和html文件相同吗?让我们开始研究它吧。什么是asp文件?一个asp文件和一个html文件非常相似,它包含文本,html标签以及脚本,这些都在服务器中,广泛用在asp网页上的脚本语言有2种,分别是vbscript 和 jscript,vbscript与visual basic非常相似,而jscript是微软javascript的版本。尽管如此,vbscript是asp默认的脚本语言。另外,这两种脚本语言,只要你安装了activex脚本引擎,你可以使用任意一个,例如perlscript。html文件和asp文件的不同点是asp文件有“.asp”扩展名。此外,html标签和asp代码的脚本分隔符也不同。一个脚本分隔符,标志着一个单位的开始和结束。html标签以小于号()结束,而asp以结束,两者之间是服务端脚本。要写一段asp脚本,你不需要额外的软件,因为它可以在任何html编辑器中编写,比如notepad。虽然如此,如果你对纯文本感到无聊并想要使用一些特殊的软件,你可以使用微软的可视interdev,通过调试对话框,帮助您轻松地创建一个asp页面。我希望您已经对asp文件有所了解以及它与html文件的区别。在下一节,您将学习asp是如何工作的。它如何工作的?根据你所学到的,asp文件中的脚本是服务器端脚本,这意味着这个脚本程序在服务器中处理,并且在发送到网页浏览器之前脚本处理的结果将被转化为html。例如,让我们来看一看这张表格来比较的一个html页面和asp页面的转变过程(5)。html 过程asp 过程1. 一个用户在浏览器中请求访问/index.html2. 这个浏览器找到相应的网站服务器,并请求所需的页面。3. 页面所在的服务器以html形势返回给浏览器。4. 这个浏览器执行客户端代码(比如javascripts)从而决定怎样显示页面。1. 一个用户在浏览器中请求访问/test.asp2. 这个浏览器找到相应的网站服务器(比如iis或pws),并请求所需的页面。3. 网站服务器找出所请求的页面,并从asp脚本分隔符(),中解析asp代码,产生一种标准的html页面。服务器就将这个html页面返回给浏览器,所以用户不能看到asp代码。4. 这个浏览器执行客户端代码(比如javascripts)从而决定怎样显示页面。你能看到,这两个的整个过程中十分相似。因为asp是在服务器端的技术,在html被创建和对客户提供服务之前,所需的页面就在服务器端执行了。为了使这个更清楚,图形1表示的是浏览器请求一个asp页面的过程 (6)。例如,一个客户类型在浏览器输入一个网址。浏览器从网络服务器端请求asp页面。服务器获得以“.asp”扩展名的文件到asp引擎中,这个引擎能使得对象或activex组件被用来扩展网络服务器应用特性。此外,asp使用ado连接到一个sql数据库,(sql, access, oracle,等等),取出相关的数据,如一个特定区域当前的天气。因此,可以根据指定的区域和时间,不同的网页被存取。然后,服务器生成html标签,然后再把它发给客户端。因此,当你查看asp文件时,你将看到和标准的html文件没什么两样。asp包括五个内置对象(7):请求-从用户中通过html请求来获取信息,反应-输出客户所请求的数据服务器-控制互联网信息服务器会话-对于给定的用户会话保存特定的变量申请-保存一个应用程序的资料,比如一个网页计数器你已经知道了asp技术的工作原理。难道不精彩吗?你可能想知道如何使它工作,你需要怎样才能让它实现。在下一节里,你会发现这个方法。怎样使它工作?首先,你需要设置一个环境,在那里你可以执行你的脚本,那就是你需要设置你的网络服务器(iis或pws)。如果你有一个nt服务器,iis已经安装。如果你的是window 95/98,你可以从win98的光盘目录中安装pws。如果你正在用unix,你可以从()下载安装而不是微软的网站服务器。然后,你将需要安装一些数据库软件,如ms access, microsoft sql server (万一你要连接数据库)。最后但同样重要的是,你需要一个asp的编辑器具。它可以是任何的文本编辑器,如记事本或microsoft visual interdev。创建一个asp文件,你可能需要知道一些脚本语言,如vbscript或jscript。如果你要处理一个数据库,你还需要掌握一些数据库知识,比如建立数据库的数据源名称(d sn),创建一个资料集。你可以访问这个网站/programming/aspintro/ss06.html来了解更多的有关数据库的知识它的优势是什么?在先前的部分学习关于asp技术的时候,你可能会一直在问你自己它能为你做什么。当然,asp具有一定长处;否则,就不会受欢迎。让我们来指出它的长处和功能。1. 动态网页因为asp支持脚本语言,在网络服务器,你的网页可以被动态地创建。举例来说,你可以对不用的用户访问你的网页来创建不同的页面给他们。2. 与浏览器无关的,asp和浏览器是独立的,因为所有的脚本代码都运行在服务器端。浏览器只从服务器得到一个标准的html网页。3.数据库访问- asp的其中一个最大的优点是数据库连接。让您轻松的在你的网站上建立丰富的数据库功能,如表格处理。4.内置对象- asp的5个内置对象促进网络应用程序开发利用。例如,你可以使用浏览器请求对象去找回信息。5. 免费的可用性-是的,它是免费的。你可以从微软的网站免费下载服务器(iis或pws)。您甚至不必有任何特殊的工具来写一个asp文件。换句话说,你能简单地使用任何的文本编辑器,如记事本。总结asp技术是一个支持动态网页的服务程序开发。包括内置对象与activex组件,asp的开发者可以创建一个动态网页和利用数据库的访问。既然你已经基本了解了asp,最好去亲手实践下,这是去学习如何写一个asp文件最好的学习方法。在网上有许多的asp教程。你也可以在这篇文章后面找到一些教程。希望你喜欢,祝你好运!参考1. 第一课:asp介绍/lessons/1.asp2. asp 概述/workshop/server/asp/aspover.asp3. asp.devasp介绍/samples/asp.asp4. 动态服务器网页介绍/webmonkey/98/39/index2a.html?tw=programming5. 开始学习asp/webtech/090800-1.shtml6. molisakulmongkon, p. (1999). developing web database with asp. bangkok: dk book house: p. 162.7. 脚本和asp/devhead/stories/articles/0,4413,1600216,00.html这篇文章是jantrathip sae-chin 为了edc385g课程的互动而写的奥斯丁-得克萨斯大学-多媒体设计及开发 原文:aspintroduction to aspare you sick of static html pages? do you want to create dynamic web pages? do you want to enable your web pages with database access? if your answer is “yes”, asp might be a solution for you. in may 2000, microsoft estimated that there are over 800,000asp developers in the world (1). you may come up with a question what the heck asp is. dont worry. after reading this paper, you will know what it is, how it works and what it can do for you. are you ready? lets get to know asp together.what is asp?asp stands for active server pages. microsoft introduced active server pages in december 1996, beginning with version 3.0. microsoft officially defines asp as: “active server pages is an open, compile-free application environment in which you can combine html, scripts, and reusable activex server components to create dynamic andpowerful web-based business solutions. active server pages enables server side scripting for iis with native support for both vbscript and jscript.” (2). in other words, asp is a microsoft technology that enables you to create dynamic web sites with the help of server side script, such as vbscript and jscript. asp technology is supported on all microsoft web servers that are freely available. if you have window nt 4.0 server installed, you can download iis (internet information server) 3.0 or 4.0. if you are using window2000, iis 5.0 comes with it as a free component. if you have window 95/98, you can download personal web server (pws), which is a smaller version of iis, from window95/98 cd. you can also download these products for free from microsofts web site.well, you have learned what the asp technology is. next, you will learn about anasp file. is it the same as html file? lets explore it.what is an asp file?an asp file is quite like an html file. it contains text, html tags and scripts, which are executed on the server. the two widely used scripting languages for an asp page are vbscript and jscript. vbscript is pretty much like visual basic, whereas jscript is the microsofts version of javascript. however, vbscript is the default scripting language for asp (3). besides these two scripting languages, you can use other scripting language with asp as long as you have an activex scripting engine for the language installed, such as perlscript.the difference between an html file and an asp file is that an asp file has the “.asp” extension. furthermore, script delimiters for html tags and asp code are also different. a script delimiter is a character that marks the starting and ending of a unit. html tags begins with lesser than () brackets, whereas asp script typically starts with . in between the delimiters are the server-side scripts.to write an asp script, you dont need any additional software because it can be written with any html editor, such as notepad. nonetheless, if you feel bored with the plain text and would like to use some special software, you can use microsoft visual interdev, which helps you to easily create an asp page by giving you nice highlights and debugging dialogue boxes (4).i hope that you already have an idea of what an asp file is and how it is different from an html file. in the next step, you will learn how asp works. lets go.how does it work?as you have learned, scripts in an asp file are server-side scripts, which means that the scripts are processed on the server and then the result of the scripts will be converted to html before sending to the web browser. to illustrate, lets take a look at this table to compare the process of retrieving an html page and an asp page (5).html processasp process1. a user requests a web page (i.e., /index.html in the web browser.2. the browser finds the appropriate web server, and asks for the required page.3. the web server locates the required page and sends it back to the browser as html text.4. the browser executes the client side scripting (like javascripts) determining how to display the results1. a user requests a web page (i.e., /test.asp in the web browser.2. the browser finds the appropriate web server (like iis or pws), and asks for the required page.3. the web server locates the required page, and parses out the asp code within the asp script delimiters (), produces a standard html page. the server sends that html page back to the browser, so the user cannot see asp code.4. the browser executes the client side scripting (like javascripts) determining how to display the resultsas you can see, the whole process of the two is quite similar. since asp is a server-side technology, the required page is executed on the server before the html is created and served to the client. to make it clearer, figure1 shows the processing behind a browser request to an asp page (6).for example, a client types in a url into your browser. the browser requests theasp page from the web server. the server proceeds the file with “.asp” extension to asp engine in which objects or activex components can be used to extend the web server with application-specific functionality. in addition, asp will use ado to connect to a database (sql, access, oracle, etc.) to pull out the relevant data, such as the current weather in a specific area. thus, a different page is generated according to the area specified and time that the page is accessed. then, the server generates html tags before sending it back to the client. therefore, when you view the source of an asp file, you will not see any different from a standard html file.asp includes five build-in objects (7):request to get information from the user that is passed along with an httpresponse to output data to the requesting clientserver to control the internet information serversession to store variables associated with a given user session application to store information that remain active for the lifetime of an application, such as a page counter.you have already known how asp technology works. isnt it fascinating? you probably want to know how to make it work and what you need to make it work. in the next section, you will find the way to do it.how to make it work?first of all, you need to set up an environment where you can execute your scripts; that is you need to set up your web server (iis or pws). if you have an nt server, iis is already installed for you. if you window 95/98, you can install pws from the add-ons directory on the win 98 cd. if you are using unix, you can chili!soft () instead of microsoft web server. next, you will need to install some database software, such as ms access, microsoft sql server (in case you want to connect to database).last but not least, you need an asp editor. it can be any text editor, like notepad or microsoft visual interdev. to create an asp file, you may need to know a scripting language, such as vbscript or jscript. if you want to deal with a database, you also need to have some knowledge about database, such as creating a data source name (dsn), creating a recordset. you can learn more about database access from this web site:/programming/aspintro/ss06.htmlwhat are its advantages?while learning about asp technology in previous sections, you might ask yourself all the time what it can do for you. certainly, asp must have some strength; otherwise, it wont be popular as such. lets count on its strong points and functionality.1. dynamic web page since asp supports scripting languages, which run on the web server, your web page can be dynamically created. for example, you can create your web page so as to greeting each user when they log into your page differently.2. browser independent asp is browser independent because all the scripting code runs on the server. the browser only gets the results from the server in a standard html page.3. database access one of the greatest assets of asp is database connectivity.asp enables you to easily build rich database functionality into your web site, such as form processing.4. building-in objects the five built-in objects that come with asp facilitate web application development. for example, you can use request object to retrieve browser request information.5. free availability yes, its free. you can download web server (iis or pws) for free from microsofts web site. you dont even hav

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论