Questions tagged [ddp]

Meteor communication protocol

DDP is a protocol between a client and a server that supports two operations:

  • Remote procedure calls by the client to the server.
  • The client subscribing to a set of documents, and the server keeping the client informed about the contents of those documents as they change over time.
200 questions
0
votes
1 answer

Two-way communication between Meteor and Node

I am building a Node app that talks to an Xbee over serial and reads/controls several sensors/relays that are also Xbee equipped. I would like to use Meteor for the user interface and data storage with the Node app simply sending sensor updates and…
archfan
  • 15
  • 2
0
votes
1 answer

Meteor DDP is sending more then one message even after only one update

Having some problems with DDP at the moment. All is pretty much working perfectly accept for one issue. I have a collection where I am observing the changes. When I call sub on it initially it sends all the data down through added .. (i get that).…
0
votes
1 answer

Meteor DDP context

I'm creating package for distributed ddp clients Basic routine is as follow: Client connect if it's new it negotiate its own key and secret with Diffie–Hellman key exchange algorithm then logs in with key and encrypted password Users can assign…
Elrot
  • 253
  • 1
  • 3
  • 8
-1
votes
1 answer

Need to push javascript objects ( not from collections ) asynchronously for a specific user from server to client on meteor

Any user (client) making a research on my meteor app would call a meteor method that will send asynchronously results to this client when it founds something ( could be by searching many different external apis for exemple ) and possibly would…
-2
votes
1 answer

Making functions autorun in MeteorJs

I am using the page visibility api in my app. I need the value of document.hidden to update reactively. I have a template that when rendered I check if the page is visible and if it is then I set a document property to false. Now if the page isn't…
fardeem
  • 594
  • 5
  • 13
1 2 3
13
14