基于SpringBoot的个人博客系统.docx
摘要
-PAGEII-
摘要
近年来,在此期间,互联网上的信息对人们现实生活的影响越来越大,人们的思想逐渐开放,不再满足传统媒体方式的信息获取方式,同时人们也渴望自我思想的表达,由此产生了以邮箱、论坛、博客、即时通讯等互联网工具。博客相较于邮箱、论坛、即时通讯等工具具有操作简单、表达详细、逻辑性强等特点,并且具有开放精神和共享精神的互联网精神。而现在大多数博客多以公司企业博客为主,个人博客则较少,并且个人博客的主要实现方式是在公共平台上进行编写发布等。
经过不断的调查研究,对个人博客系统相关功能需求的组织,设计出了基于SpringBoot框架的,功能丰富,风格优美的个人博客系统。
本个人博客的架构实现通过对比与研究,选用了B/S的架构,从结构化来实现相关功能,分离系统的功能模块。采用了MVC模式来设计WEB应用程序的代码,实现个人博客的界面、功能、数据的分层结构,使整个WEB应用程序的代码耦合性低,并且在后期能够方便维护相关的代码,有利于工程化管理。本博客的实现主要以SpringBoot框架技术为基础,在前端采用了Thymeleaf技术,并且使用SpringDataJPA技术来对后端的数据进行操作,使对数据库的操作更加方便。其中将SpringBoot框架作为业务处理层的处理基础框架,以便于Thymeleaf、SpringDataJPA等其它技术与SpringBoot的结合使用,并且在SpringBoot框架中内置了Tomcat,方便后期对WEB应用程序进行相关部署。最后对个人博客项目中的代码进行测试,保证个人博客的可靠性与安全性。
关键词: 个人博客;SpringBoot;数据库;沟通平台
Abstract
Abstract
Atthebeginningofthe21stcentury,withtherapiddevelopmentofInternetinChina,withthepopularizationofpersonalcomputers,peopleslifestylehaschangeddramatically.Duringthisperiod,peoplereceivedmoreinformationontheInternet,andtheirideasgraduallyopenedup,whichnolongersatisfiedthetraditionalmediawayofinformationacquisition.Atthesametime,peoplealsoyearnedfortheexpressionoftheirownthoughts,resultingintheInternettoolssuchasemail,forum,blog,instantmessaging,etc.Comparedwithemail,forum,instantmessagingandothertools,bloghasthecharacteristicsofsimpleoperation,detailedexpression,stronglogic,andthespiritofopenandsharingInternet.Therefore,blogismoreacceptedbypeopleasanimportantwayofonlineinformationdissemination.Nowmostoftheblogsaremainlycorporateblogs,butfewpersonalblogs,andthemainwaytorealizepersonalblogsistowriteandpublishonthepublicplatform.
Throughcomparisonandresearch,thearchitectureofthispersonalblogselectstheB/Sarchitecturetorealizetherelatedfunctionsfromthestructureandseparatethefunctionalmodulesofthesystem.MVCmodeisusedtodesignthecodeofwebapplicationprograman