Git Product home page Git Product logo

spring-blog's Introduction

AUR stars contributors help-wanted issues PRs Welcome

Spring-Blog

框架:Springboot

数据库持久层:Mybatis

文章评论插件:Valine

分页插件:PageHelper

后台UI框架:X-admin框架,即LayUI框架

数据库连接池:hikari

数据库:MySQL

日志:Log4J

后台配置: properties

缓存实现: Redis+Spring-cache


运行截图

首页 首页

首页下拉 首页下拉

后台管理 后台管理

除了上述选择外实现的简单优化

✅theamleaf模板渲染缓存

✅网站请求实现Gzip压缩,减小网页体积

修复

✅Controller修复:修复Controller层存在的小问题,修复不带参数访问问题

✅页面修复:时间轴页面、400以及500页面、页脚计时、删除添加提示框、整合页面、文章访问量修复

✅页面开发:编写关于我、友情链接、留言墙页面、友情链接后台管理

✅项目优化:精简了部分无用代码,部分无需引用的css和js资源,减小项目体积,删减了评论模块

✅插件引入:引入了一言,采用随机语录,引用了Valine评论插件

✅SEO优化:底部链接采用no-follow标签,meta标签优化

✅后台设置:将前端相关信息(文字、图片等)设置到properties,降低网页间的耦合度

✅缓存:redis初步缓存加速,结合了SpringCache缓存注解(2021.04.07)

开发者可以选择优化部分(提下建议)

✅你可以采用CDN加速网页静态资源

✅你可以将配置文件里的图床换成更好的,以及一些CDN的js/css

✅你可以采用Nginx实现动静分离

待优化

🔲页面的部分请求采用ajax刷新数据

🔲将数据库中一些频繁增删改字段分离,从而结合Redis实现更好的缓存效果

时间充裕后实现功能:

🔲学习VUE,并且开发一个VUE版本

🔲shiro框架实现博客后台多用户多权限,但不打算提供前台用户注册

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.