房地产信息管理系统的设计与实现--外文翻译.doc

上传人:精*** 文档编号:824131 上传时间:2023-09-03 格式:DOC 页数:13 大小:213.50KB
下载 相关 举报
房地产信息管理系统的设计与实现--外文翻译.doc_第1页
第1页 / 共13页
房地产信息管理系统的设计与实现--外文翻译.doc_第2页
第2页 / 共13页
房地产信息管理系统的设计与实现--外文翻译.doc_第3页
第3页 / 共13页
房地产信息管理系统的设计与实现--外文翻译.doc_第4页
第4页 / 共13页
房地产信息管理系统的设计与实现--外文翻译.doc_第5页
第5页 / 共13页
点击查看更多>>
资源描述

1、本科毕业设计(论文)外文翻译本科毕业设计(论文)外文翻译译文:ASPASP介绍你是否对静态HTML网页感到厌倦呢?你是否想要创建动态网页呢?你是否想要你的网页能够数据库存储呢?如果你回答:“是”,ASP可能会帮你解决。在2002年5月,微软预计世界上的ASP开发者将超过80万。你可能会有一个疑问什么是ASP。不用着急,等你读完这些,你讲会知道ASP是什么,ASP如何工作以及它能为我们做什么。你准备好了吗?让我们一起去了解ASP。什么是ASP?ASP为动态服务器网页。微软在1996年12月推出动态服务器网页,版本是3.0。微软公司的正式定义为:“动态服务器网页是一个开放的、编辑自由的应用环境,你

2、可以将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小的一个版本,可以从Wi

3、ndows95/98CD中安装,你也可以从微软的网站上免费下载这些产品。好了,您已经学会了什么是ASP技术,接下来,您将学习ASP文件。它和HTML文件相同吗?让我们开始研究它吧。什么是ASP文件?一个ASP文件和一个HTML文件非常相似,它包含文本,HTML标签以及脚本,这些都在服务器中,广泛用在ASP网页上的脚本语言有2种,分别是VBScript 和 Jscript,VBScript与Visual Basic非常相似,而Jscript是微软JavaScript的版本。尽管如此,VBScript是ASP默认的脚本语言。另外,这两种脚本语言,只要你安装了ActiveX脚本引擎,你可以使用任意一

4、个,例如PerlScript。HTML文件和ASP文件的不同点是ASP文件有“.Asp”扩展名。此外,HTML标签和ASP代码的脚本分隔符也不同。一个脚本分隔符,标志着一个单位的开始和结束。HTML标签以小于号()结束,而ASP以结束,两者之间是服务端脚本。要写一段ASP脚本,你不需要额外的软件,因为它可以在任何HTML编辑器中编写,比如Notepad。虽然如此,如果你对纯文本感到无聊并想要使用一些特殊的软件,你可以使用微软的可视InterDev,通过调试对话框,帮助您轻松地创建一个ASP页面。我希望您已经对ASP文件有所了解以及它与HTML文件的区别。在下一节,您将学习ASP是如何工作的。它

5、如何工作的?根据你所学到的,ASP文件中的脚本是服务器端脚本,这意味着这个脚本程序在服务器中处理,并且在发送到网页浏览器之前脚本处理的结果将被转化为HTML。例如,让我们来看一看这张表格来比较的一个HTML页面和ASP页面的转变过程(5)。HTML 过程ASP 过程1. 一个用户在浏览器中请求访问http:/www.utexas.edu/index.html2. 这个浏览器找到相应的网站服务器,并请求所需的页面。3. 页面所在的服务器以HTML形势返回给浏览器。4. 这个浏览器执行客户端代码(比如JavaScripts)从而决定怎样显示页面。1. 一个用户在浏览器中请求访问2. 这个浏览器找到

6、相应的网站服务器(比如IIS或PWS),并请求所需的页面。3. 网站服务器找出所请求的页面,并从ASP脚本分隔符(),中解析ASP代码,产生一种标准的HTML页面。服务器就将这个HTML页面返回给浏览器,所以用户不能看到ASP代码。4. 这个浏览器执行客户端代码(比如JavaScripts)从而决定怎样显示页面。你能看到,这两个的整个过程中十分相似。因为ASP是在服务器端的技术,在HTML被创建和对客户提供服务之前,所需的页面就在服务器端执行了。为了使这个更清楚,图形1表示的是浏览器请求一个ASP页面的过程 (6)。例如,一个客户类型在浏览器输入一个网址。浏览器从网络服务器端请求ASP页面。服

7、务器获得以“.asp”扩展名的文件到ASP引擎中,这个引擎能使得对象或ActiveX组件被用来扩展网络服务器应用特性。此外,ASP使用ADO连接到一个SQL数据库,(SQL, Access, Oracle,等等),取出相关的数据,如一个特定区域当前的天气。因此,可以根据指定的区域和时间,不同的网页被存取。然后,服务器生成HTML标签,然后再把它发给客户端。因此,当你查看ASP文件时,你将看到和标准的HTML文件没什么两样。ASP包括五个内置对象(7):请求-从用户中通过HTML请求来获取信息,反应-输出客户所请求的数据服务器-控制互联网信息服务器会话-对于给定的用户会话保存特定的变量申请-保存

