在线视频:尚硅谷新版SSM框架全套视频教程,Spring6+SpringBoot3最新SSM企业级开发
在线文档:终极实战:SpringBoot版微头条实战
课程资料:https://pan.baidu.com/s/1R8Q-u4xV5rKOSTL8cRpwfQ?pwd=jf3x
后端代码
Gitee: https://gitee.com/an_shiguang/springboot-headline-part
GitHub: https://github.com/Shiguang-coding/springboot-headline-part
前端代码
Gitee: https://gitee.com/an_shiguang/my-vue3-vite-project
GitHub: https://github.com/Shiguang-coding/my-vue3-vite-project
微头条案例介绍微头条业务简介用户功能
注册功能
登录功能
jwt实现
头条新闻
新闻的分页浏览
通过标题关键字搜索新闻
查看新闻详情
新闻的修改和删除
技术栈介绍
前端技术栈
E ...
在线视频:尚硅谷新版SSM框架全套视频教程,Spring6+SpringBoot3最新SSM企业级开发
在线文档:MyBatis-Plus高级用法:最优化持久层开发
课程资料:https://pan.baidu.com/s/1R8Q-u4xV5rKOSTL8cRpwfQ?pwd=jf3x
Gitee: https://gitee.com/an_shiguang/learn-ssm
GitHub: https://github.com/Shiguang-coding/learn-ssm
MyBatis-Plus快速入门简介
Mybatis-Plus官网
MyBatis-Plus (opens new window)(简称 MP)是一个 MyBatis (opens new window) 的增强工具,在 MyBatis 的基础上只做增强不做改变,为简化开发、提高效率而生。
特性
无侵入:只做增强不做改变,引入它不会对现有工程产生影响,如丝般顺滑
损耗小:启动即会自动注入基本 CURD,性能基本无损耗,直接面向对象操作
强大的 CRUD 操作:内置通用 Mapper、通用 Se ...
在线视频:尚硅谷新版SSM框架全套视频教程,Spring6+SpringBoot3最新SSM企业级开发
在线文档:快速启动框架:SpringBoot3实战
课程资料:https://pan.baidu.com/s/1R8Q-u4xV5rKOSTL8cRpwfQ?pwd=jf3x
Gitee: https://gitee.com/an_shiguang/learn-ssm
GitHub: https://github.com/Shiguang-coding/learn-ssm
SpringBoot3简介
SpringBoot 官网 介绍
到目前为止,你已经学习了多种配置Spring程序的方式。但是无论使用XML、注解、Java配置类还是他们的混合用法,你都会觉得配置文件过于复杂和繁琐,让人头疼!
SpringBoot 帮我们简单、快速地创建一个独立的、生产级别的 Spring 应用(说明:SpringBoot底层是Spring),大多数 SpringBoot 应用只需要编写少量配置即可快速整合 Spring 平台以及第三方技术!
SpringBoot的主要目标是:
为所有 Sp ...
在线视频:尚硅谷新版SSM框架全套视频教程,Spring6+SpringBoot3最新SSM企业级开发
在线文档:框架实战:SSM整合原理和实战
课程资料:https://pan.baidu.com/s/1R8Q-u4xV5rKOSTL8cRpwfQ?pwd=jf3x
Gitee: https://gitee.com/an_shiguang/learn-ssm
GitHub: https://github.com/Shiguang-coding/learn-ssm
SSM整合理解什么是SSM整合?微观:将学习的Spring SpringMVC Mybatis框架应用到项目中!
SpringMVC框架负责控制层
Spring 框架负责整体和业务层的声明式事务管理
MyBatis框架负责数据库访问层
宏观:Spring接管一切(将框架核心组件交给Spring进行IoC管理),代码更加简洁。
SpringMVC管理表述层、SpringMVC相关组件
Spring管理业务层、持久层、以及数据库相关(DataSource,MyBatis)的组件
使用IoC的方式管理一切所需组件
实施 ...
在线视频:尚硅谷新版SSM框架全套视频教程,Spring6+SpringBoot3最新SSM企业级开发
在线笔记:SpringMVC实战:构建高效表述层框架
课程资料:https://pan.baidu.com/s/1R8Q-u4xV5rKOSTL8cRpwfQ?pwd=jf3x
Gitee: https://gitee.com/an_shiguang/learn-ssm
GitHub: https://github.com/Shiguang-coding/learn-ssm
SpringMVC简介和体验介绍
Spring Web MVC
Spring Web MVC是基于Servlet API构建的原始Web框架,从一开始就包含在Spring Framework中。正式名称“Spring Web MVC”来自其源模块的名称( spring-webmvc ),但它通常被称为“Spring MVC”。
在控制层框架历经Strust、WebWork、Strust2等诸多产品的历代更迭之后,目前业界普遍选择了SpringMVC作为Java EE项目表述层开发的首选方案。之所以能做到这一 ...
踩坑
未读问题描述在执行Sql时遇到了如下错误
1Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.
解决方案1、在连接数据库时指定字符集1jdbc.url=jdbc:mysql://localhost:3306/mybatis?useUnicode=true&characterEncoding=utf8
在主配置文件填写url应该选用&,如果是在java中需要用 &
2、检查Mysql驱动配置是否正确因为我本地使用的Mysql的版本是8,而导入依赖的版本是5,修改后重新加载依赖就正常了
1234567<!-- MySQL驱动 --><dependency> <groupId>mysql</groupId> <ar ...
学习笔记
未读Lombok注解及其用法介绍Lombok 是一个 Java 库,它通过注解来简化 Java 代码的编写,减少样板代码(boilerplate code),提高开发效率。
配置 Lombok要在项目中使用 Lombok,需要在项目的构建工具(如 Maven 或 Gradle)中添加 Lombok 依赖。
Maven123456<dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.24</version> <scope>provided</scope></dependency>
Gradle1234dependencies { compileOnly 'org.projectlombok:lombok:1.18.24' annotationProcessor ' ...
在线视频:尚硅谷新版SSM框架全套视频教程,Spring6+SpringBoot3最新SSM企业级开发
在线笔记:MyBatis实践:提高持久层数据处理效率
课程资料:https://pan.baidu.com/s/1R8Q-u4xV5rKOSTL8cRpwfQ?pwd=jf3x
Gitee: https://gitee.com/an_shiguang/learn-ssm
GitHub: https://github.com/Shiguang-coding/learn-ssm
Mybatis简介简介
Mybatis简介
MyBatis最初是Apache的一个开源项目iBatis, 2010年6月这个项目由Apache Software Foundation迁移到了Google Code。随着开发团队转投Google Code旗下, iBatis3.x正式更名为MyBatis。代码于2013年11月迁移到Github。
MyBatis 是一款优秀的持久层框架,它支持自定义 SQL、存储过程以及高级映射。MyBatis 免除了几乎所有的 JDBC 代码以及设置参数和获取结果集的工作。 ...
在线视频:尚硅谷新版SSM框架全套视频教程,Spring6+SpringBoot3最新SSM企业级开发
在线文档:SpringFramework实战指南
课程资料:https://pan.baidu.com/s/1R8Q-u4xV5rKOSTL8cRpwfQ?pwd=jf3x
代码仓库:
Gitee: https://gitee.com/an_shiguang/learn-ssm
GitHub: https://github.com/Shiguang-coding/learn-ssm
技术体系结构总体技术体系单体架构一个项目,一个工程,导出为一个war包,在一个Tomcat上运行。也叫all in one。
单一架构,项目主要应用技术框架为:Spring , SpringMVC , Mybatis
分布式架构一个项目(对应 IDEA 中的一个 project),拆分成很多个模块,每个模块是一个 IDEA 中的一个 module。每一个工程都是运行在自己的 Tomcat 上。模块之间可以互相调用。每一个模块内部可以看成是一个单一架构的应用。
分布式架构,项目主要应用技术框架:Sp ...
博客折腾记
未读Hexo博客添加RSS订阅功能
插件GitHub地址:https://github.com/hexojs/hexo-generator-feed
安装 hexo-generator-feed 插件1npm install hexo-generator-feed --save
修改 _config.yml 配置12345#订阅RSSfeed: type: atom path: atom.xml limit: false
type: RSS的类型(atom/rss2)path: 文件路径,默认是 atom.xml/rss2.xmllimit: 展示文章的数量,使用 0 或则 false 代表展示全部hub: URL of the PubSubHubbub hubs (如果使用不到可以为空)content: (可选)设置 true 可以在 RSS 文件中包含文章全部内容,默认:falsecontent_limit: (可选)摘要中使用的帖子内容的默认长度。 仅在内容设置为false且未显示自定义帖子描述时才使用。content_limit_delim: (可选 ...















