I think it would be awesome if DDP became a standard like REST - basically you can expose your live stream of data over DDP with any of the server implementations and a variety of clients can consume it.
Yeah I think this is a place where MDG could exercise some direction to focus development on a single best server/client implementation for each language?
I don’t know if that was the initial intention of DDP, but I don’t like the idea of using DDP for everything (including binary streams of video or music).
DDP is good at synchronizing the state of JSON documents and executing RPCs. I am kinda sceptical of using DDP for everything.
I agree - I think it’s good as an update-pushing version of REST. I can see it replacing webhooks and similar stuff more than I can see it replacing binary data streams.
I think it would be great if we came up with some app examples and do someone should do a talk at OTHER meetups like for Go (looking at you @arunoda ;)).
We tried to build a DDP server in Java once, and it proved kind of non-obvious because we realised the only way to infer how a DDP server would work is by looking at the client.
So it would be nice to have a document that helps someon who wants to write a DDP server get started. Then we could write a bunch of them for our use cases, and use Meteor for either the client or the server depending on the situation.
I think the #1 thing that would help people is a testing program - if you write a server and it passes the test, then it’s definitely a good DDP server.