• code-standard-guide

    |

    JAVA 开发规范

    Copyright© https://github.com/1024-lab/smart-admin

    本篇规范基于阿里巴巴、华为的开发手册,添加了我们团队的开发风格规范,补充了一些细节。感谢前人的经验和付出,让我们可以有机会站在巨人的肩膀上眺望星辰大海。

    规范不是为了约束和禁锢大家的创造力,而是为了帮助大家能够在正确的道路上,尽可能的避免踩坑和跑偏。
    规范可以让我们无论单枪匹马还是与众人同行的时候都能得心应手。
    规范可以让我们在面对日益变态的需求和做代码接盘侠的时候,更优雅从容。

    规则并不是完美的,通过约束和禁止在特定情况下的特性,可能会对代码实现造成影响。
    但是我们制定规则的目的:为了大多数程序员小伙伴可以得到更多的好处,如果在团队实际运作中认为某个规则无法遵循或有更好的做法,希望大家可以共同改进该规范。

  • springboot-dubbo-nacos-demo

    |

    Springboot-dubbo-nacos

    Library need

    • Nacos-client (nacos server connection)
    • Spring-boot-start (springboot application)
    • Dubbo-spring-boot-starter (dubbo annotation/auto configuration)
    • Dubbo (dubbo core)

    Modules

    • springboot-dubbo-api (service interfaces)
    • springboot-dubbo-consumer
    • springboot-dubbo-producer
  • spring bean annotation

    |

    Copyright© https://www.baeldung.com/spring-bean-annotations

    1. Overview

    In this article, we’ll discuss the most common Spring bean annotations used to define different types of beans.

    There’re several ways to configure beans in a Spring container. We can declare them using XML configuration. We can declare beans using the @Bean annotation in a configuration class.

    Or we can mark the class with one of the annotations from the org.springframework.stereotype package and leave the rest to component scanning.

  • First Blog

    法外狂徒张三:“未经省察的人生是没有意义的”,共勉

    本站是使用Hexo+travis+github pages搭建,意义在于记录自己的学历过程,可能几年过后回首还能勾起些许回忆;同时也是一种激励,因为学习是反人性的,需要及时的正反馈。

    1.搭建过程

    参考 https://hexo.io/zh-cn/docs/

    1.1 安装Hexo脚手架

    1
    $ npm install -g hexo-cli