https://github.com/buession/buessionframework
基于各开源框架的二次开发和封装
https://github.com/buession/buessionframework
buession framework java
Last synced: 5 months ago
JSON representation
基于各开源框架的二次开发和封装
- Host: GitHub
- URL: https://github.com/buession/buessionframework
- Owner: buession
- License: apache-2.0
- Created: 2019-06-01T15:40:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-19T08:49:50.000Z (almost 2 years ago)
- Last Synced: 2024-05-19T14:10:56.347Z (almost 2 years ago)
- Topics: buession, framework, java
- Language: Java
- Homepage: https://www.buession.com/
- Size: 85.8 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Buession Framework
[](https://travis-ci.org/buession/buessionframework)
[](https://codecov.io/github/buession/buessionframework?branch=master&view=all#sort=coverage&dir=asc)
[](https://search.maven.org/search?q=g:com.buession)
[](https://github.com/buession/buessionframework/releases)
[](https://www.apache.org/licenses/LICENSE-2.0.html)
[](https://openjdk.java.net/)
[](http://www.javadoc.io/doc/com.buession/buession-core)
#### 它是基于各开源框架的日常工作中常见的通用技术需求二次封装
1. 本地化的数据验证,如:QQ、电话号码、身份证号码、邮政编码
2. 常用 DAO 层操作,如:插入、替换、根据主键获取记录、获取单条记录、获取多条记录
3. 应用层实现数据库读写分离
4. redis 操作兼容原生 API 的前提下,同时实现了 redis 中的值反序列化成对象
5. 词库解析(目前仅支持搜狗词库)
6. 使用 WEB 功能,如:响应头注解、缓存头注解、兼容性获取用户端真实 IP、获取用户真实 IP 注解
7. 替代 springfamework 5,支持 apache velocity
8. 基于 maxmind geoip 的 IP 信息解析
9. 基于标准的 HTTP 请求方法的 HttpClient
10. 文件操作,如:写文件、设置文件所属用户或组、文件 MimeType 解析
... ...
#### 它是同类开源框架的一种兼容性的上层封装,简化框架切换带来的成本
1. 摒弃直接使用原生类库,带来的大量的代码修改,如:HttpClient 支持 apache httpcomponents 和 okhttp3,只需要修改 HttpClient 初始化类,即可实现 HTTP 库的切换
... ...
## Requirements
- JDK 1.8+
## Introduction
- git clone https://github.com/buession/buessionframework
- cd buessionframework/buession-parent && mvn install
## Maven
- [https://search.maven.org/search?q=g:com.buession](https://search.maven.org/search?q=g:com.buession)
- [https://mvnrepository.com/search?q=com.buession](https://mvnrepository.com/search?q=com.buession)
## Documentation
- 参考文档 [https://www.buession.com/](https://www.buession.com/)
- Wiki [https://github.com/buession/buessionframework/wiki](https://github.com/buession/buessionframework/wiki)
- API Reference [https://www.buession.com/manual/](https://www.buession.com/manual/)
## License
The Buession Framework is released under version 2.0 of the [Apache License](https://www.apache.org/licenses/LICENSE-2.0).