jthomasbailey
jthomasbailey

Reputation: 410

Is there a framework or method that lets the server and client easily share variables?

I have variables stored in json that the client needs to read but I don't want the user to have to download them all due to the huge file size. Is there a nodejs framework that makes it relatively easy for client and server to share variables?

Upvotes: 3

Views: 66

Answers (2)

moonwave99
moonwave99

Reputation: 22817

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.

Upvotes: 2

Joseph
Joseph

Reputation: 119847

There's this module called Now which seems to do what you want.

Upvotes: 3

Related Questions