Skip to content

Commit a804e75

Browse files
committed
Merge branch 'master' of https://github.com/Tencent/APIJSON
* 'master' of https://github.com/Tencent/APIJSON: 新增文章 使用APIJSON写低代码Crud接口,感谢博主贡献~ 新增 7 篇代码分析相关文章,基本都是 27 篇中的开篇,感谢 3 个博主 新增 7 篇代码分析相关文章,基本都是 27 篇中的开篇,感谢 3 个博主 Update README.md Update README.md 路线规划:新增 4.8.0 大幅提升单边数组查询性能的说明 Update 详细的说明文档.md Update Roadmap.md Update Roadmap.md Update README.md Update README.md Update Document.md Update README-English.md
2 parents 6023bc0 + 7a0c85d commit a804e75

File tree

5 files changed

+41
-17
lines changed

5 files changed

+41
-17
lines changed

Document.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://github.com/Tencent/APIJSON
55
![image](https://user-images.githubusercontent.com/5738175/134520081-a63d3817-321c-4e7b-9e03-73c6827a19c1.png)
66

77

8-
后端开发者可以先看 [图文入门教程1](https://vincentcheng.github.io/apijson-doc/zh)[图文入门教程2](https://hanxu2018.github.io/APIJSON-DOC/)都非官方,和本文档有出入的点以本文档为准。例如正则匹配 key? 已废弃,用 key~ 替代;例如 "@column":"store_id,sum(amt):totAmt" 中逗号 , 有误,应该用分号 ; 隔开 SQL 函数,改为 "@column":"store_id;sum(amt):totAmt")
8+
后端开发者可以先看 [图文入门教程1](http://apijson.cn/doc/zh/)[图文入门教程2](https://hanxu2018.github.io/APIJSON-DOC/) (和本文档有出入的点以本文档为准。例如正则匹配 key? 已废弃,用 key~ 替代;例如 "@column":"store_id,sum(amt):totAmt" 中逗号 , 有误,应该用分号 ; 隔开 SQL 函数,改为 "@column":"store_id;sum(amt):totAmt")
99

1010
* ### [1.示例](#1)
1111
* ### [2.对比传统方式](#2)

README-English.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ https://github.com/Tencent/APIJSON/issues/187
331331
[More APIJSON Users](https://github.com/Tencent/APIJSON/issues/73)
332332

333333
### Contributers of APIJSON:
334-
Contributers for the APIJSON core project(6 Tencent engineers1 Zhihu architect1 YTO Express engineer, etc.): <br />
334+
Contributers for the APIJSON core project(6 Tencent engineers, 1 Zhihu architect, 1 YTO Express engineer, etc.): <br />
335335
https://github.com/Tencent/APIJSON/blob/master/CONTRIBUTING.md <br />
336336
<div style="float:left">
337337
<a href="https://github.com/TommyLemon"><img src="https://avatars1.githubusercontent.com/u/5738175?s=400&u=5b2f372f0c03fae8f249d2d754e38971c2e17b92&v=4"
@@ -375,7 +375,7 @@ https://github.com/Tencent/APIJSON/blob/master/CONTRIBUTING.md <br />
375375
</div>
376376
<br />
377377

378-
Authors of other projects for ecosystem of APIJSON(2 Tencent engineers1 Bytedance(TikTok) engineer, etc.): <br />
378+
Authors of other projects for ecosystem of APIJSON(2 Tencent engineers, 1 BAT(Baidu/Alibaba/Tencent) specialist, 1 Bytedance(TikTok) engineer, etc.): <br />
379379
https://github.com/search?o=desc&q=apijson&s=stars&type=Repositories <br />
380380
https://search.gitee.com/?skin=rec&type=repository&q=apijson&sort=stars_count <br />
381381
<div style="float:left">

README.md

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This source code is licensed under the Apache License Version 2.0 <br/>
1616
<a href="https://github.com/APIJSON/APIJSON-Demo/tree/master/Oracle"><img src="https://img.shields.io/badge/Oracle-12C%2B-brightgreen.svg?style=flat"></a>
1717
<a href="https://github.com/andream7/apijson-db2"><img src="https://img.shields.io/badge/DB2-7.1%2B-brightgreen.svg?style=flat"></a>
1818
<a href="https://github.com/APIJSON/APIJSON-Demo/tree/master/MySQL"><img src="https://img.shields.io/badge/TiDB-2.1%2B-brightgreen.svg?style=flat"></a>
19-
<a href="https://github.com/chenyanlann/APIJSONDemo_ClickHouse"><img src="https://img.shields.io/badge/ClickHouse-21.1%2B-brightgreen.svg?style=flat"></a>
19+
<a href="https://github.com/qiujunlin/APIJSONDemo"><img src="https://img.shields.io/badge/ClickHouse-21.1%2B-brightgreen.svg?style=flat"></a>
2020
</p>
2121
<p align="center" >
2222
<a href="https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server"><img src="https://img.shields.io/badge/Java-1.8%2B-brightgreen.svg?style=flat"></a>
@@ -147,13 +147,13 @@ https://www.bilibili.com/video/BV1yv411p7Y4
147147
<br />
148148

149149
### 为什么选择 APIJSON?
150-
前后端 关于接口的 开发、文档、联调 等 10 个痛点解析 <br />
150+
前后端 关于接口的 开发、文档、联调 等 10 大痛点解析 <br />
151151
https://github.com/Tencent/APIJSON/wiki
152152

153-
* **解决十个痛点** (APIJSON 可帮助用户 提振开发效率、杜绝联调扯皮、规避文档缺陷、节省流量带宽 等)
153+
* **解决十大痛点** (APIJSON 可帮助用户 提振开发效率、杜绝联调扯皮、规避文档缺陷、节省流量带宽 等)
154154
* **开发提速很大** (CRUD 零代码热更新自动化,APIJSONBoot 对比 SSM、SSH 等保守估计可提速 20 倍以上)
155155
* **腾讯官方开源** (使用 GitHub、Gitee、工蜂 等平台的官方账号开源,微信公众号、腾讯云+社区 等官方公告)
156-
* **社区影响力大** (GitHub 1W+ Star 在 350W Java 项目中排名前 140,远超 FLAG, BAT 等国内外绝大部分开源项目)
156+
* **社区影响力大** (GitHub 1W+ Star 在 350W Java 项目中排名前 120,远超 FLAG, BAT 等国内外绝大部分开源项目)
157157
* **多样用户案例** (腾讯内部用户包含 互娱、音乐、云与智慧,外部用户包含 500 强上市公司、数千亿资本国企 等)
158158
* **适用场景广泛** (社交聊天、阅读资讯、影音视频、办公学习 等各种 App、网站、公众号、小程序 等非金融类项目)
159159
* **周边生态丰富** (Android, iOS, Web 等各种 Demo、继承 JSON 的海量生态、零代码 接口测试 和 单元测试 工具等)
@@ -162,9 +162,9 @@ https://github.com/Tencent/APIJSON/wiki
162162
* **使用安全简单** (自动增删改查、自动生成文档、自动管理版本、自动控制权限、自动校验参数、自动防SQL注入等)
163163
* **灵活定制业务** (在后端编写 远程函数,可以拿到 session、version、当前 JSON 对象 等,然后自定义处理)
164164
* **高质可靠代码** (代码严谨规范,商业分析软件源伞 Pinpoint 代码扫描报告平均每行代码 Bug 率低至 0.15%)
165-
* **兼容各种项目** (协议不限 HTTP,与其它库无冲突,对各类 Web 框架集成友好且提供 SpringBoot, JFinal 的 Demo)
165+
* **兼容各种项目** (协议不限 HTTP,与其它库无冲突,对各类 Web 框架集成友好且提供 SpringBoot, JFinal 的示例)
166166
* **工程轻量小巧** (仅依赖 fastjson,Jar 仅 280KB,Java 文件仅 59 个共 13719 行代码,例如 APIJSONORM 4.3.1)
167-
* **多年持续迭代** (自 2016 年开源至今已连续维护 4 年,累计 2000+ Commits、70+ Releases,不断更新迭代中...)
167+
* **多年持续迭代** (自 2016 年开源至今已连续维护 5 年,累计 2000+ Commits、80+ Releases,不断更新迭代中...)
168168

169169

170170
### 常见问题
@@ -353,7 +353,7 @@ https://search.gitee.com/?skin=rec&type=repository&q=apijson&sort=stars_count <b
353353
https://github.com/Tencent/APIJSON/blob/master/Roadmap.md
354354

355355
理论上所有支持 SQL 与 JDBC/ODBC 的软件,都可以用本项目对接 CRUD,待测试: <br />
356-
[DB2](https://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/com.ibm.db2.luw.sql.ref.doc/doc/r0059224.html), [Elasticsearch](https://www.elastic.co/cn/what-is/elasticsearch-sql), [ClickHouse](https://clickhouse.tech/docs/zh/sql-reference/syntax/), [OceanBase](https://www.oceanbase.com/docs/oceanbase/V2.2.50/ss-sr-select_daur3l), [Presto](https://prestodb.io/docs/current/admin/function-namespace-managers.html), [Spark](http://spark.apache.org/sql/), [Hive](https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Select)(延伸支持 Hadoop, Spark), [Phoenix](http://phoenix.apache.org/language/index.html#select)(延伸支持 HBase), [Presto/Trino](https://prestodb.io/docs/current/sql/select.html)(延伸支持 Redis, Hive, Kafka, Elasticsearch, Thrift, Cassandra, MySQL, PostgreSQL, Oracle, MongoDB...)
356+
[Elasticsearch](https://www.elastic.co/cn/what-is/elasticsearch-sql), [OceanBase](https://www.oceanbase.com/docs/oceanbase/V2.2.50/ss-sr-select_daur3l), [Presto](https://prestodb.io/docs/current/admin/function-namespace-managers.html), [Spark](http://spark.apache.org/sql/), [Hive](https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Select)(延伸支持 Hadoop, Spark), [Phoenix](http://phoenix.apache.org/language/index.html#select)(延伸支持 HBase), [Presto/Trino](https://prestodb.io/docs/current/sql/select.html)(延伸支持 Redis, Hive, Kafka, Elasticsearch, Thrift, Cassandra, MySQL, PostgreSQL, Oracle, MongoDB...)
357357

358358
### 我要赞赏
359359
如果你喜欢 APIJSON,感觉 APIJSON 帮助到了你,可以点右上角 ⭐Star 支持一下,谢谢 ^_^ <br />
@@ -411,6 +411,23 @@ https://github.com/Tencent/APIJSON/blob/master/CONTRIBUTING.md
411411
[全国行政区划数据抓取与处理](https://www.xlongwei.com/detail/21032616)
412412

413413
[新手搭建 APIJSON 项目指北](https://github.com/jerrylususu/apijson_todo_demo/blob/master/FULLTEXT.md)
414+
415+
[使用APIJSON写低代码Crud接口](https://blog.csdn.net/weixin_42375862/article/details/121654264)
416+
417+
[APIJSON(一:综述)](https://blog.csdn.net/qq_50861917/article/details/120556168)
418+
419+
[APIJSON 代码分析(三:demo主体代码)](https://blog.csdn.net/qq_50861917/article/details/120751630)
420+
421+
[APIJSON 代码分析(二)AbstractParser类(解析器)](https://blog.csdn.net/weixin_45767055/article/details/120815927)
422+
423+
[APIJSON 代码分析(四:AbstractObjectParser源码阅读)](https://blog.csdn.net/qq_50861917/article/details/120896381)
424+
425+
[APIJSON 代码分析 AbstractSQLConfig 第二篇](https://blog.csdn.net/csascscascd/article/details/120684889)
426+
427+
[APIJSON 代码分析(六)APIJSON—Verifier检查类](https://blog.csdn.net/weixin_45767055/article/details/121321731)
428+
429+
[APIJSON 代码分析(四)AbstractSQLExecutor—SQL执行器](https://blog.csdn.net/weixin_45767055/article/details/121069887)
430+
414431

415432
### 生态项目
416433
[APIJSON-Demo](https://github.com/APIJSON/APIJSON-Demo) APIJSON 各种语言、各种框架 的 使用示例项目、上手文档、测试数据 SQL 文件 等
@@ -483,6 +500,7 @@ https://github.com/Tencent/APIJSON/blob/master/CONTRIBUTING.md
483500

484501
感谢热心的作者们的贡献,点 ⭐Star 支持下他们吧。
485502

503+
486504
### 腾讯犀牛鸟开源人才培养计划
487505
https://github.com/Tencent/APIJSON/issues/229
488506

Roadmap.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
### 新增功能
88
部分功能描述可在 [APIAuto](https://github.com/TommyLemon/APIAuto) 上查看 <br />
99
账号 13000002020 密码 123456 <br />
10-
http://apijson.org:8000/auto/ <br />
10+
http://apijson.cn/api <br />
1111

1212
##### 基本原则
1313
1.一定要有相关的应用场景,不能是伪需求,最好举例说明 <br />
@@ -35,6 +35,7 @@ POST: 用不上,不处理 <br />
3535
@having! 必须性不大,可通过反转内部条件来实现,但如果实现简单、且不影响原来的功能,则可以顺便加上。<br />
3636

3737
#### 新增支持 @column!
38+
20210415 更新:已提供字段插件 [apijson-column](https://github.com/APIJSON/apijson-column),支持 字段名映射 和 !key 反选字段。
3839

3940
这个只在 [apijson-framework](https://github.com/APIJSON/apijson-framework) 支持,需要配置每个接口版本、每张表所拥有的全部字段,然后排除掉 @column! 的。<br />
4041
可新增一个 VersionedColumn 表记录来代替 HashMap 代码配置。<br />
@@ -191,7 +192,8 @@ https://github.com/Tencent/APIJSON/blob/master/APIJSONORM/src/main/java/apijson/
191192

192193

193194
### 提高性能
194-
20200205 更新:最近的两次大幅提升性能相关优化及 Release <br />
195+
20200205 更新:最近的及次大幅提升性能相关优化及 Release <br />
196+
[新增支持 ClickHouse、窗口函数 OVER、反引号 `key`、单引号 'value';大幅提升单表数组查询性能](https://github.com/Tencent/APIJSON/releases/tag/4.8.0) <br />
195197
[4.6.0【性能】大幅提升数组内主表查询性能](https://github.com/Tencent/APIJSON/releases/tag/4.6.0) <br />
196198
[4.4.5【性能】大幅提升增删改的性能](https://github.com/Tencent/APIJSON/releases/tag/4.4.5) <br />
197199

@@ -229,21 +231,22 @@ https://github.com/Tencent/APIJSON/issues/created_by/QiAnXinCodeSafe
229231

230232
##### [APIAuto](https://github.com/TommyLemon/APIAuto) 上统计的 bug
231233
账号 13000002000 密码 123456 <br />
232-
http://apijson.org:8000/auto/ <br />
234+
http://apijson.cn/api <br />
233235

234236
##### 其它发现的 Bug
235237
https://github.com/Tencent/APIJSON/issues?q=is%3Aissue+is%3Aopen+label%3Abug <br />
236238

237239
#### 完善测试
238240

239241
##### 在 APIAuto-机器学习自动化接口管理平台 上传更多、更全面、更细致的测试用例、动态参数等
240-
http://apijson.org:8000/auto/ <br />
242+
http://apijson.cn/api <br />
241243

242-
##### 接入 UnitAuto-机器学习自动化单元测试平台,每次启动都自动测试所有可测方法并输出报告
243-
https://gitee.com/TommyLemon/UnitAuto <br />
244+
##### UnitAuto-机器学习自动化单元测试平台 上传更多、更全面、更细致的测试用例、动态参数等
245+
http://apijson.cn/unit <br />
244246

245247

246248
### 完善文档
249+
20211112 更新:已在官网部署文档 http://apijson.cn/doc/zh
247250
20200205 更新:最近完善及更新了通用文档、上手文档、图文入门文档等,还对首页引导文档加了导航目录
248251
https://github.com/Tencent/APIJSON/blob/master/Navigation.md
249252

@@ -277,7 +280,7 @@ https://github.com/APIJSON/APIJSON#%E7%94%9F%E6%80%81%E9%A1%B9%E7%9B%AE <br />
277280

278281
JavaScript 前端,TypeScript 前端,微信等小程序,<br />
279282
Android 客户端,iOS 客户端,C# 游戏客户端等。<br />
280-
Java, C#, Node, Python 等后端 Demo 及数据。<br />
283+
Java, C#, PHP, Node, Python 等后端 Demo 及数据。<br />
281284
https://github.com/APIJSON/APIJSON-Demo <br />
282285

283286
#### 新增扩展

详细的说明文档.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
https://search.bilibili.com/all?keyword=APIJSON&from_source=webtop_search&spm_id_from=333.851
55
![image](https://user-images.githubusercontent.com/5738175/135413311-0207ec13-f7ea-4767-9e34-1a6d08438295.png)
66

7+
本文档已部署到官网,浏览和检索体验更好 <br >
8+
http://apijson.cn/doc/zh/
9+
710
其它各种官方和第三方文档见首页相关推荐 <br >
811
https://github.com/Tencent/APIJSON#%E7%9B%B8%E5%85%B3%E6%8E%A8%E8%8D%90
912

0 commit comments

Comments
 (0)