-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit cfd9ccf
Showing
263 changed files
with
26,943 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
www.buession.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<h1>About</h1> | ||
<p> | ||
... | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
文档完善中 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 框架介绍 | ||
|
||
|
||
### Buession Framework 框架是什么? | ||
Buession Framework 框架不是重复造车轮,它不是其它框架的替代品。 | ||
|
||
#### 它是基于各开源框架的日常工作中常见的通用技术需求二次封装 | ||
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 库的切换 | ||
|
||
... ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="UTF-8"/><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-status-bar-style" content="black"/><link rel="apple-touch-icon" sizes="180x180" href="../ydoc/images/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="../ydoc/images/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="../ydoc/images/favicon-16x16.png"/><link rel="manifest" href="../ydoc/images/manifest.json"/><link rel="mask-icon" href="../ydoc/images/safari-pinned-tab.svg" color="#5bbad5"/><meta name="theme-color" content="#ffffff"/><meta http-equiv="Cache-Control" content="no-transform"/><meta http-equiv="Cache-Control" content="no-siteapp"/><title>安装及使用-文档</title><link rel="stylesheet" href="../ydoc/styles/style.css"/><meta name="author" content="buession"/><meta name="keywords" content="buession java framework"/><meta name="description" content="基于各开源框架的二次开发和封装"/><meta id="releativePath" content=".."/><link rel="stylesheet" href="../ydoc/ydoc-plugin-search/search.css"/></head><body><div class="g-doc"><div class="m-aside"><div class="m-summary" id="js-menu"><div class="m-summary-content" id="js-menu-content"><div class="m-summary-block"><div class="m-summary-title">介绍</div><ul class="m-summary-list indent"><li class="item"><a href="intro.html" class="href">框架介绍</a></li><li class="item"><a href="license.html" class="href">开源协议</a></li><li class="item"><a href="module.html" class="href">模块说明</a></li></ul></div><div class="m-summary-block"><div class="m-summary-title">快速开始</div><ul class="m-summary-list indent"><li class="item"><a href="quickstart.html" class="href">快速入门</a></li><li class="item"><a href="version.html" class="href">版本说明</a></li><li class="item"><div class="m-summary-block"><a href="" class="href">安装</a><ul class="m-summary-list indent"><li class="item"><a href="requirement.html" class="href">环境要求</a></li><li class="item"><a href="" class="href">安装及使用</a></li></ul></div></li></ul></div><div class="m-summary-block"><div class="m-summary-title">下一步计划</div><ul class="m-summary-list indent"><li class="item"><a href="plan.html" class="href">下一步计划</a></li></ul></div></div></div><div class="m-summary-switch" id="js-summary-switch"><svg viewBox="0 0 926.23699 573.74994" version="1.1" x="0px" y="0px" width="15" height="15" class="bottom"><g transform="translate(904.92214,-879.1482)"><path d="m -673.67664,1221.6502 -231.2455,-231.24803 55.6165,-55.627 c 30.5891,-30.59485 56.1806,-55.627 56.8701,-55.627 0.6894,0 79.8637,78.60862 175.9427,174.68583 l 174.6892,174.6858 174.6892,-174.6858 c 96.079,-96.07721 175.253196,-174.68583 175.942696,-174.68583 0.6895,0 26.281,25.03215 56.8701,55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864-231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688,-104.0616 -231.873,-231.248 z" fill="#fff"></path></g></svg><svg viewBox="0 0 926.23699 573.74994" version="1.1" x="0px" y="0px" width="15" height="15" class="top"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="aaa" fill="#fff" fill-rule="nonzero"><path d="M231.2455,342.502 L0,111.25397 L55.6165,55.62697 C86.2056,25.03212 111.7971,-2.99999998e-05 112.4866,-2.99999998e-05 C113.176,-2.99999998e-05 192.3503,78.60859 288.4293,174.6858 L463.1185,349.3716 L637.8077,174.6858 C733.8867,78.60859 813.060896,-2.99999997e-05 813.750396,-2.99999997e-05 C814.439896,-2.99999997e-05 840.031396,25.03212 870.620496,55.62697 L926.236996,111.25397 L694.9915,342.502 C567.8065,469.6884 463.4636,573.75 463.1185,573.75 C462.7734,573.75 358.4305,469.6884 231.2455,342.502 Z" id="Shape" transform="translate(463.118498, 286.874985) scale(1, -1) translate(-463.118498, -286.874985) "></path></g></g></svg></div></div><div class="m-main" id="js-panel"><header class="m-header" id="js-header"><div class="m-header-title js-logo"><a href="../index.html" target="_self"><img class="logo" width="70" src="../ydoc/images/logo.png"/></a></div><div><div class="m-search"> | ||
<div class="icon"></div> | ||
<input type="text" class="input js-input" placeholder="搜索" /> | ||
<div class="m-search-result js-search-result"></div> | ||
</div></div><nav class="m-header-nav js-nav"><ul class="m-header-items"><li class="item "><a class="href" href="https://www.buession.com/">主页</a></li><li class="item active"><a class="href" href="quickstart.html">文档</a></li><li class="item "><a class="href" href="../manual/index.html">参考手册</a></li><li class="item "><a class="href" href="../support.html">技术支持</a></li><li class="item "><span class="href">生态</span><ul class="m-header-subtitle"><li class="item"><a href="https://wwww.buession.com/" class="link">Buession Framework</a></li><li class="item"><a href="https://security.buession.com/" class="link">Buession Security</a></li><li class="item"><a href="https://logging.buession.com/" class="link">Buession Logging</a></li><li class="item"><a href="https://canal.buession.com/" class="link">Buession Canal</a></li><li class="item"><a href="https://springboot.buession.com/" class="link">Buession SpringBoot</a></li><li class="item"><a href="https://springcloud.buession.com/" class="link">Buession SpringCloud</a></li><li class="item"><a href="https://cas.buession.com/" class="link">Buession Cas</a></li><li class="item"><a href="https://prototype.buession.com/" class="link">Buession Prototype</a></li><li class="item"><a href="https://shirojs.buession.com/" class="link">Buession Shirojs</a></li></ul></li></ul></nav><div id="js-nav-btn" class="m-header-btn ui-font-ydoc"></div></header><div class="m-content" id="js-content"><div id="markdown-body" class="m-content-container markdown-body"><h1>安装及使用</h1> | ||
<h3 id="maven-中央仓库搜索">Maven 中央仓库搜索</h3> | ||
<ul> | ||
<li><a href="https://mvnrepository.com/search?q=com.buession" target="_blank">https://mvnrepository.com/search?q=com.buession</a></li> | ||
<li><a href="https://central.sonatype.com/search?q=g:com.buession" target="_blank">https://central.sonatype.com/search?q=g:com.buession</a></li> | ||
</ul> | ||
<h3 id="手动编译">手动编译</h3> | ||
<pre><code class="language-shell"><span class="token function">git</span> clone https://github.com/buession/buessionframework | ||
<span class="token builtin class-name">cd</span> buessionframework/buession-parent <span class="token operator">&&</span> mvn clean <span class="token function">install</span> | ||
</code></pre> | ||
<h3 id="maven">Maven</h3> | ||
<pre><code class="language-xml"><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>dependency</span><span class="token punctuation">></span></span> | ||
<span class="token tag"><span class="token tag"><span class="token punctuation"><</span>groupId</span><span class="token punctuation">></span></span>com.buession<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>groupId</span><span class="token punctuation">></span></span> | ||
<span class="token tag"><span class="token tag"><span class="token punctuation"><</span>artifactId</span><span class="token punctuation">></span></span>buession-xxx<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>artifactId</span><span class="token punctuation">></span></span> | ||
<span class="token tag"><span class="token tag"><span class="token punctuation"><</span>version</span><span class="token punctuation">></span></span>x.x.x<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>version</span><span class="token punctuation">></span></span> | ||
<span class="token tag"><span class="token tag"><span class="token punctuation"></</span>dependency</span><span class="token punctuation">></span></span> | ||
</code></pre> | ||
<h3 id="gradle">Gradle</h3> | ||
<pre><code class="language-gradle">compile group<span class="token punctuation">:</span> <span class="token string">'com.buession'</span><span class="token punctuation">,</span> name<span class="token punctuation">:</span> <span class="token string">'buession-xxx'</span><span class="token punctuation">,</span> version<span class="token punctuation">:</span> <span class="token string">'x.x.x'</span> | ||
</code></pre> | ||
<p>其中,artifactId 中的 xxx 表示对应的子模块;version 中的 x.x.x 代表版本号,根据需要使用特定版本,建议使用 maven 仓库中已构建好的最新版本<a href="https://search.maven.org/search?q=g:com.buession" target="_blank"><img src="https://img.shields.io/maven-central/v/com.buession/buession-core.svg" alt="Maven Central"></a>的包。</p> | ||
</div><div class="m-content-container m-paging"><div class="m-paging-prev m-paging-item"><a href="version.html" class="href"><span class="ui-font-ydoc"></span>版本说明</a></div><div class="m-paging-next m-paging-item"><a href="requirement.html" class="href">环境要求<span class="ui-font-ydoc"></span></a></div></div></div></div></div><div></div><script> | ||
var $content = document.getElementById('js-content'); | ||
var $summaryItems = Array.prototype.slice.call(document.querySelectorAll('#js-menu .href')); | ||
var $menu = document.getElementById('js-menu'); | ||
if ($menu && sessionStorage.menuScrollTop) { | ||
$menu.scrollTop = sessionStorage.menuScrollTop; | ||
} | ||
// 刷新页面但不切换 pathname 的时候,内容区恢复到记忆的高度 | ||
if ($content && sessionStorage.contentScrollTop && window.location.pathname == sessionStorage.locationPathname) { | ||
$content.scrollTop = sessionStorage.contentScrollTop; | ||
} | ||
sessionStorage.setItem('locationPathname', window.location.pathname);</script><script src="../ydoc/scripts/plugins/dollar.min.js"></script><script src="../ydoc/scripts/plugins/responsive-nav.min.js"></script><script src="../ydoc/scripts/plugins/slideout.min.js"></script><script src="../ydoc/scripts/app.js"></script><script src="../ydoc/ydoc-plugin-search/core.js"></script><script src="../ydoc/ydoc-plugin-search/search.js"></script><script src="../../../../../../../js/stat.js"></script><script src="../search_json.js"></script></body></html> |
Oops, something went wrong.