當前位置:學問君>學習教育>畢業論文>

基於MVC模式的BBS系統設計與實現

學問君 人氣:8.23K
畢業論文


目  錄
摘  要 1
前  言 3
1 緒論 4
1.1 背景分析 4
1.2 研究內容 4
1.3 論文結構 4
2 需求分析 6
2.1 系統的綜合要求 6
2.2 系統的數據要求 6
2.3 系統的邏輯模型 9
2.4 系統的技術可行性 10
2.4.1  可行技術分析 10
2.4.2  MVC模式 13
2.4.3  STRUTS技術 15
2.4.4  MY SQL數據庫技術 22
3 系統設計 24
3.1系統概要設計 24
3.1.1 數據結構的設計 24
3.1.2 系統結構的設計 26
3.2 系統詳細設計 29
3.2.1 會員註冊 29
3.2.2 討論區文章查閱 29
3.2.3 發表新文章 29
3.2.4 後臺管理 29
3.2.5 實現方法 30
4 系統的執行與維護 39
結 束 語 45
參考文獻 46
致  謝 47

基於MVC模式的BBS系統設計與實現

 
基於MVC設計模式的BBS的開發
 

摘要:目前,BBS系統可隨時獲取最新軟件及資訊,也可以透過BBS系統與別人討論計算機軟件、硬件、Internet、多媒體、程序設計以及醫學等等各種有趣的話題,更可以利用BBS系統來刊登1些“徵友”、“廉價轉讓”及“公司產品”等啓事!
BBS系統就是提供給註冊用戶1個自由發表自己意見的平臺,會員用戶可以透過Internet接入,登入系統,在這個平臺上發表文章、閱讀文章、回覆文章等等,本論文詳細地講述了開發1個基於MVC(模型-視圖-控制)模式的BBS網站系統所用到的技術和方法。其中運用了JSP技術(Java Server Page)、Struts技術、My SQL數據庫技術等等,並從幾個不同的方面來對上述技術的實現方法進行了討論。最後實現了BBS系統,其主要功能包括會員註冊、討論區文章查閱和後臺管理。其中後臺管理包括用戶管理、論壇分類管理和論壇主題管理。該BBS系統主要給Java技術愛好者以及初學者和開發人員提供1個交流的平臺,相互之間可以交流經驗與心得,並且彼此之間在技術上可以相互幫助,從而促進大家的水平的提高。
關鍵詞:BBS;My SQL;Struts;MVC
 

The Development of BBS System based on MVC Design Pattern
 

Abstract:  At present, we can obtain the latest software and information at any time through BBS system, also can discuss various interesting to software, hardware, Internet, multimedia, designing program and medical science with others through BBS system too. Even more, we can make use of BBS system to publish notices such as some “advertising for a friend “, " transferring cheap " and " company products “, etc.
BBS system has provided a platform for people to publish his own suggestion freely to registered user, the members of BBS can login on the system through internet, then they can log-in system, deliver articles, read articles, reply to articles, etc. This paper has introduced how to develop a BBS, which based on MVC (model - view - control) design pattern. This BBS system has used JSP technology (Java Server Page), Struts technology, My SQL database technology etc. And it has discusses the implementation method of the technology which described above all from several different aspects. Finally we have implemented the BBS system. It offers people to register and search for the articles in the forum, It also has backend management module backend management includes user management、the forum classifies management and forum subject management. This BBS mainly offers a platform for Java technological fans、beginners and developers to communicate experience and insight with each other. And also can help each other to prove their skills, thus promote the improvement of everybodys level.
Keywords: BBS ;My SQL ; Struts; MVC
前  言

進入2101世紀,計算機技術迅速向着網絡化、集成化方向發展。傳統的單機版應用軟件正在逐漸退出舞臺,取而代之的是支援網絡、支援多種數據資訊(多媒體)的新1代網絡版應用軟件,而目前網絡版軟件中似乎存在着兩種不同的.趨勢,1種是稱爲客戶端——服務器的C/S結構應用系統,這類軟件具有結構嚴謹,執行效率高,服務器端壓力小,安全性好等優點,被廣泛運用於局域網中。而另1種,也是本畢業設計所採用的,是稱爲瀏覽器——服務器的B/S結構應用系統,它的特點是在客戶端直接採用了功能強大的瀏覽器軟件作爲介面,其優點在於軟件開發效率高,客戶端不受操作平臺的限制、也不受地域的限制,網絡傳輸量少,即適用於局域網,更適用於Internet,而且投資小、見效快,用戶可以不必進行服務器方面的投資,而是去租用,甚至是免費使用ISP的服務器資源,因而受到越來越多中小型單位的青睞。
本文討論的是1個基於MVC模式的通用BBS網站,它具有BBS網站應該具有的基本功能。
第1章緒論介紹了BBS的研究背,研究內容和本論文的結構。第2章是需求分析,主要介紹了系統的綜合要求,數據要求以及邏輯模型和相關技術,以及該實現該BBS的可行技術。。第3章主要介紹該BBS的概要設計,包括數據結構設計,系統結構設計,然後詳細講解系統的詳細設計和實現的方法。第4章主要介紹該BBS系統的執行和維護。最後是論文的結束語和實現時所參考的文獻。