基于django的個人博客設(shè)計與實現(xiàn)設(shè)計與實現(xiàn)-計算機畢業(yè)設(shè)計源碼+LW文檔
摘? 要
在各學校的教學過程中,個人博客是一項非常重要的事情。隨著計算機多媒體技術(shù)的發(fā)展和網(wǎng)絡(luò)的普及。采用當前流行的B/S模式以及3層架構(gòu)的設(shè)計思想通過Python技術(shù)來開發(fā)此系統(tǒng)的目的是建立一個配合網(wǎng)絡(luò)環(huán)境的個人博客的平臺,這樣可以有效地解決個人博客混亂的局面。
本文首先介紹了個人博客的發(fā)展背景與發(fā)展現(xiàn)狀,然后遵循軟件常規(guī)開發(fā)流程,首先針對系統(tǒng)選取適用的語言和開發(fā)平臺,根據(jù)需求分析制定模塊并設(shè)計數(shù)據(jù)庫結(jié)構(gòu),再根據(jù)系統(tǒng)總體功能模塊的設(shè)計繪制系統(tǒng)的功能模塊圖,流程圖以及E-R圖。然后,設(shè)計框架并根據(jù)設(shè)計的框架編寫代碼以實現(xiàn)系統(tǒng)的各個功能模塊。最后,對初步完成的系統(tǒng)進行測試,主要是功能測試、單元測試和性能測試。測試結(jié)果表明,該系統(tǒng)能夠?qū)崿F(xiàn)所需的功能,運行狀況尚可并無明顯缺點。
關(guān)鍵字:個人博客;Django ;Mysql數(shù)據(jù)庫
Pick to
Personal blog is a very important thing in the teaching process of every school. With the development of computer multimedia technology and the popularity of the network. Using the current popular B/S mode and three layer architecture design ideas through Python technology to develop this system is to build a network environment of personal blog platform, so that can effectively solve the situation of personal blog chaos.
This article first introduces the development background and development status of personal blog, and then follow the routine software development process, first of all, in view of the system and the selection of suitable language development platform, according to the requirement analysis module and database structure design, and then based on the system's overall function module design rendering system function module chart, flow diagram and e-r diagram. Then, design the framework and write code according to the designed framework to achieve each functional module of the system. Finally, the preliminary completed system is tested, mainly functional test, unit test and performance test. The test results show that the system can achieve the required functions, and the running condition is fair and there is no obvious defect.
Key words: personal blog; Django. The Mysql database
目? 錄
第一章 概述 1
1.1 引言 1
1.2課題研究目的 1
1.3 開發(fā)現(xiàn)狀分析 2
1.4 課題開發(fā)意義 2
第二章 開發(fā)技術(shù)介紹 4
2.1 系統(tǒng)開發(fā)平臺 4
2.2 平臺開發(fā)相關(guān)技術(shù) 4
2.2.1? Django技術(shù) 4
2.2.2? Mysql數(shù)據(jù)庫介紹 4
2.2.3? Mysql環(huán)境配置 4
2.2.4? B/S架構(gòu) 5
2.2.4? ?Django框架 5
第三章 系統(tǒng)分析 7
3.1 可行性分析 7
3.1.1 技術(shù)可行性 7
3.1.2 操作可行性 7
3.1.3經(jīng)濟可行性 7
3.2性能需求分析 8
第四章 系統(tǒng)設(shè)計 9
4.1功能結(jié)構(gòu) 9
4.2 數(shù)據(jù)庫設(shè)計 9
4.2.1 數(shù)據(jù)庫E/R圖 9
4.2.2 數(shù)據(jù)庫表 11
第五章 系統(tǒng)功能實現(xiàn) 16
5.1管理員功能模塊 16
第六章 系統(tǒng)測試 26
第七章 總結(jié) 27
致? 謝 28
參考文獻 29
本系統(tǒng)是基于Python實現(xiàn)的B/S模式個人博客,其主要功能符合系統(tǒng)的需求,不過由于本系統(tǒng)是我第一次開發(fā)的項目,在經(jīng)驗和知識方面都有所不足,這些可能導(dǎo)致系統(tǒng)還存在很多問題和缺陷。
但是在做畢業(yè)設(shè)計的過程中,我學到了很多。雖然自己之前并沒有很好的了解跟熟悉系統(tǒng)開發(fā)的整個過程,不過經(jīng)歷了這次開發(fā),我基本上對這些開發(fā)過程都有所了解和體會。一個好的項目,首先要對需求進行詳細的調(diào)研,只有在很好的了解了系統(tǒng)的需求才有可能把項目做好。
測試在一個項目中,也是非常的重要,測試時需要心細,考慮問題要周全。剛開始測試的時候遇到好多問題。比如用戶登錄進去,沒有顯示名字。提交博客文章總是出現(xiàn)問題等等。有可能在做的過程并沒有考慮到這些問題,通過測試就能體現(xiàn)自己做的有哪些不足,有哪些需要改進。在整個過程中自己學到了很多東西,做事情要從多方面考慮。在開發(fā)中還讓我學會了應(yīng)如何使用網(wǎng)絡(luò)并且要善于利用網(wǎng)絡(luò)資源,其實很多問題都可以通過網(wǎng)絡(luò)來得到解決的。
參考文獻
1]張海藩 網(wǎng)站管理系統(tǒng)的分析與設(shè)計[D].廈門大學,2016
[2]丁寶康 信息管理系統(tǒng)[D].電子科技大學,2018
[3]孫印杰? 信息管理系統(tǒng)的設(shè)計與實現(xiàn)[D].電子科技大學,2017
[4]馬寧 基于Python的網(wǎng)站管理系統(tǒng)分析與設(shè)計[D].云南大學,2017.
[5]求是科技 Python信息管理系統(tǒng)開發(fā)實例導(dǎo)航[M].人民郵店出版社.2015
[6]楊宗志 Python入門與實作[M].科學出版社,2018
[7]曹錳 舒新峰 C#與Python程序設(shè)計[M].西安交通大學出版社,2017
[8]虞益誠 SQL Server? 2000[M].中國鐵道出版社,2019[9]董征宇 我國中小學校電子商務(wù)盈利策略探析[J].中國商貿(mào),2018,22:94-95
[10]張愛軍 電子商務(wù)技術(shù)的創(chuàng)新發(fā)展趨勢[J].電腦知識與技術(shù),2016,26:61-67
[11]馬桂林 中小音樂學校經(jīng)銷商電子商務(wù)管理系統(tǒng)的設(shè)計[J].價值工程,2018,23:148-149
[12]蔡翔宇 電子商務(wù)與計算機網(wǎng)絡(luò)應(yīng)用[J].計算機應(yīng)用研究,2017,2:366
[13]西爾伯沙茨(Silberschatz.A.)? 計算機科學叢書:數(shù)據(jù)庫系統(tǒng)概念(原書第6版)[M]. 機械工業(yè)出版社,2017,03..? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
[14]薩師煊 王珊 數(shù)據(jù)庫系統(tǒng)概論[M].北京:高等教育出版社,2017:10-180.
[15]陳剛 Eclipse從入門到精通[M].(第2版).北京:清華大學出版社,2018:17-380.?



