【正文】
本科生畢業(yè)論文(設(shè)計)題目:基于 S2SH 的博客系統(tǒng)的設(shè)計與實現(xiàn)系 名:電子通信與軟件工程專 業(yè):07 級計算機科學(xué)與技術(shù)學(xué) 號:072022116姓 名:鐘曉婷指導(dǎo)教師:苑俊英裝訂線中山大學(xué)南方學(xué)院二○一一年五月摘 要當(dāng)今社會已正式步入信息時代,而信息技術(shù)的主要目標(biāo)就是如何使人們更方便地進行聯(lián)系和交流。因此,各種信息交流工具應(yīng)運而生。在所有的主流通信軟件中,博客占有重要的一席之地。博客是一種新興、以互聯(lián)網(wǎng)為平臺的網(wǎng)絡(luò)型交友軟件。隨著計算機技術(shù)的發(fā)展,博客系統(tǒng)的開發(fā)技術(shù)也日趨完善。尤其是其安全性的提高以及完善的功能,使越來越多的人著迷于博客的獨特魅力。因此,從市場占有率來看,博客具備持久的可開發(fā)性。 本文研究了一種基于 S2SH 架構(gòu)的博客系統(tǒng)。本系統(tǒng)實現(xiàn)的功能主要包括:用戶注冊、用戶登錄、用戶/博客/博文搜索、個人/博客信息管理、訪客/ 用戶評論、相冊管理和點擊率查看等。本系統(tǒng)采用的是 Structs2+Spring+Hibernate 三層架構(gòu),基于 和 相結(jié)合的開發(fā)模式。利用 MyEclipse 的相關(guān)技術(shù),可以在數(shù)據(jù)庫和 J2EE 的開發(fā)、發(fā)布以及應(yīng)用程序服務(wù)器的整合等方面極大地提高工作效率;利用其提供的各種組件如 MyEclipse Database Explorer,MyEclipse Java Enterprise 等建立數(shù)據(jù)庫、連接數(shù)據(jù)庫、對數(shù)據(jù)庫進行分析管理并建立相關(guān)頁面,經(jīng)過不斷地改進,最終實現(xiàn)了博客系統(tǒng)。 關(guān)鍵詞:博客系統(tǒng),S2SH,Myeclipse,JAVA,MysqlABSTRACTOur society has formally been into the information age today, and information technology39。s main goal is to make people more easily to municate and contact with each other. Therefore many kinds of information munication tools arise at the historic moment. Blog has an import role in the all mainstream munication software. Blog is a dating tool which is a new kind of software and take the work as the platform.By the puter technology’s development, the technology of Blog system is better and better. Especially due to the improvement of security and perfect function, more and more people are lost in blog unique charm. So blog has lasting development which is judged from market share. This thesis discusses blog system which is based on S2SH framework. This system mainly realized functions includes: registration, login, user/blog/personal/blog search, personal/blog information management, visitors/user remark, photo album management, hits view and so on. This system uses struts2+Spring+Hibernate framework on the structure and based on the development mode which bines . With the MyEclipse technology, we can improve the work efficiency in integration of database and J2EE development, release and application server. Use of various ponents such as MyEclipse Database Explorer, MyEclipse Java Enterprise and so on which its porivide can create databse, connect to Database,manage database and establish some pages. After continuous improvement, the blog system finally pleted.Keywords:Blog System, S2SH,Myeclipse, JAVA, Mysql 目 錄摘 要 ..............................................................IABSTRACT ........................................................II目 錄 ............................................................III第 1 章 緒論 .........................................................1 研究背景及意義 ................................................1 國內(nèi)外博客現(xiàn)狀比較 ............................................2 博客作者的性別 .............................................2 博客已經(jīng)不是新事物 .........................................2 寫博客的目的 ...............................................2 關(guān)于博客與傳統(tǒng)媒體 .........................................3 博客在中國的公信力 .........................................3 總結(jié) .......................................................3 研究的主要內(nèi)容 ................................................3 本文的組織 ....................................................4第 2 章 相關(guān)技術(shù)和配置 ...............................................5 MyEclipse .....................................................5 S2SH .........................................................5 Struts2 ....................................................5 Spring.....................................................5 Hibernate ..................................................6 Struts2+Spring+Hibernate 的整合 ...............................6 Apache ........................................................7 Tomcat ........................................................7 FCKEditor .....................................................7 FCKeditor 簡介 .............................................7 FCKeditor 配置 .............................................8 Mysql 數(shù)據(jù)庫介紹和配置 .......................................12 Mysql 數(shù)據(jù)庫的介紹 ........................................12 Mysql 在 Myeclipse 中的配置 ................................12第 3 章 系統(tǒng)需求分析 ................................................18 系統(tǒng)概述 .....................................................18 功能描述 .....................................................18 系統(tǒng)用例圖 ...................................................19 功能描述 .....................................................19 功能 1 評論管理 ...........................................19 功能 2 首頁 ...............................................21 用例 3 點擊率 .............................................22 功能活動圖 ...................................................22 評論管理活動圖 ............................................22 首頁活動圖 ...............................................23 點擊率活動圖 .............................................25 術(shù)語表 .......................................................25第 4 章 系統(tǒng)概要設(shè)計 ................................................26 系統(tǒng)架構(gòu)設(shè)計 .................................................26 系統(tǒng)關(guān)鍵抽象和類圖 ...........................................27 系統(tǒng)關(guān)鍵抽象 ..............................................27 系統(tǒng)類圖 ..................................................28 數(shù)據(jù)庫設(shè)計 ...................................................29 UserInfo 表 ................................................29 BlogInfo 表 ...............................................29 BlogClick 表 ..............................................29 Remark 表 ................................................30 Log 表 ...................................................30 LogClick 表 ...............................................30 Imagebook 表 ..............................................30 Visitor 表 .................................................31第 5 章 系統(tǒng)詳細(xì)設(shè)計 ................................................32 系統(tǒng)結(jié)構(gòu)圖 ...................................................32 系統(tǒng)后臺代碼結(jié)構(gòu)圖 .........