九路 九路
4年前
Java实现 一篇文章说尽设计模式之六大原则
我们知道,设计模式很有用,学好设计模式不但能让你写出更简洁,优雅的代码,还能使得代码的结构更清晰,也更有利于扩展当然设计模式也不是万能的,一成不变的.设计模式只是前人总结出来的一种经验,一种特定问题的解决方法,不能看作是死的东西不一定非要生搬硬套,非得按照设计模式书上来来,只要我们写的代码符合一定的一些原则,一样可以看作是自己的模式.但是前人总结
Easter79 Easter79
3年前
springcloud微服务config的使用
首先需要建立一个server端:pom依赖中加入<dependency<groupIdorg.springframework.cloud</groupId<artifactIdspringcloudconfigserver</artifactId</dependency
Stella981 Stella981
3年前
SpringBoot集成Spring Security实现登陆和简单权限验证
1.数据库配置好2.导依赖<!springsecurity安全认证<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringb
Easter79 Easter79
3年前
Springboot整合Redis缓存机制
先放几个必要的依赖吧<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringbootstarterweb</artifactId</dependency<dependency<groupIdorg.springframework.boo
Wesley13 Wesley13
3年前
PHP 5 安装配置(版本大于等于 5.3)
所需依赖包安装yum install autoconfyum install automakeyum install libtoolyum install re2cyum install bisonPHP安装(Apache版)
Stella981 Stella981
3年前
IDEA 安装lombok及使用
1、FileSettingsPluginsBrowsRepositories输入lombokinstall2、重启idea3、添加maven依赖<dependency  <groupIdorg.projectlombok</groupId  <artifactIdlombok</artifactId  <v
Easter79 Easter79
3年前
SpringBoot集成Spring Security实现登陆和简单权限验证
1.数据库配置好2.导依赖<!springsecurity安全认证<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringb
Stella981 Stella981
3年前
Spring cloud nacos config 配置中心例子
Springcloud集成nacosconfig配置中心的例子,自定义dataIdgroupIdnamespace 使用的依赖<dependencies<dependency<groupIdorg.springframework.boot</gr
Stella981 Stella981
3年前
ElasticSearch Java API 增删改查操作
1.添加pom.xml依赖<dependency<groupIdjunit</groupId<artifactIdjunit</artifactId<version4.11</version<scopetest</scope</dependency<dependency<groupI
Wesley13 Wesley13
3年前
mysql 8.0.16 单主 mgr搭建
mysql8.0.16单主mgr搭建环境介绍:192.168.142.142db142192.168.142.143db143192.168.142.145db1451、安装依赖包yumyinstallmakegccccmake