Skip to content

Commit

Permalink
update pages
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Jan 19, 2016
1 parent 960641a commit b4ad310
Show file tree
Hide file tree
Showing 13 changed files with 430 additions and 727 deletions.
418 changes: 209 additions & 209 deletions css/landing-page.css

Large diffs are not rendered by default.

87 changes: 31 additions & 56 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,72 +6,58 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
&lt;&lt;&lt;&lt;&lt;&lt;&lt; HEAD
<base href="/sharding-jdbc/"/>
<title></title>
<title>Sharding-JDBC</title>

<link href="//cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">


<link href="css/landing-page.css" rel="stylesheet">
=======
<title></title>

<link href="/css/bootstrap.min.css" rel="stylesheet">

<link href="css/landing-page.css" rel="stylesheet">

<link href="/css/landing-page.css" rel="stylesheet">
>>>>>>> d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70


<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">

<style>
.navbar {
border-color: ;
border-color: #e7e7e7;
}

.content-section-a,
footer,
.navbar {
background-color: ;
color: ;
background-color: #f8f8f8;
color: #333;
}

.navbar a:link,
.navbar-default .navbar-nav>li>a {
color: ;
color: #777;
}

.navbar a:hover,
.navbar-default .navbar-nav>li>a:hover {
color: ;
color: rgb(51, 51, 51);
}

.content-section-b {
background-color: ;
color: ;
background-color: white;
color: #333;
}

body {
color: ;
color: rgb(51, 51, 51);
}

.header-container h1,
.header-container h2,
.header-container h3,
.header-container h4 {
color: ;
color: rgb(51, 51, 51);
}

</style>
&lt;&lt;&lt;&lt;&lt;&lt;&lt; HEAD
<link href="css/prism.css" rel="stylesheet">
<link href="css/table.css" rel="stylesheet">
=======
<link href="/css/prism.css" rel="stylesheet">
<link href="/css/table.css" rel="stylesheet">
>>>>>>> d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70
</head>
<body>

Expand All @@ -86,19 +72,19 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="page-scroll navbar-brand" href="#intro"></a>
<a class="page-scroll navbar-brand" href="#intro">Sharding-JDBC</a>
</div>

<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a class="page-scroll" href=>Github</a>
<a class="page-scroll" href=https://github.com/dangdangdotcom/sharding-jdbc>Github</a>
</li>
<li>
<a class="page-scroll" href=>Docs</a>
<a class="page-scroll" href=http://dangdangdotcom.github.io/sharding-jdbc>Docs</a>
</li>
<li>
<a class="page-scroll" href=>DangDang</a>
<a class="page-scroll" href=https://github.com/dangdangdotcom>DangDang</a>
</li>
</ul>
</div>
Expand All @@ -116,10 +102,15 @@
<div class="row">
<div class="intro-image col-md-4"></div>
<div class="intro-message col-md-6">
<h1></h1>
<h3></h3>
<h1>Sharding-JDBC</h1>
<h3>Sharding-JDBC project.</h3>





<iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user=dangdangdotcom&repo=Sharding-JDBC&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>


<hr class="intro-divider">
</div>
Expand Down Expand Up @@ -152,7 +143,7 @@ <h1 id="主要贡献者:d680e8a854a7cbad6d490c445cba2eba">主要贡献者</h1>
<li>岳令 &nbsp;&nbsp;&nbsp;<a href="http://www.dangdang.com/">当当</a> [email protected]</li>
</ul>

<p><strong>讨论QQ群:</strong>xxx(不限于Sharding-JDBC,包括分布式,数据库相关以及其他互联网技术交流)</p>
<p><strong>讨论QQ群:</strong>532576663(不限于Sharding-JDBC,包括分布式,数据库相关以及其他互联网技术交流)</p>

<h1 id="简介:d680e8a854a7cbad6d490c445cba2eba">简介</h1>

Expand Down Expand Up @@ -322,15 +313,15 @@ <h2 id="使用基于shardingdatasource的jdbc接口:d680e8a854a7cbad6d490c445cba
<h2>相关文档</h2>
<ul>

