Closed tommedema closed 13 years ago
Hi tom,
I do see the usefulness of this feature but the implementation of this is more tricky than the clientWrite feature. We're not planning on implementing this now for that reason, but if I hear more requests for this feature, I'll definitely look into it further / reopen the issue.
Eric
@tommedema
Also, you can use the this.user object to store data that cannot be read by the client side (and won't be synced of course)
So if I do this.user.x = 3; then whenever this.user is available (in any function call, for example) then that value will still be accessible.
@ericz, will do, the only thing I'm worried about is that the server side will still constantly poll for new variables which are never going to get added anyway -- right? Thanks.
The server never polls, because we can use the node-proxy v8 extension, we can get actual events for when variables are created/changed.
However the client does indeed poll.
Eric
On Wed, May 11, 2011 at 11:35 AM, tommedema < reply@reply.github.com>wrote:
@ericz, will do, the only thing I'm worried about is that the server side will still constantly poll for new variables which are never going to get added anyway -- right? Thanks.
Reply to this email directly or view it on GitHub: https://github.com/Flotype/now/issues/58#comment_1142159
510-691-3951 EECS Student at UC Berkeley http://ericzhang.com
I really like the clientWrite option (it's actually a must for me to set this to false).
I'd like to request another feature: clientRead. This sets whether variable syncing is enabled, it defaults to true (current behavior). By setting is to false, no client<>server messages are sent as variables are only kept on the server side.
There are a couple of reasons why I would really like to see this option:
So, I'd really like to see a clientRead option (which should default to true, although I personally will set it to false).