【正文】
開發(fā)背景、開發(fā)目的和意義做了詳細(xì)介紹,然后,利用面向?qū)ο蟮姆治龇椒▽?duì)系統(tǒng)進(jìn)行了需求分析,并在此基礎(chǔ)上對(duì)系統(tǒng)進(jìn)行了全面的設(shè)計(jì),其中包括概要設(shè)計(jì),數(shù)據(jù)庫設(shè)計(jì),詳細(xì)設(shè)計(jì),最后給出了系統(tǒng)的測(cè)試報(bào)告。課程輔助教學(xué)平臺(tái)下測(cè)試系統(tǒng)是一個(gè)非常實(shí)用的軟件,在遠(yuǎn)程教育領(lǐng)域起到了巨大的作用,老師可以利用本系統(tǒng)發(fā)布測(cè)試卷,學(xué)生可以在網(wǎng)上測(cè)試,查看成績等,老師無須安排指定的地點(diǎn)和時(shí)間,也不需要去打印試卷,既方便又環(huán)保。課程輔助教學(xué)平臺(tái)下測(cè)試系統(tǒng)在解決這些不足后,可以向著更加智能化的方向發(fā)展,使老師和學(xué)生更容易使用這個(gè)系統(tǒng),老師通過很簡(jiǎn)單的操作就能順利生成一份試卷并發(fā)布,學(xué)生登陸后也可以輕松答卷并順利提交到數(shù)據(jù)庫。使用 ASP 可以組合 HTML 頁、腳本命令和 ActiveX 組件以創(chuàng)建交互的 Web 頁和基于 Web 的功能強(qiáng)大的應(yīng)用程序。1 ASP的工作原理當(dāng)在Web站點(diǎn)中融入ASP功能后,將發(fā)生以下事情: (1)用戶向?yàn)g覽器地址欄輸入網(wǎng)址,; (2)瀏覽器向服務(wù)器發(fā)出請(qǐng)求; (3)服務(wù)器引擎開始運(yùn)行ASP程序;(4)ASP文件按照從上到下的順序開始處理,執(zhí)行腳本命令,執(zhí)行HTML頁面內(nèi)容; (5)頁面信息發(fā)送到瀏覽器; 2 ASP的運(yùn)行環(huán)境ASP需要運(yùn)行在PWS或IIS下。一般asp需與access數(shù)據(jù)庫或SQL Server數(shù)據(jù)庫結(jié)合使用,編出功能強(qiáng)大的程序。PWS(personal web server)運(yùn)行在windows98環(huán)境下的簡(jiǎn)單個(gè)人網(wǎng)頁服務(wù)器。基本上,ASP即具有“軟件服務(wù)化,服務(wù)網(wǎng)路化”,“資訊委外服務(wù)與網(wǎng)路結(jié)合”與“產(chǎn)品通路化,通路產(chǎn)品化”等三大特性,甚至可以被視為是ISP(Internet Service Provider)與ITS(Information Technology Service)的結(jié)合。最近 ASP被媒體炒作的十分火熱,不是IT行業(yè)的人面對(duì)一堆技術(shù)名詞專業(yè)術(shù)語很難弄清楚ASP的內(nèi)容,本文試圖用淺顯的語言來為廣大的讀者揭開ASP神秘的面紗,對(duì)于IT行業(yè)的大熱門ASP領(lǐng)域有一些基本的認(rèn)識(shí)。將上述發(fā)展階段綜合起來,簡(jiǎn)單的說,目前的ASP提供商的歷史和發(fā)展道路可以簡(jiǎn)單的描述為:第一類,從過去的ISP發(fā)展起來,圍繞基礎(chǔ)設(shè)施和通訊功能,與軟件廠商合作,增加業(yè)務(wù)范圍,發(fā)展到現(xiàn)在的IDC(互聯(lián)網(wǎng)數(shù)據(jù)中心);第二類,過去的ISV(獨(dú)立軟件提供商)和VAR(增值服務(wù)轉(zhuǎn)售商),在互聯(lián)網(wǎng)時(shí)代,改變過去的營銷方式,將過去以軟件產(chǎn)品的出售為主轉(zhuǎn)向以使用權(quán)租賃為主,從物理載體的打包封裝方式轉(zhuǎn)向現(xiàn)在在線和遠(yuǎn)程運(yùn)行方式為主,通過與網(wǎng)絡(luò)運(yùn)營商的合作,實(shí)現(xiàn)向ASP的轉(zhuǎn)型;第三類,傳統(tǒng)的大型組織的IT服務(wù)部門和傳統(tǒng)的咨詢公司,在對(duì)于互聯(lián)網(wǎng)的深刻認(rèn)識(shí)的基礎(chǔ)上,依靠長期的經(jīng)驗(yàn),開始為其他客戶進(jìn)行系統(tǒng)方案的設(shè)計(jì)和實(shí)施,通過建立在與網(wǎng)絡(luò)運(yùn)行商和應(yīng)用軟件制造商之間的聯(lián)盟關(guān)系,實(shí)現(xiàn)以系統(tǒng)集成商身份出現(xiàn)的ASP提供商。而很大程度上直到1999年末到2000年初,ASP領(lǐng)域相關(guān)公司在資本市場(chǎng)上的突出表現(xiàn)才引起了人們的廣泛關(guān)注。在本節(jié)中,我們將回顧ASP產(chǎn)生發(fā)展演變的過程,以幫助更好的深入理解ASP的本質(zhì)。HTML 編寫人員 如果您是位 HTML 編寫人員,您將發(fā)現(xiàn) ASP 腳本提供了創(chuàng)建交互頁的簡(jiǎn)便方法。以前,要想從 HTML 表格中收集數(shù)據(jù),就不得不學(xué)習(xí)一門編程語言來創(chuàng)建一個(gè) CGI 應(yīng)用程序。您再不必學(xué)習(xí)完整的編程語言或者單獨(dú)編譯程序來創(chuàng)建交互頁。對(duì)于 ASP,您可以便捷地使用 ActiveX 組件來執(zhí)行復(fù)雜的任務(wù),比如連接數(shù)據(jù)庫以存儲(chǔ)和檢索信息。只要安裝了符合 ActiveX 腳本標(biāo)準(zhǔn)的相應(yīng)腳本引擎,就可以在 ASP 頁中使用任何一種腳本語言。PERL、REXX 和 Python 的 ActiveX 腳本引擎可以從第三方開發(fā)人員處獲得。通過向 HTML 中添加腳本命令,您能夠創(chuàng)建應(yīng)用程序的 HTML 接口。使用 ASP 進(jìn)行計(jì)算的 Web 可轉(zhuǎn)化為有形的利益,它使 Web 供應(yīng)商能夠提供交互的商業(yè)應(yīng)用而不僅僅是發(fā)布內(nèi)容。包含在 Windows NT Option pack 中的 Microsoft Transaction Server(MTS)可以降低在服務(wù)器上構(gòu)造程序的復(fù)雜性和費(fèi)用。6 Active Server Pages模型瀏覽器從 Web 服務(wù)器上請(qǐng)求 .asp 文件時(shí),ASP 腳本開始運(yùn)行。由于腳本在服務(wù)器上而不是在客戶端運(yùn)行,傳送到瀏覽器上的 Web 頁是在 Web 服務(wù)器上生成的。由于只有腳本的結(jié)果返回到瀏覽器,所以服務(wù)器端腳本不易復(fù)制。 我們將介紹著名數(shù)據(jù)庫語言的SQL的基本形式。從80 年代初期,SQL就一直是關(guān)系數(shù)據(jù)庫管理系統(tǒng)的語言,而且它是有著重要的意義的在對(duì)許多概念中,都在本文里提到。SQL99 是SQL92的延伸,它不改變所有早期版本的優(yōu)秀的語言。我們也介紹了ENTRY SQL9CORE SQL99之外一些廣泛實(shí)現(xiàn)的特性。首先,我們總的研究SQL的特性,然后對(duì)SQL的多種形式標(biāo)準(zhǔn)和產(chǎn)品語言以及我們將如何具體地處理這些標(biāo)準(zhǔn)和產(chǎn)品語言進(jìn)行分析解釋。這將讓我們看到,在編寫查詢語句時(shí)SQL中的SELECT在很多方面都比關(guān)系代數(shù)強(qiáng)大。對(duì)那些周密的擴(kuò)展語法來說,沒有關(guān)系代數(shù)所不能實(shí)現(xiàn)的。同時(shí)在許多方面,SQL語句和關(guān)系代數(shù)概念模型又有著相當(dāng)大的差異,而可以通過熟悉、理解關(guān)系代數(shù)增強(qiáng)對(duì)SQL的理解。SQL的SELECT語句比簡(jiǎn)單的關(guān)系代數(shù)更難,但只要能夠上機(jī)實(shí)踐,只需幾個(gè)典型實(shí)驗(yàn)就收回你的懷疑。此情況說明了這樣一個(gè)事實(shí),一個(gè)SQL 的SELECT語句是在打入一些輸入行之后立即形成的,并且對(duì)一個(gè)用戶來說該語句與前面的任何交互操作都沒有關(guān)系。在這方面SQL也與關(guān)系代數(shù)不同,因?yàn)樵陉P(guān)系代數(shù)中為了表示一個(gè)表與自身的笛卡兒積,在表前面可能需要定義表別名。當(dāng)然,SQL查詢可能會(huì)復(fù)雜。取出這個(gè)形式的一個(gè)部分的查詢被稱為子查詢,對(duì)它的定義是遞歸的,完整的SELECT語句形式只有一個(gè)子句。SELECT語句的非過程性說明了它與使用菜單的應(yīng)用十分相似。SELECT語句的各種子句對(duì)于菜單選項(xiàng)有時(shí)也會(huì)需要所有的子句,但并不是所有的子句在每次查詢的時(shí)候都用上。依照已經(jīng)討論的內(nèi)容,系統(tǒng)環(huán)境無法預(yù)先被描述,系統(tǒng)設(shè)計(jì)者也不可能對(duì)系統(tǒng)工作環(huán)境做過多限制。因此,即使在系統(tǒng)被集成之后,它的可靠性也是難以精確測(cè)量的。為此Microsoft提出一種新的數(shù)據(jù)庫訪問策略,即“統(tǒng)一數(shù)據(jù)訪問”(UniversalDataAccess)的策略。附錄B 外文原文The Active Server PagesThe Active Server Pages( ASP) is a server to carry the script plait writes the environment, using it can create to set up with circulate the development, alternant Web server application procedure. Using the ASP cans bine the page of HTML, script order to create to set up the alternant the page of Web with the module of ActiveX with the mighty and applied procedure in function that according to Web. The applied procedure in ASP develops very easily with modify.1 The working principle of ASP When the Web site into the ASP feature, will take place the following things: (1)the user browser address bar to enter a URL, the default page of the expansion are. Asp. (2)the browser request to the server. (3)the server engine running ASP procedures. (4)ASP document in accordance with the order from top to bottom starting with the implementation of the script orders, the implementation of HTML page content. (5)pages of information sent to the browser. 2 ASP operating environment Asp need to run in under the PWS or IIS. PWS or IIS services in windows98 or windows2000 on the fringe of the CDROM, can use the Add / Remove Programs in the Add / Remove windows ponents to install. Asp and the general need to access databases or a bination of SQL Server database, made a powerful process. ASP can run the web server software Windows2000 default installation is (internet information server), and the default installation of windows xp is , windows 2003 default installation of . PWS (personal web server) running windows98 environment in a simple personal Web server. 3 ASP and the meaning of ASP (Application Service Provider, application software rental service providers) refers through the Internet to provide application software rental services industry, refers to the application software industry as the mainstay, and through onetomany network Transmission services, such servicebased business transactions to be leased by the way, in a more costeffective manner has the right to use the software, and also because the industry centralized management and greatly reduce the cost of maintaining enterprises . Basically, ASP is a software services, Internet services, and outsourcing of information services and network integration and access of products, access products, such as the three major characteristics, can even be seen as ISP ( Internet Service Provider) and ITS (Information Technology Service) bination. ASP is the English Application Service Provider, the standard Chinese translation is application service provider, is defined as mercial or individual customer management applications to provide solutions for panies or enterprises. ASP Chaozuo recently by the media is very fiery, the IT industry is not facing a pile of technical terms it is very difficult to clarify terminology ASP content, the paper tried to use simple language to the broad masses of readers opened the mysterious veil of ASP, IT Top of the ASP industry areas have some basic knowledge. 4 Origin of ASP The research to ASP mode and ASP enterprise39。 Another one is studies the origins of ASP enterprises and evolution course at present in terms of organizati