8、一个应用程序的资料,比如一个网页计数器你已经知道了ASP技术的工作原理。难道不精彩吗?你可能想知道如何使它工作,你需要怎样才能让它实现。在下一节里,你会发现这个方法。怎样使它工作?首先,你需要设置一个环境,在那里你可以执行你的脚本,那就是你需要设置你的网络服务器(IIS或PWS)。如果你有一个NT服务器,IIS已经安装。如果你的是Window 95/98,你可以从Win98的光盘目录中安装PWS。如果你正在用UNIX,你可以从()下载安装而不是微软的网站服务器。然后,你将需要安装一些数据库软件,如MS Access, Microsoft SQL Server (万一你要连接数据库)。最后但同样

9、重要的是,你需要一个ASP的编辑器具。它可以是任何的文本编辑器,如记事本或Microsoft Visual InterDev。创建一个ASP文件,你可能需要知道一些脚本语言,如VBScript或JScript。如果你要处理一个数据库,你还需要掌握一些数据库知识,比如建立数据库的数据源名称(d sn),创建一个资料集。你可以访问这个网站它的优势是什么?在先前的部分学习关于ASP技术的时候,你可能会一直在问你自己它能为你做什么。当然,ASP具有一定长处;否则,就不会受欢迎。让我们来指出它的长处和功能。1. 动态网页因为ASP支持脚本语言,在网络服务器,你的网页可以被动态地创建。举例来说,你可以对不

10、用的用户访问你的网页来创建不同的页面给他们。2. 与浏览器无关的,ASP和浏览器是独立的,因为所有的脚本代码都运行在服务器端。浏览器只从服务器得到一个标准的HTML网页。3.数据库访问- ASP的其中一个最大的优点是数据库连接。让您轻松的在你的网站上建立丰富的数据库功能,如表格处理。4.内置对象- ASP的5个内置对象促进网络应用程序开发利用。例如,你可以使用浏览器请求对象去找回信息。5. 免费的可用性-是的,它是免费的。你可以从微软的网站免费下载服务器(IIS或PWS)。您甚至不必有任何特殊的工具来写一个ASP文件。换句话说,你能简单地使用任何的文本编辑器,如记事本。总结ASP技术是一个支持

11、动态网页的服务程序开发。包括内置对象与ActiveX组件,ASP的开发者可以创建一个动态网页和利用数据库的访问。既然你已经基本了解了ASP,最好去亲手实践下,这是去学习如何写一个ASP文件最好的学习方法。在网上有许多的ASP教程。你也可以在这篇文章后面找到一些教程。希望你喜欢,祝你好运!参考1. 第一课:ASP介绍2. ASP 概述3. ASP.DevASP介绍4. 动态服务器网页介绍5. 开始学习ASP6. Molisakulmongkon, P. (1999). Developing Web Database with ASP. Bangkok: DK Book House: p. 162

12、.7. 脚本和ASP这篇文章是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 200

13、0, 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?A

14、SP 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 com

15、ponents 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 si

16、de 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 compone

17、nt. 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

18、 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, wher

19、eas 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.Th

20、e 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,

21、 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 so

22、me 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 le

23、arn 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

24、 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., http:/www.utexas.edu/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 t

25、he 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., in the web browser.2. The browser finds the appropriate web server (like IIS or PWS), and ask

26、s 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

27、(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 proces

28、sing 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

29、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 acc

30、essed. 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

31、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 h

32、ow 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

33、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

34、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

35、 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:What are its advantages?While learning about ASP technology in previous sec

36、tions, 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 c

37、an 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 standa

38、rd 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 developmen

39、t. 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 have to have any special tool to write an ASP file. In other words, you can simply use any

40、text editor, like NotePad.ConclusionASP technology is a server-side programming developed to enable dynamic web pages. With its build-in objects and ActiveX components, ASP developers can create a dynamic web page and make use of database access. Now that you have basic knowledge about ASP, it is be

41、tter to have a hands-on experience, which is the best way to learn to learn how to write an ASP file. There are tons of ASP tutorials out there on the Web. You can also find some tutorials included at the end of this paper. Enjoy and good luck!Reference1. Lesson1: Intro to ASP2. ASP Overview3. Intro

42、duction to ASP.DevASP4. Introduction to Active Server Pages5. Getting Started with ASP6. Molisakulmongkon, P. (1999). Developing Web Database with ASP. Bangkok: DK Book House: p. 162.7. Scripting with ASP*This paper is written by Jantrathip Sae-Chin for the course EDC385G InteractiveMultimedia Design & Production as the University of Texas Austin . .此处忽略!13

展开阅读全文
相关资源
相关搜索
资源标签

当前位置:首页 > 学术论文 > 外文翻译(毕业设计)

版权声明:以上文章中所选用的图片及文字来源于网络以及用户投稿,由于未联系到知识产权人或未发现有关知识产权的登记,如有知识产权人并不愿意我们使用,如有侵权请立即联系:2622162128@qq.com ,我们立即下架或删除。

Copyright© 2022-2024 www.wodocx.com ,All Rights Reserved |陕ICP备19002583号-1 

陕公网安备 61072602000132号     违法和不良信息举报:0916-4228922