You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2023/09/08 09:37:21 UTC
[dubbo-js] branch dubbo3 updated (27269ab -> 5435dac)
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a change to branch dubbo3
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git
from 27269ab Update README.md
new 72db5f9 add doc resource
new 006fa62 update readme
new 5435dac update readme
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.md | 2 ++
example/dubbo-web-example/README.md | 4 ++++
example/dubbo-web-example/doc/arc.png | Bin 0 -> 1989193 bytes
example/dubbo-web-example/doc/web.png | Bin 0 -> 2566700 bytes
4 files changed, 6 insertions(+)
create mode 100644 example/dubbo-web-example/doc/arc.png
create mode 100644 example/dubbo-web-example/doc/web.png
[dubbo-js] 02/03: update readme
Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch dubbo3
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git
commit 006fa6247d44dca1b46544b8a4e527572b615a0d
Author: chickenlj <ke...@gmail.com>
AuthorDate: Fri Sep 8 17:34:51 2023 +0800
update readme
---
example/dubbo-web-example/README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/example/dubbo-web-example/README.md b/example/dubbo-web-example/README.md
index 838d1a6..40c28fe 100644
--- a/example/dubbo-web-example/README.md
+++ b/example/dubbo-web-example/README.md
@@ -2,8 +2,12 @@
基于 Dubbo 定义的 Triple 协议,你可以轻松编写浏览器、gRPC 兼容的 RPC 服务,并让这些服务同时运行在 HTTP/1 和 HTTP/2 上。Dubbo TypeScript SDK 支持使用 IDL 或编程语言特有的方式定义服务,并提供一套轻量的 APl 来发布或调用这些服务。
+[arc](./doc/arc.png)
+
本示例演示了如何使用 dubbo-js 开发运行在浏览器上的 web 应用程序,web 页面将调用 dubbo node.js 开发的后端服务并生成页面内容。本示例演示基于 IDL 和非 IDL 两种编码模式。
+[arc](./doc/web.png)
+
## IDL 模式
### <span id="precondition">前置条件</span>
[dubbo-js] 03/03: update readme
Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch dubbo3
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git
commit 5435dac0374c2cc6cdd6419592f63313ba268bfa
Author: chickenlj <ke...@gmail.com>
AuthorDate: Fri Sep 8 17:36:31 2023 +0800
update readme
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index 2a8323e..b9692ad 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,8 @@ observability, security, tools, and best practices for building enterprise-ready
Dubbo-js is the TypeScript implementation of [Dubbo triple protocol (a fully gRPC compatible and http friendly protocol)](https://dubbo.apache.org/zh-cn/overview/reference/protocols/triple-spec/), which can be used for Node.js and web application development. With dubbo-js, you can easily build applications working on browser and frontend that can communicate with backend services through http-based protocol.
+[arc](./example/dubbo-web-example/doc/arc.png)
+
* [Node.js Documentation](https://github.com/apache/dubbo-js/blob/dubbo3/example/dubbo-node-example)
* [Web Documentation](https://github.com/apache/dubbo-js/blob/dubbo3/example/dubbo-web-example)
[dubbo-js] 01/03: add doc resource
Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch dubbo3
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git
commit 72db5f957161a61b61463721a61e9532df4464d6
Author: chickenlj <ke...@gmail.com>
AuthorDate: Fri Sep 8 14:40:23 2023 +0800
add doc resource
---
example/dubbo-web-example/doc/arc.png | Bin 0 -> 1989193 bytes
example/dubbo-web-example/doc/web.png | Bin 0 -> 2566700 bytes
2 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/example/dubbo-web-example/doc/arc.png b/example/dubbo-web-example/doc/arc.png
new file mode 100644
index 0000000..7827d51
Binary files /dev/null and b/example/dubbo-web-example/doc/arc.png differ
diff --git a/example/dubbo-web-example/doc/web.png b/example/dubbo-web-example/doc/web.png
new file mode 100644
index 0000000..f0e436c
Binary files /dev/null and b/example/dubbo-web-example/doc/web.png differ