Meteor DDP Node.js Client

425 views
Skip to first unread message

Patrick DeVivo

unread,
Feb 2, 2014, 10:23:18 PM2/2/14
to meteo...@googlegroups.com
I'm building a meteor app and would like to talk to my meteor server via a node.js script that gets run at the command line. Is there a standard node.js DDP client available? The options I've seen seem incomplete or slightly out of date.

Arunoda Susiripala

unread,
Feb 2, 2014, 10:27:03 PM2/2/14
to meteo...@googlegroups.com


On Mon, Feb 3, 2014 at 8:53 AM, Patrick DeVivo <patrick...@gmail.com> wrote:
I'm building a meteor app and would like to talk to my meteor server via a node.js script that gets run at the command line. Is there a standard node.js DDP client available? The options I've seen seem incomplete or slightly out of date.

--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Arunoda Susiripala

emgee3

unread,
Feb 2, 2014, 11:08:52 PM2/2/14
to meteo...@googlegroups.com
I've contributed to ddp and I recommend it. 

Regarding the incompleteness, two commands we didn't implement addedBefore and movedBefore are not actually implemented in Meteor yet, though still part of the DDP spec. I'm not actually sure what the use case for  updated is and error  was confusingly documented when I implemented DDP-pre1 spec. I mention these points as while it is technically incomplete, all the important parts are covered. 

I use ddp in a couple production apps and have never had an issue with it. It's also used in Meteorite.

Patrick DeVivo

unread,
Feb 3, 2014, 7:26:11 PM2/3/14
to meteo...@googlegroups.com
Is there an in-browser ddp client available? Meteor must implement one somewhere, does anyone know where that code is?

emgee3

unread,
Feb 3, 2014, 9:16:59 PM2/3/14
to meteo...@googlegroups.com
There is this third-party one: https://github.com/eddflrs/meteor-ddp

DDP is implemented in the livedata Meteor package. It has both the client and the server code in there. The package.js file shows which is client and which is server code.

Gadi Cohen

unread,
Feb 4, 2014, 9:08:50 AM2/4/14
to meteo...@googlegroups.com
I decided it might be a good idea to keep a community maintained list of DDP clients :)

Eddie Flores

unread,
Feb 4, 2014, 8:38:56 PM2/4/14
to meteo...@googlegroups.com
Gadi, thanks for putting that together, great list!

James Gill

unread,
Feb 10, 2014, 6:41:22 PM2/10/14
to meteo...@googlegroups.com
We also use the node-ddp client in production and recommend it.
Reply all
Reply to author
Forward
0 new messages