<li> <a href="/post/user_guide/" target="_blank">使用指南</a></li>
<li> <a href="http://dangdangdotcom.github.io/sharding-jdbc/post/user_guide/" target="_blank">使用指南</a></li>

<li> <a href="/post/features/" target="_blank">详细功能列表</a></li>
<li> <a href="http://dangdangdotcom.github.io/sharding-jdbc/post/features/" target="_blank">详细功能列表</a></li>

<li> <a href="/post/architecture/" target="_blank">架构图</a></li>
<li> <a href="http://dangdangdotcom.github.io/sharding-jdbc/post/architecture/" target="_blank">架构图</a></li>

<li> <a href="/post/restriction/" target="_blank">使用限制</a></li>
<li> <a href="http://dangdangdotcom.github.io/sharding-jdbc/post/restriction/" target="_blank">使用限制</a></li>

<li> <a href="/post/roadmap/" target="_blank">未来线路规划</a></li>
<li> <a href="http://dangdangdotcom.github.io/sharding-jdbc/post/roadmap/" target="_blank">未来线路规划</a></li>

</ul>
</div>
Expand All @@ -346,16 +337,15 @@ <h2>相关文档</h2>
<div class="container">
<div class="row">
<div class="col-md-8">
<p class="copyright text-muted small">Copyright &copy; All Rights Reserved</p>
<p class="copyright text-muted small">Copyright &copy; Sharding-JDBC All Rights Reserved</p>
</div>
<div class="col-md-4">
</div>
</div>
</div>
</footer>

&lt;&lt;&lt;&lt;&lt;&lt;&lt; HEAD
<script src="//cdn.bootcss.com/jquery/1.12.0/jquery.min.js"></script>5
<script src="//cdn.bootcss.com/jquery/1.12.0/jquery.min.js"></script>


<script src="//cdn.bootcss.com/jquery-easing/1.3/jquery.easing.min.js"></script>
Expand All @@ -365,21 +355,6 @@ <h2>相关文档</h2>


<script src="js/prism.js"></script>
=======
<script src="/js/jquery-1.11.0.js"></script>


<script src="/js/jquery.easing.min.js"></script>


<script src="/js/bootstrap.min.js"></script>


<script src="js/landing-page.js"></script>
<script src="/js/prism.js"></script>


>>>>>>> d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70

</body>
</html>
Expand Down
68 changes: 25 additions & 43 deletions index.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title></title>
<link>/</link>
<description>Recent content on </description>
<title>Sharding-JDBC</title>
<link>http://dangdangdotcom.github.io/sharding-jdbc/</link>
<description>Recent content on Sharding-JDBC</description>
<generator>Hugo -- gohugo.io</generator>
<atom:link href="/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language>
<atom:link href="http://dangdangdotcom.github.io/sharding-jdbc/index.xml" rel="self" type="application/rss+xml" />

<item>
<title></title>
<link>/index/</link>
<link>http://dangdangdotcom.github.io/sharding-jdbc/index/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

<guid>/index/</guid>
<guid>http://dangdangdotcom.github.io/sharding-jdbc/index/</guid>
<description>

&lt;h1 id=&#34;主要贡献者:d680e8a854a7cbad6d490c445cba2eba&#34;&gt;主要贡献者&lt;/h1&gt;
Expand All @@ -24,7 +25,7 @@
&lt;li&gt;岳令 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#34;http://www.dangdang.com/&#34;&gt;当当&lt;/a&gt; [email protected]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;讨论QQ群:&lt;/strong&gt;xxx(不限于Sharding-JDBC,包括分布式,数据库相关以及其他互联网技术交流)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;讨论QQ群:&lt;/strong&gt;532576663(不限于Sharding-JDBC,包括分布式,数据库相关以及其他互联网技术交流)&lt;/p&gt;

&lt;h1 id=&#34;简介:d680e8a854a7cbad6d490c445cba2eba&#34;&gt;简介&lt;/h1&gt;

