![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
基于SpringBoot的个人博客系统
全面解析博客系统的全流程的开发模式
优惠券已抵扣
余额抵扣
还需支付
¥9.90
¥99.00
购买须知?
本专栏为图文内容,最终完结不会低于15篇文章。
订阅专栏,享有专栏所有文章阅读权限。
本专栏为虚拟商品,基于网络商品和虚拟商品的性质和特征,专栏一经购买无正当理由不予退款,不支持升级,敬请谅解。
木子津
程序员实习生,一起加油!
展开
-
Spring博客分页+动态查询分页
Spring通过springframework.data的@PageableDefault注解分页@Documented@Retention(RetentionPolicy.RUNTIME)@Target({ElementType.PARAMETER})public @interface PageableDefault { int value() default 10; int size() default 10; int page() default 0; S原创 2020-11-24 23:35:23 · 166 阅读 · 0 评论 -
blog模板页fragments分析
_fragments.htmlhead里面包含编码charset=“UTF-8”,页面名字th:replace="${title}",link引用的css文件路径<!DOCTYPE html><html lang="en" xmlns:th="http://www.w3.org/1999/xhtml"><head th:fragment="head(title)"> <meta charset="UTF-8"> <meta name="v原创 2020-11-23 19:51:32 · 108 阅读 · 0 评论 -
SpingBoot+JAP自动建表,MySQL引擎的转换
SpringBoot+Jpa简单实现创建工程导入坐标<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apach原创 2020-11-23 19:46:52 · 230 阅读 · 0 评论 -
博客系统的登录和拦截器设计
login.html<form class="ui large form" method="post" action="#" th:action="@{/admin/login}"> <div class="ui segment"> <div class="field"> <div class="ui left icon input"> <i class="user ic原创 2020-11-23 19:44:13 · 152 阅读 · 0 评论 -
博客日志设计原理
SpringBoot日志导入日志依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId></dependency>为什么要aop,每次我们访问的时候都会在控制层方法后获得request的信息配置application.ymllogging: #日志级别原创 2020-11-23 19:31:36 · 98 阅读 · 0 评论 -
blog保姆级别开发流程五
2020-10-5博客前台博客首页: index.html博客列表<div class="ui padded vertical segment m-padded-tb-large" th:each="blog : ${page.content}">博客简介 <h3 class="ui header" ><a href="#" th:href="@{/blog/{id}(id=${blog.id})}" target=".原创 2020-11-21 00:04:56 · 199 阅读 · 0 评论 -
blog保姆级别开发流程四
2020-10-4博客管理**前端页面:**blogs.html , blogs-input.htmlblogs.html<table th:fragment="blogList" class="ui compact teal table"> <tr th:each="blog,iterStat : ${page.content}"> <td th:text="${iterStat.count}">1</td> .原创 2020-11-21 00:03:57 · 120 阅读 · 0 评论 -
blog保姆级别开发流程三
2020-10-2登录登录页面和首页: login.html,index.html(前端就不全说,说重点)<form class="ui large form" method="post" action="#" th:action="@{/admin/login}"><div class="ui mini negative message" th:unless="${#strings.isEmpty(message)}" th:text="${message}">用户名和.原创 2020-11-21 00:03:16 · 76 阅读 · 0 评论 -
blog保姆级别开发流程七
< 2020-10-7博客分类 types.html<div class="ui labeled button m-margin-tb-tiny" th:each="type : ${types}"> <a href="#" th:href="@{/types/{id}(id=${type.id})}" class="ui basic button" th:classappend="${type.id==activeTypeId} ? 'teal'" th:text="${原创 2020-11-20 22:41:24 · 102 阅读 · 0 评论 -
blog保姆级别开发流程六
2020-10-6博客blog.html<img src="" th:src="@{${blog.user.avatar}}" alt="" class="ui avatar image"> <div class="content"><a href="#" class="header" th:text="${blog.user.nickname}">lj</a></div> <i cl.原创 2020-11-20 22:40:42 · 80 阅读 · 0 评论 -
blog保姆级别开发流程二
2020-10-1后台JAVAEE开发实体类博客 Blogpackage com.lj.po;import javax.persistence.*;import java.util.ArrayList;import java.util.Date;import java.util.List;/** * @author lj * @date 2020-10-01 17:12 * @QQ 851477108 */@Entity@Table(name = "t_blog")p.原创 2020-11-20 22:40:04 · 85 阅读 · 0 评论 -
blog保姆级别开发流程八
2020-10-8博客归档 archives.html<!-- 循环从Map<String,List<Blog>>取出key年份,value博客集--> <th:block th:each="item : ${archiveMap}"> <h3 class="ui center aligned header" th:text="${item.key}">2020</h3> <div clas.原创 2020-11-20 22:39:19 · 66 阅读 · 0 评论 -
blog保姆级别开发流程一
基于SpringBoot开发blog2020-9-29个人博客介绍博客地址:http://8.129.69.60/[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-hxkTFEoz-1605882579363)(https://cdn.jsdelivr.net/gh/lijin1998/image/1.png)]技术栈:后端:Spring Boot 2 + JPA + thymeleaf数据库:MySQL前端UI:Semantic UI开发环境:ID原创 2020-11-20 22:31:32 · 241 阅读 · 0 评论 -
基于SpringBoot开发的个人博客三步部署到阿里云
基于SpringBoot开发的个人博客三步部署到阿里云1.准备开发环境IDEA 2020Maven 3JDK 8MySQL 5.6git2.导入项目并测试2.1从gitee上gie项目: https://gitee.com/lijin1998/lj-blog2.2复制hppts链接,克隆到本地,最好是全英文路径git clone https://gitee.com/lijin1998/lj-blog.git2.3 将项目导入idea中先看maven和repository设置路径原创 2020-11-20 22:29:24 · 233 阅读 · 0 评论