【正文】
there was only the green hush. The light was still bright and strong and nearly, shadowless, but some interior sense told him the day, was nearly over, and he noticed that such f。 there was none. He drew a deep breath then and said, Well, that39。 . sound in an atmosphere silent and unwa ked as Earth39。t run, N icholas, Dr. Island said with the voice of a wave. It only makes him angry that you run. N icholas did not answer, but cut to his left, up the beach and among the trunks of the palms, sprinting all the way because he had no way of knowing Ignacio was not right behind him, about to grab him by the neck. When he stopped it was in the thick jungle, among the boles of the hardwoods, where he leaned,.。 words, realizing that they were a signal, he turned and began to run, splashing through the shallow water. Ignacio ran after him, much helped by his longer legs, his hair flying behind his dark young face, his square teetheach white as a bone and as big as Nicholas39。 再次感謝在大學四年中給予我?guī)椭^的老師和同學們! Are you hungry now? No, I am tired and lazy now。 本文能夠成功的完成,要特別感謝我的導師王鴻斌,王老師淵博的知識和誠懇的為人使我受益匪淺,他 在我收集材料以及創(chuàng)寫本論文的過程中給予我的各方面的指導、幫助、支持以及理解。 Article Management。 (3) design and realization of the system function, including users entry, registration of users, publishing articles, management of articles, searching articles, management backstage, etc. (4) building and test an experiment website。 參考文獻 [1] 鄧文淵 . ASP 與網頁數據庫設計 [M].中國鐵道出版社 ,2020 [2] 鄧文淵 . Dreamweaver MX互動網站百寶箱 for ASP[M].中國鐵道出版 2020 [3] 張念魯 . Web 程序設計教程 [M].高等教育出版社, 2020 [4] 胡 標 . ASP 網絡編程與實例 [M].人發(fā)郵電出版社, 2020 [5] 李曉黎 . ASP+SQL Server 網絡應用系統(tǒng)開發(fā)與實例 [M].人民郵電出版社,2020 [6] 石志國 . ASP 精解案例教程 [M]. 清華大學出版社, 2020 [7] Udy Strauss et al. Emarketing[M]. Hall Publishing, 2020 [8] (美) Robert 著. Web 編程技術 [M]. 劉莊等譯 .機械 工業(yè)出版社,2020 The Online System of Publishing Articles Abstract: In the 21st century, with the development of puter science, the application of reading online articles is more and more extensive in daily life. The paper gives a research of the online system of publishing articles based on ASP techniques. Compared with the ordinary static web pages, the system has some advantages such as strong interaction, online publishing, online reading and so on. This paper mainly introduces the contents as follows: (1) developing tools and developing environment configuration。 配置好網站的測試環(huán)境( ),輸入 ,打開文章在線發(fā)布系統(tǒng)的主頁頁面,在系統(tǒng)的所有頁面中輸入大量不同的測試數據,不斷完善該系統(tǒng)的各種功能。 (7)后臺發(fā)布網站公告功能的實現(xiàn) 只有管理員具有發(fā)布公告的權限,首頁顯示的是最新發(fā)布的公告,可以在首頁通過超鏈接查看以前網站的公告。 通過此功能可以以分頁形式查看每個用戶的用戶名、密碼。 在頁面中單擊相應文章的編輯按鈕即可修改該文章,相關代碼如下: a href=?id=%=(id)% 編輯 /a由此調用 ,根據 ID參數的值來顯示該文章的相關內容。 (5)管理員管理文章功能的實現(xiàn) 管理員管理文章功能界面如圖 : 圖 此頁面只有具 有管理員權限的用戶才能進入,在這兒管理員可以管理所有用戶的文章。 /script % () end if % 當用戶填入所要搜索的文章名稱后,單擊搜索按鈕,將會出現(xiàn)該關鍵字的相關文章內容,若您沒有輸入關鍵字,會自動彈出一信息框給予提示“您還沒有輸入關鍵字,請輸入關鍵字”。 order by wen_id desc set objrs=conn_str(sql) if then % script language=javascript alert(沒有你要查找的文章 )。(search_name)amp。 查詢?yōu)g覽功能的界面如圖 : 圖 其主要代碼如下: form name=form1 method=post action= % sql=select * from wen where wen_title like 39。操作成功或出錯系統(tǒng)都會自動彈出信息框給予提示。最后單擊“提交”完成文章的發(fā)布。 set rs1=conn_str(sql1) if and then close_str(rs1) % script language=javascript msgstr(用戶名不存在 !,)。user_nameamp。 /script % else sql1=select user_name from user_data where user_name=39。 其中處理登錄的主要代碼如下: % if user_name= then % script language=javascript msgstr(您沒有輸入用戶名 !,)。 各功能具體設計如下: (1)用戶注冊登錄功能的實現(xiàn) 用戶注冊界面 如圖 所示: 圖 用戶在此界面可以申請成為注冊用戶,其中用戶名、密碼、 Email 均不能為空,否則系統(tǒng)會自動彈出一個信息提示框提示“注冊出錯,請返回重新注冊”。 (2)管理用戶功能,管理員可通過此功能刪除用戶。 (4)文章修改功能 用戶發(fā)布文章后可以通過此功能修改或刪除自己的文章。 (2)直接瀏覽功能 用戶可直接點擊想要瀏覽的文章類別,即可分頁查看所有相應類別的文章,或 者直接點擊想要看的文章,即可查看文章內容。 如表 34 所示: 表 34 文章公告表的字段表 字段名稱 字段數據類型 公告編號 (id) 自動編號 公告內容 (content) 備注 添加日期 (add_date) 日期 /時間 文章在線發(fā)布系統(tǒng)分兩大模塊:用戶模塊和管理員模塊。 如表 32 所示: 表 32 用戶信息表的字段表 字段名稱 字段數據類型 用戶編號 (user_id) 自動編號 用戶名字 (user_name) 文本 用戶密碼 (user_pwd) 文本 性別 (user_sex) 文本 E_mail(user_) 文本 用戶注冊時間 (user_date) 日期 /時間 (3)文章內容表 這個表是用來保存網上文章的基本信息的,里面包含七個字段,分別是文章ID、文章標題、文章類別、文章作者、文章內容、點擊次數、添加時間。 數據庫邏輯設計 (1)管理員信息表 這個表用來保存管理員的基本信息里面包含三個字段,分別是 管理員編號、文章發(fā)布后臺系統(tǒng) 用戶管理模塊 admin用戶 普通用戶 用戶登錄 成功 失敗 重試 開始 3. 管理自己的信息 4. 管理普通用戶的信息 管理自己的用戶信息 管理員名字和管理員密碼。 圖 數據庫需求分析 由于該系統(tǒng)是一小型數據庫所以使用 Access 來建立數據庫 [ 7] 。 Admin 用戶擁有最大的權限,可以管理普通用戶的所有信息和文章,而普通用戶只能管理自己的文章和基本信息。 提供數據 圖 用戶管理功能模塊的關系如圖 。 如圖 所示。 系統(tǒng)功能模塊劃分 從 上面的功能描述的內容中可以看到,本系統(tǒng)可以實現(xiàn)的六個完整的主要功能,當然還可以實現(xiàn)一些上面沒有提到的小功能。 (5) 文章搜索 按關鍵字分頁顯示文章; 按文章標題顯示文章。 (3) 文章分類 發(fā)布的文章按類分頁顯示; 文章類別包括人生之旅、情感世界、幽默笑話、奇聞軼事、詩歌家園、網海拾貝六類。具體描述如下: (1) 用戶注冊登錄 注冊新用戶; 注 冊后登錄。 (5)使用瀏覽器來讀取數據庫的功能。 (3)設定 ODBC 驅動程序。具體的操作步驟可以歸納為下幾步 [ 6] : (1)創(chuàng)建數據庫源名( DSN) (2)創(chuàng)建數據庫鏈接( Connection) (3)創(chuàng)建數據庫對象 (4)操作數據庫 (5)關閉數據對象和鏈接 總的來說,構建網站數據庫的步驟如下 [ 7] : (1)在 Window 98裝上 PWS這套 Web 服務軟件,或在 Window2020 裝上 組件,使電腦變成一個 WEB 服務器。 ADO(Active Date Object)是一種操作 Microsoft 所支持的數據庫的新技術。 表 21 ASP 內部 6大對象及其功能 對象名稱 功能描述 Request 從客戶端取得信息 Response 將信息送給客戶端 Server 提供一些 Web服務器工具 Session 儲存在一個 Session內的用戶信息,該信息僅可被該用戶訪問 Application 在一個 ASPApplication中讓不同的客戶端共享信息 ObjectContext 配合 Microsoft Transaction服務器進行分布式事務處理 合理地運用這些對象可以使原本復雜,煩瑣的工作變得簡捷而條理清晰。 ASP提供了 6個功能強大的內部對象,每個對象具有各自的屬性( Property)、方法( Method),有的還擁有數