Expand Down Expand Up @@ -182,10 +183,10 @@ try (

<item>
<title>使用指南</title>
<link>/post/user_guide/</link>
<link>http://dangdangdotcom.github.io/sharding-jdbc/post/user_guide/</link>
<pubDate>Fri, 08 Jan 2016 16:14:21 +0800</pubDate>

<guid>/post/user_guide/</guid>
<guid>http://dangdangdotcom.github.io/sharding-jdbc/post/user_guide/</guid>
<description>

&lt;h1 id=&#34;使用指南:74c632aa9613b8dd6b95bfab1ba313e2&#34;&gt;使用指南&lt;/h1&gt;
Expand Down Expand Up @@ -314,12 +315,7 @@ dataSourceMap.put(&amp;quot;ds_1&amp;quot;, createDataSource(&amp;quot;ds_1&amp;

&lt;h3 id=&#34;数据源策略与表策略:74c632aa9613b8dd6b95bfab1ba313e2&#34;&gt;数据源策略与表策略&lt;/h3&gt;

&lt;p&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; HEAD&lt;/p&gt;

&lt;h1 id=&#34;策略类图-img-strategyclass-900-png:74c632aa9613b8dd6b95bfab1ba313e2&#34;&gt;&lt;img src=&#34;img/StrategyClass.900.png&#34; alt=&#34;策略类图&#34; /&gt;&lt;/h1&gt;

&lt;p&gt;&lt;img src=&#34;/img/StrategyClass.900.png&#34; alt=&#34;策略类图&#34; /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70
&lt;p&gt;&lt;img src=&#34;img/StrategyClass.900.png&#34; alt=&#34;策略类图&#34; /&gt;
Sharding-JDBC认为对于分片策略存有两种维度
- 数据源分片策略&lt;code&gt;DatabaseShardingStrategy&lt;/code&gt;:数据被分配的目标数据源
- 表分片策略&lt;code&gt;TableShardingStrategy&lt;/code&gt;:数据被分配的目标表,该目标表存在与该数据的目标数据源内。故表分片策略是依赖与数据源分片策略的结果的
Expand Down Expand Up @@ -377,13 +373,9 @@ Sharding-JDBC认为对于分片策略存有两种维度

&lt;h3 id=&#34;分片算法:74c632aa9613b8dd6b95bfab1ba313e2&#34;&gt;分片算法&lt;/h3&gt;

&lt;p&gt;分片算法接口类图关系如下:
&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; HEAD&lt;/p&gt;

&lt;h1 id=&#34;算法-img-algorithmclass-900-png:74c632aa9613b8dd6b95bfab1ba313e2&#34;&gt;&lt;img src=&#34;img/AlgorithmClass.900.png&#34; alt=&#34;算法&#34; /&gt;&lt;/h1&gt;
&lt;p&gt;分片算法接口类图关系如下:&lt;/p&gt;

&lt;p&gt;&lt;img src=&#34;/img/AlgorithmClass.900.png&#34; alt=&#34;算法&#34; /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;img/AlgorithmClass.900.png&#34; alt=&#34;算法&#34; /&gt;&lt;/p&gt;

&lt;h3 id=&#34;绑定表:74c632aa9613b8dd6b95bfab1ba313e2&#34;&gt;绑定表&lt;/h3&gt;

Expand Down Expand Up @@ -622,10 +614,10 @@ public Collection&amp;lt;String&amp;gt; doSharding(final Collection&amp;lt;Strin

<item>
<title>详细功能列表</title>
<link>/post/features/</link>
<link>http://dangdangdotcom.github.io/sharding-jdbc/post/features/</link>
<pubDate>Fri, 08 Jan 2016 16:14:21 +0800</pubDate>

<guid>/post/features/</guid>
<guid>http://dangdangdotcom.github.io/sharding-jdbc/post/features/</guid>
<description>

&lt;h1 id=&#34;详细功能列表:e1ec7fcfd5aa4d3ea3e990d9b707a3b4&#34;&gt;详细功能列表&lt;/h1&gt;
Expand Down Expand Up @@ -683,44 +675,32 @@ public Collection&amp;lt;String&amp;gt; doSharding(final Collection&amp;lt;Strin

<item>
<title>架构图</title>
<link>/post/architecture/</link>
<link>http://dangdangdotcom.github.io/sharding-jdbc/post/architecture/</link>
<pubDate>Fri, 08 Jan 2016 16:14:21 +0800</pubDate>

<guid>/post/architecture/</guid>
<guid>http://dangdangdotcom.github.io/sharding-jdbc/post/architecture/</guid>
<description>

&lt;h1 id=&#34;架构图:1bf455b3a3c6e1e40be41ef6023b75eb&#34;&gt;架构图&lt;/h1&gt;

&lt;p&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; HEAD
&lt;img src=&#34;img/architecture.png&#34; alt=&#34;整体架构图1&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;img/architecture.png&#34; alt=&#34;整体架构图1&#34; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&#34;img/parse.png&#34; alt=&#34;SQL解析&#34; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&#34;img/route.png&#34; alt=&#34;SQL路由&#34; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&#34;img/execute.png&#34; alt=&#34;SQL执行&#34; /&gt;&lt;/p&gt;

&lt;h1 id=&#34;结果归并-img-merge-png:1bf455b3a3c6e1e40be41ef6023b75eb&#34;&gt;&lt;img src=&#34;img/merge.png&#34; alt=&#34;结果归并&#34; /&gt;&lt;/h1&gt;

&lt;p&gt;&lt;img src=&#34;../img/architecture.png&#34; alt=&#34;整体架构图1&#34; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&#34;../img/parse.png&#34; alt=&#34;SQL解析&#34; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&#34;../img/route.png&#34; alt=&#34;SQL路由&#34; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&#34;../img/execute.png&#34; alt=&#34;SQL执行&#34; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&#34;../img/merge.png&#34; alt=&#34;结果归并&#34; /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; d2aa9f588f5ed3f3bb4b93f956bb07d35ba29e70&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;img/merge.png&#34; alt=&#34;结果归并&#34; /&gt;&lt;/p&gt;
</description>
</item>

<item>
<title>使用限制</title>
<link>/post/restriction/</link>
<link>http://dangdangdotcom.github.io/sharding-jdbc/post/restriction/</link>
<pubDate>Fri, 08 Jan 2016 16:14:21 +0800</pubDate>

<guid>/post/restriction/</guid>
<guid>http://dangdangdotcom.github.io/sharding-jdbc/post/restriction/</guid>
<description>

&lt;h1 id=&#34;使用限制:e136e3f58c4f85ea1188986eb33d0381&#34;&gt;使用限制&lt;/h1&gt;
Expand Down Expand Up @@ -803,10 +783,10 @@ public Collection&amp;lt;String&amp;gt; doSharding(final Collection&amp;lt;Strin

<item>
<title>未来线路规划</title>
<link>/post/roadmap/</link>
<link>http://dangdangdotcom.github.io/sharding-jdbc/post/roadmap/</link>
<pubDate>Fri, 08 Jan 2016 16:14:21 +0800</pubDate>

<guid>/post/roadmap/</guid>
<guid>http://dangdangdotcom.github.io/sharding-jdbc/post/roadmap/</guid>
<description>

&lt;h1 id=&#34;未来线路规划:cd4a1b36ed2b93cfc52abf77a7d25d03&#34;&gt;未来线路规划&lt;/h1&gt;
Expand All @@ -819,7 +799,9 @@ public Collection&amp;lt;String&amp;gt; doSharding(final Collection&amp;lt;Strin
&lt;li&gt;SQL Hint,可指定某SQL在某具体库表执行,基于业务规则而非SQL解析路由&lt;/li&gt;
&lt;li&gt;小表广播&lt;/li&gt;
&lt;li&gt;HA相关&lt;/li&gt;
&lt;li&gt;流量控制&lt;/li&gt;
&lt;li&gt;数据库建表工具&lt;/li&gt;
&lt;li&gt;数据迁移&lt;/li&gt;
&lt;li&gt;复杂SQL解析支持,如子查询,存储过程等&lt;/li&gt;
&lt;li&gt;Oracle, SQLServer,DB2支持&lt;/li&gt;
&lt;li&gt;配置中心&lt;/li&gt;
Expand Down
Loading

0 comments on commit b4ad310

Please sign in to comment.