畢業設計(論文)房地產信息管理系統的設計與實現外文翻譯_第1頁
畢業設計(論文)房地產信息管理系統的設計與實現外文翻譯_第2頁
畢業設計(論文)房地產信息管理系統的設計與實現外文翻譯_第3頁
畢業設計(論文)房地產信息管理系統的設計與實現外文翻譯_第4頁
畢業設計(論文)房地產信息管理系統的設計與實現外文翻譯_第5頁
已閱讀5頁,還剩6頁未讀 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

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文

5、件的區別。在下一節,您將學習asp是如何工作的。它如何工作的?根據你所學到的,asp文件中的腳本是服務器端腳本,這意味著這個腳本程序在服務器中處理,并且在發送到網頁瀏覽器之前腳本處理的結果將被轉化為html。例如,讓我們來看一看這張表格來比較的一個html頁面和asp頁面的轉變過程(5)。html 過程asp 過程1. 一個用戶在瀏覽器中請求訪問/index.html2. 這個瀏覽器找到相應的網站服務器,并請求所需的頁面。3. 頁面所在的服務器以html形勢返回給瀏覽器。4. 這個瀏覽器執行客戶端代碼(比如javascripts)從而決定怎樣顯示頁面。1

6、. 一個用戶在瀏覽器中請求訪問2. 這個瀏覽器找到相應的網站服務器(比如iis或pws),并請求所需的頁面。3. 網站服務器找出所請求的頁面,并從asp腳本分隔符(<%>),中解析asp代碼,產生一種標準的html頁面。服務器就將這個html頁面返回給瀏覽器,所以用戶不能看到asp代碼。4. 這個瀏覽器執行客戶端代碼(比如javascripts)從而決定怎樣顯示頁面。你能看到,這兩個的整個過程中十分相似。因為asp是在服務器端的技術,在html被創建和對客戶提供服務之前,所需的頁面就在服務器端執行了。為了使這個更清楚,圖形1表示的是瀏覽器請求一個asp頁面的過程 (6)。例如,一個

7、客戶類型在瀏覽器輸入一個網址。瀏覽器從網絡服務器端請求asp頁面。服務器獲得以“.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, micr

9、osoft sql server (萬一你要連接數據庫)。最后但同樣重要的是,你需要一個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文件。換句話說

11、,你能簡單地使用任何的文本編輯器,如記事本。總結asp技術是一個支持動態網頁的服務程序開發。包括內置對象與activex組件,asp的開發者可以創建一個動態網頁和利用數據庫的訪問。既然你已經基本了解了asp,最好去親手實踐下,這是去學習如何寫一個asp文件最好的學習方法。在網上有許多的asp教程。你也可以在這篇文章后面找到一些教程。希望你喜歡,祝你好運!參考1. 第一課:asp介紹2. asp 概述3. asp.devasp介紹4. 動態服務器網頁介紹5. 開始學習asp6. molisakulmongkon, p. (1999). developing web database with a

12、sp. bangkok: dk book house: p. 162.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

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

14、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, script

15、s, 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 we

16、b 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

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

18、 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 p

19、retty 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 languag

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

21、gins with lesser than (<) and greater than (>) brackets, whereas asp script typically starts with <% and ends 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

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

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

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

25、 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., in the

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

27、 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 b

28、efore 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” exte

29、nsion 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. t

30、hus, 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

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

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

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

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

35、 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 acces

36、s from this web site:what 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. dynam

37、ic 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

38、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 ap

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論