diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2fe2c2b --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ + +default: serve + +# serve document with docsify (or python) +s: serve +d: serve +serve: + bin/serve + +# generate zh-tw version +translate: + bin/zh-tw.py + +.PHONY: s d serve translate diff --git a/README.md b/README.md index 749d10f..f934244 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,11 @@ # 设计数据密集型应用 - 中文翻译 - 作者: [Martin Kleppmann](https://martin.kleppmann.com) -- 原书名称:[《Designing Data-Intensive Applications》](http://shop.oreilly.com/product/0636920032175.do) -- 译者:[冯若航]( http://vonng.com/about) (fengruohang@outlook.com ) -- Gitbook地址:[ddia-cn](https://vonng.gitbooks.io/ddia-cn) -- 使用[Typora](https://www.typora.io)或Gitbook以获取最佳阅读体验。 - -* [繁體中文版本](zh-tw/README.md) - - +- 原名:[《Designing Data-Intensive Applications》](http://shop.oreilly.com/product/0636920032175.do) +- 译者:[冯若航]( https://vonng.com) (rh@vonng.com ) +- 使用 [Typora](https://www.typora.io)、[Gitbook](https://vonng.gitbooks.io/ddia-cn/content/),以及[Docsify](https://docsify.js.org/#/zh-cn/)以获取最佳阅读体验。 +- 繁体:[繁體中文版本](zh-tw/README.md) +- 执行 `make`可以通过浏览器阅读 ## 译序 diff --git a/_coverpage.md b/_coverpage.md new file mode 100644 index 0000000..591fa3b --- /dev/null +++ b/_coverpage.md @@ -0,0 +1,6 @@ + + +# 设计数据密集型应用 + +> Designing Data Intensive Applications + diff --git a/_navbar.md b/_navbar.md new file mode 100644 index 0000000..8326095 --- /dev/null +++ b/_navbar.md @@ -0,0 +1,3 @@ +- Language + - [:cn: 简体](/) + - [:cn: 繁体](/zh-tw/) \ No newline at end of file diff --git a/bin/serve b/bin/serve new file mode 100755 index 0000000..e60cb0d --- /dev/null +++ b/bin/serve @@ -0,0 +1,11 @@ +#!/bin/bash + +PROG_DIR="$(cd $(dirname $0) && pwd)" +HOME_DIR="$(cd $(dirname ${PROG_DIR}) && pwd)" + +if command -v docsify; then + cd ${HOME_DIR} && docsify serve +else + cd ${HOME_DIR} && python -m SimpleHTTPServer 3001 + echo "open http://localhost:3001 with your browser" +fi \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..613776c --- /dev/null +++ b/index.html @@ -0,0 +1,66 @@ + + + + + 设计数据密集型应用 + + + + + + + + + + + +
Loading ...
+ + + + + + + + + + diff --git a/zh-tw/README.md b/zh-tw/README.md index e8bd6d4..87b1912 100644 --- a/zh-tw/README.md +++ b/zh-tw/README.md @@ -4,19 +4,13 @@ - 作者: [Martin Kleppmann](https://martin.kleppmann.com) -- 原書名稱:[《Designing Data-Intensive Applications》](http://shop.oreilly.com/product/0636920032175.do) +- 原名:[《Designing Data-Intensive Applications》](http://shop.oreilly.com/product/0636920032175.do) -- 譯者:[馮若航]( http://vonng.com/about) (fengruohang@outlook.com ) - -- Gitbook地址:[ddia-cn](https://vonng.gitbooks.io/ddia-cn) - -- 使用[Typora](https://www.typora.io)或Gitbook以獲取最佳閱讀體驗。 - - - -* [繁體中文版本](zh-tw/README.md) +- 譯者:[馮若航]( https://vonng.com) (rh@vonng.com ) +- 使用 [Typora](https://www.typora.io)、[Gitbook](https://vonng.gitbooks.io/ddia-cn/content/),以及[Docsify](https://docsify.js.org/#/zh-cn/)以獲取最佳閱讀體驗。 +- 繁體:[繁體中文版本](zh-tw/README.md) diff --git a/zh-tw/_coverpage.md b/zh-tw/_coverpage.md new file mode 100644 index 0000000..851b443 --- /dev/null +++ b/zh-tw/_coverpage.md @@ -0,0 +1,11 @@ + + + + +# 設計資料密集型應用 + + + +> Designing Data Intensive Applications + + diff --git a/zh-tw/_navbar.md b/zh-tw/_navbar.md new file mode 100644 index 0000000..4f12f47 --- /dev/null +++ b/zh-tw/_navbar.md @@ -0,0 +1,5 @@ +- Language + + - [:cn: 簡體](/) + + - [:cn: 繁體](/zh-tw/) \ No newline at end of file diff --git a/zh-tw/_sidebar.md b/zh-tw/_sidebar.md index 051e732..0464d52 100644 --- a/zh-tw/_sidebar.md +++ b/zh-tw/_sidebar.md @@ -1,23 +1,47 @@ - [序言](preface.md) - [第一部分:資料系統的基石](part-i.md) + - [第一章:可靠性、可伸縮性、可維護性](ch1.md) + - [第二章:資料模型與查詢語言](ch2.md) + - [第三章:儲存與檢索](ch3.md) + - [第四章:編碼與演化](ch4.md) - + + + - [第二部分:分散式資料](part-ii.md) + + - [第五章:複製](ch5.md) + - [第六章:分割槽](ch6.md) + - [第七章:事務](ch7.md) + - [第八章:分散式系統的麻煩](ch8.md) + - [第九章:一致性與共識](ch9.md) - + + + - [第三部分:衍生資料](part-iii.md) + + + - [第十章:批處理](ch10.md) + - [第十一章:流處理](ch11.md) + - [第十二章:資料系統的未來](ch12.md) - + + + - [術語表](glossary.md) + + + - [後記](colophon.md) \ No newline at end of file