3

我有存储在 json 中的变量,客户端需要读取这些变量,但由于文件很大,我不希望用户必须全部下载它们。是否有一个 nodejs 框架可以让客户端和服务器相对容易地共享变量?

4

2 回答 2

3

有一个名为Now的模块,它似乎可以满足您的需求。

于 2013-05-22T00:19:13.670 回答
2

Meteor is a stack that takes full advantage of websockets, making the client/server realm a continuum.

It uses JSON RPC, and does not rely on huge REST collections - this approach has pros and cons, but it's up to you investigate further.

于 2013-05-22T00:23:33.040 回答