Giter VIP home page Giter VIP logo

jujube-core's Introduction

初衷

每个项目都会有自己的核心工具二方包,这个二方包一般满足以下特点:

  • 对项目常用的各种工具操作进行封装
  • 随着项目经验的累加,不断完善自己的工具包

特别是第二点,就像一个熟练的汽车工程师会去积累自己的工具和经验一样,程序员在开发过程中也是不断积累自己的工具包的。
一般来说,其他工具包会着重一个特点:轻量级,不会依赖太多其他三方包。
但jujube-core的理念不是这样的,他也集中了不少业界流行的三方包作为基础,但他更好的用途还是作为一个二方包存在比较好。
你如果需要一个三方包,还有很多其他选择,如Hutool等。

✨News

  • 2.0 包结构调整,大量工具类性能优化

依赖的其他三方包

依次如下:

  • 图像处理。处理图片有时出现读取错误,用metadata-extractor来解决,处理缩略图用thumbnailator来处理
  • 二维码生成与扫码。用到com.google.zxing
  • office文件处理。csv用common-csv处理,Word、Excel用poi处理
  • Json处理。用SpringFramework默认的Jackson处理
  • 汉字拼音。用到pinyin4j
  • 日志。推荐用logback,如果用log4j,请去掉logback-classic和log4j-over-slf4j的依赖
  • 流行的工具包。包括common全家桶和guava
  • 字节码处理。用到javassist和cglib
  • http处理。用到unirest
  • 模板处理。用到Freemarker
  • Spring相关。Spring的包全是optional的包,用到的时候再引入
  • servlet-api和lombok。一个是JavaEE Servlet标准,一个是动态字节码生成,他们全是provided

自定义的工具

主要分为三大类,分别是常量类、基础类和工具类。

在线api:https://jujube-framework.github.io/jujube-core/docs/api/index.html

使用

        <dependency>
            <groupId>io.github.jujube-framework</groupId>
            <artifactId>jujube-core</artifactId>
            <version>${version}</version>
        </dependency>

versionsearch.maven.org 搜索

补充

mvn clean deploy -P release

jujube-core's People

Contributors

xuanyuanli avatar

Watchers

 avatar  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.