Welcome to this site. My name is Raysmond and I'm a backend development engineer in Shanghai, China. Here, I want to share some topics around development, architecture, DevOps and more.

最新文章

SpringBlog部署和开发指南

SpringBlog是一个基于Java的轻量级博客系统,使用Spring Boot、MySQL、JPA/Hibernate和Bootstrap4等技术开发。2015年刚开始接触Spring Boot时,一时兴起,发起了这个开源博客项目。技术选型算是基础,没想到在Github这一年多时间里收获1k+的stars,惊讶之余也有点小开心。SpringBlog的出发点是学习,学习技术,学习Spring Blog开发。如果对有需要之人带来一点帮助,也算是一件开心的事情。

技术选型

一句话总结:后端Spring Boot,前端Bootstrap4,数据库用MySQL。深究下去,有如下细节:

  • 后端框架:Spring Boot 1.5.10
    • 基于Java8
    • 使用Spring MVC后端渲染,模板引擎是thymeleaf(之前用jade)
    • 使用JPA/Hibernate操作数据库
    • Spring Security权限验证
  • 前端框架:Bootstrap4+jQuery
    • webpack打包(todo)
    • thymeleaf模板
    • 使用markdown写作(ACE编辑器)
  • 数据存储
    • 数据库:MySQL
    • 缓存:Redis(考虑切换到Ehcache,使用Hibernate二级缓存)

SpringBlog installation and development guide

SpringBlog is a very simple and clean-design blog system implemented with Spring Boot.
It’s one of my learning projects to explore awesome features in Spring Boot web programming. You can check my blog
site for demo https://raysmond.com.

SpringBlog is powered by many powerful frameworks and third-party projects:

  • Spring Boot and many of Spring familiy (e.g. Spring MVC, Spring JPA, Spring Secruity and etc)
  • Hibernate + MySQL
  • HikariCP - A solid high-performance JDBC connection pool
  • Bootstrap - A very popular and responsive front-end framework
  • Pegdown - A pure-java markdown processor
  • ACE Editor - A high performance code editor which I use to write posts and code.
  • Pygments - A python library for highlighting code syntax
  • Jade4j - Jade is an elegant template language.
  • Redis - A very powerful in-memory data cache server.