當前位置:文思屋>學習教育>畢業論文>

基於Web的北橋國小新聞網站ASP+access

文思屋 人氣:3.14W
畢業論文

目錄
中英文標題、摘要、關鍵詞…………………………………………………………………
正文……………………………………………………………………………………………3
1對 ASP的認識……………………………………………………………………………………
2開發環境……………………………………………………………………………………………3
2.1 開發目的…………………………………………………………………………………3
2.2 專案背景…………………………………………………………………………………3
2.3 開發環境…………………………………………………………………………………4
3 資料庫設計…………………………………………………………………………………………4
3.1 資料庫的搭建……………………………………………………………………………4
3.2 資料庫的連線……………………………………………………………………………5
4 功能設計……………………………………………………………………………………………5
4.1 前臺顯示…………………………………………………………………………………5
4.2 後臺管理…………………………………………………………………………………5
5 功能說明……………………………………………………………………………………………5
5.1 前臺顯示…………………………………………………………………………………
5.2 管理員登入………………………………………………………………………………10
5.3 後臺新聞管理……………………………………………………………………………12
6 結論…………………………………………………………………………………………………30
參考文獻……………………………………………………………………………………………………31
致謝辭…………………………………………………………………………………………………………

基於Web的北橋國小新聞網站ASP+access

 

 

 

基於Web的北橋國小新聞網站
 
摘要:根據對1般中國小新聞釋出事項的考察和分析,以及北橋國小本身的實際情況,在此基礎上確立了該新聞網站的具體實現功能,並闡述系統的結構設計和功能設計。該網站前臺具備了新聞的分類顯示,最近新聞按時間的更新排行,重點新聞的推薦以及熱門文章的點選排行和通過關鍵字和分類進行新聞搜尋等功能,清晰合理的頁面排版也方便了使用者的瀏覽。使用者可以自由向網站提交錄入新聞,但管理員對其保有刪除管理權。此舉對於提高校內學生的投稿積極性,更加活躍的參與學校網站的建設與資訊交流起到了有力的促進作用。後臺可允許管理員登入,對網站進行管理。管理的內容包括:增加、修改和刪除分類,釋出新聞,對已有新聞進行編輯,移動和刪除操作,搜尋站內新聞,或批量對新聞進行操作,如批量轉移或批量生成等。本網站所具有的這些功能,決定了它能夠有效的服務於北橋國小的新聞釋出及管理以及網民使用者的檢視。
關鍵詞:新聞顯示;釋出新聞;新聞管理;分類管理;批量管理


The Beiqiao Primary School’s News website Of Which Is On The Basis Of Web
 
Abstract:  According to the inspection and analysis of normal middle schools and primary schools,and the reality of the Beiqiao primary school,we established the website’s specific functions which can be materialized,and then elaborated the design of the system’s structure and function. The web’s stage has the functions that all the news were shown according to their each classes,the lastest news’s rank was renewed on the basis of the news’s time, the key news could be recommended by the admin, the hottest news’s rank was shown on the basis of the news’s clicks,and all the news cen be searched by their each  title’s key word and classes. The web page which seems clear and reasonable convenience the users to s can post news to the site on your own,but the admin has the right to delete or edit ’ll improve that all students’s aggressive to post nws,and make them to join in the construction of school’s web and communication with each other more and more. Admin can login in backstage to manage the can do that adding,,editing and deleting class,posting news,editing,moving and deleting the news already exist,searching for the news in site or managing a batch of news,such as moving a batch of news and born a batch of e functions the web has,decided that it can give effective service to the Beiqiao primary school’s news’s issuiing and the visiting of the web’s users.
Keywords: news’s showing ; news’s posting; news’s management; managing news according to their each classes; managing a batch of news
 
1 對ASP的認識
ASP 全稱為  Active  Server  Pages(動態伺服器主頁),它是1種應用程式環境,可以利用  VBscript  或  Java  Script  語言來設計,主要用於網路資料庫的查詢與管理。其工作原理是當瀏覽者發出瀏覽請求的時候,伺服器會自動將 ASP 的程式碼,解釋為標準 HTML格式的網頁內容,再送到瀏覽者瀏覽器上顯示出來。
利用ASP生成的網頁,與HTML相比具有更大的靈活性。只要結構合理,1個ASP頁面就可以取代成千上萬個網頁。儘管ASP在工作效率方面較之1些新技術要差,但勝在簡單、直觀、易學,是涉足網路程式設計的1條捷徑。它具備1個伺服器端的指令碼執行環境,用它可產生和執行動態的、互動的、高效能的Web伺服器應用程式。
Active  Server的另1大優點是程式碼的安全性。頁面的訪問者所能看到的只是伺服器方的處理結果。ASP檔案可以用常規的文字編輯器編輯, ASP使用VBScript、JavaScript等指令碼語言作為開發工具,鑲嵌於HTML文字中,使用"<%…%>"將ASP的'程式包含起來。當用戶從瀏覽器向Web伺服器提出請求時,Web伺服器會自動將ASP的程式解釋為標準的HTML格式的主頁內容,使用者端只要使用常規可執行HTML程式的瀏覽器,就可瀏覽ASP所設計的主頁內容,因此與瀏覽器無關,並且保證了ASP的源程式程式碼不會外漏。
ASP中包括5個內建的ActiveX伺服器元件和5個內建的物件:Database  Access  component(資料庫訪問元件)、File  Access  component(檔案訪問元件)、Ad  Rotator  component(廣告輪播器元件)、Content  Linking  component(內容連結元件)、Browser  Capabilities  component(瀏覽器信元件)以及Request(請求物件)、Server(伺服器物件)、Session(會話物件)、Response(響應物件)、Application(應用程式物件)。在所有ASP元件中,最有用的是資料庫訪問元件,也稱為ActiveX資料物件或ADO。在站點發布資料庫將使用這個元件及其中包含的物件,以完成對ODBC資料來源的讀寫。
此外,ASP技術的另1個重要特點是,程式設計師可以利用Java、Visual  Basic、Visual  C++等語言製作適應自己特殊需要的ActiveX伺服器元件來擴充ASP的功能,使自己的動態網頁幾乎具有無限的擴充能力。
ASP的源程式碼在伺服器端執行,程式碼保密性好。集成於HTML中,無需編譯連結可直接執行,而且使用文字編輯器即可設計。