Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 749
jthomasbailey Avatar asked Dec 05 '25 04:12

jthomasbailey


2 Answers

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

like image 81
Joseph Avatar answered Dec 07 '25 18:12

Joseph


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.

like image 31
moonwave99 Avatar answered Dec 07 '25 20:12

moonwave99