Giter Site home page Giter Site logo

fannotfan / spring-boot-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liuyueyi/spring-boot-demo

0.0 1.0 0.0 232 KB

Spring Boot & Spring Cloud Study Demo

Home Page: http://spring.hhui.top

Shell 2.02% Java 96.85% JavaScript 0.43% CSS 0.08% HTML 0.61%

spring-boot-demo's Introduction

Spring-Boot-Demo

Build Status Average time to resolve an issue Percentage of issues still open

SpringBoot与SpringCloud学习过程中的源码汇总,沉淀记录下学习历程

1. 博文相关

所有博文集中发布在个人博客网站 : 一灰灰Blog-Spring

大致规划的内容包括以下章节,希望能用半年到一年的时间完成....

II. 高级篇

  • db读写
    • 基本配置,数据源等
    • jdbcTemplate
    • JPDA
    • mybatis
    • hibernate
    • jooq
    • influxdb
  • Mongo
  • Redis读写
  • MemCache
  • SpringCache
  • 定时器
  • SOLR
  • ES

III. MVC篇

  • mvc
  • 过滤器 & 拦截器
  • RequestHeader, ResponseHeader相关设置
  • Get/Post/Put/Delete等http方法支持
  • 参数绑定
  • 数据返回/视图绑定/重定向
  • 异常处理
  • 安全相关(SQL/XSS等注入)
  • 跨域处理
  • WebSocket
  • reactive

IV. SpringCloud篇

  • 注册中心
  • 配置中心
  • 网关路由
  • 负载均衡
  • 熔断器
  • 链路监控
  • 安全模块
  • oauth
  • admin

V. 源码篇

  • xxx

VI. 应用相关

通过bean的基础知识,实现动态的bean注册于销毁,通过定义接口,模拟生成mock服务,用于后续测试的演示工程, 工程源码: https://github.com/liuyueyi/spring-boot-demo/tree/master/spring-boot/006-dynamicbean

SPI在实际的业务开发中,可能很多童鞋都没有接触过,如果看一些开源项目如logback, dubbo... 会发现这个技术应用还是比较广泛的;这篇文章主要是在学习FactoryBean之后的萌发的,通过工程bean,来时先SPI的效果,这里也用到了代理的相关知识点,对于希望理解SPI、代理模式和FactoryBean的童鞋,还是比较有用的, 工程源码: https://github.com/liuyueyi/spring-boot-demo/tree/master/spring-case/000-spi-factorybean

排行榜可以说大量的出现在我们的视线中,那么你真的知道如何实现一个排行榜的功能么?如何保证排行榜的实时刷新,快速获取自己的排名?这篇文章就是redis学习后的典型应用,通过zset来实现排行榜功能,源码为:https://github.com/liuyueyi/spring-boot-demo/tree/master/spring-case/120-redis-ranklist

日志可以说是后端定位问题的神器,没有日志如何找bug?但是埋点、写日志对于后端来说,就不那么友好了。这篇文章是在AOP学习之后的应用,尽量少侵入的方式,实现服务相应相关日志,主要是提供一种解耦的日志输出思路,源码可见: https://github.com/liuyueyi/spring-boot-demo/tree/master/spring-boot/011-aop-logaspect

站点统计uv,pv 可以说是一个非常有意思的场景了,如何实现呢?我希望统计我的网站,总访问量,访问人数,每个人的访问排名,每天的pv/uv统计,找到我的网站中最受大家欢迎的页面,可以怎么实现?学完redis之后,忽然发现,redis的几个数据结构貌似可以搞一搞,实现这个功能,所以就有了这篇应用文章,源码为: https://github.com/liuyueyi/spring-boot-demo/tree/master/spring-case/124-redis-sitecount

2. 其他

拒绝单机,欢迎start或者加好友支持

声明

尽信书则不如,已上内容,一家之言,因个人能力有限,难免有疏漏和错误之处,如发现bug或者有更好的建议,欢迎批评指正,不吝感激

  • 微博地址: 小灰灰Blog
  • QQ: 一灰灰/3302797840
  • WeChat: 一灰/liuyueyi25

扫描关注

公众号&博客

QrCode

打赏码

pay

spring-boot-demo's People

Contributors

liuyueyi avatar

Watchers

 avatar

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.