DDP Hooks

172 views
Skip to first unread message

Tinco Andringa

unread,
Feb 24, 2015, 6:50:53 PM2/24/15
to meteo...@googlegroups.com
Hi,

I'm currently implementing a DDP server in Ruby, and I've got all the stuff documented here working: 


But in the Readme.md there's a bunch of extra features documented. The ones that I'm most interested in are authentication hooks and lifecycle hooks. I'd want to offer those features in my library as well, but I'm having a hard time finding any more documentation on them. Is there a list of them somewhere? I'm especially interested in if there's some kind of convention for authentication I should have support for.

Cheers,
Tinco

p.s.: I have the main repo here: https://github.com/d-snp/ruby-ddp-server and a database integration here: https://github.com/d-snp/ruby-ddp-server-rethinkdb, the current interface is just a quick stab at it, not at all sure about it as I've got not much experience with meteor.

Arunoda Susiripala

unread,
Feb 24, 2015, 7:43:01 PM2/24/15
to meteo...@googlegroups.com
Authentication and other stuff are not in the DDP spec. It's Meteor specific stuff. 
You need to build them on top of the DDP.


Anyway: Very good work.

Seems like we are getting to see a lot of DDP servers. Which is very nice.



--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-core...@googlegroups.com.
To post to this group, send email to meteo...@googlegroups.com.
Visit this group at http://groups.google.com/group/meteor-core.
To view this discussion on the web visit https://groups.google.com/d/msgid/meteor-core/90e104f8-828f-42e5-8f09-22b158c7a954%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tinco Andringa

unread,
Feb 25, 2015, 4:40:50 PM2/25/15
to meteo...@googlegroups.com
Thanks!

What do you mean by a lot of DDP servers? I googled a bit and I didn't see any other DDP server side implementations.

I understand it's not part of the protocol, but I thought Meteor probably has some best practices going on for authentication and it would be nice if there was something that could for example make Meteor-Accounts work pretty well out of the box with this.

I'm doing some research, only have about an hour per day for this so small steps :)

Cheers,
Tinco


--
You received this message because you are subscribed to a topic in the Google Groups "meteor-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-core/Jnz6_9bAS3s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-core...@googlegroups.com.

To post to this group, send email to meteo...@googlegroups.com.
Visit this group at http://groups.google.com/group/meteor-core.

Arunoda Susiripala

unread,
Feb 25, 2015, 5:31:49 PM2/25/15
to meteo...@googlegroups.com
Actually, most of servers not yet public yet. (I guess)

Right now, it's only for methods. But we'll add pubsub around this week.

On Thu, Feb 26, 2015 at 3:10 AM Tinco Andringa <ma...@tinco.nl> wrote:
Thanks!

What do you mean by a lot of DDP servers? I googled a bit and I didn't see any other DDP server side implementations.

I understand it's not part of the protocol, but I thought Meteor probably has some best practices going on for authentication and it would be nice if there was something that could for example make Meteor-Accounts work pretty well out of the box with this.

I'm doing some research, only have about an hour per day for this so small steps :)

Cheers,
Tinco


On Wed, Feb 25, 2015 at 1:42 AM, Arunoda Susiripala <aru...@meteorhacks.com> wrote:
Authentication and other stuff are not in the DDP spec. It's Meteor specific stuff. 
You need to build them on top of the DDP.


Anyway: Very good work.

Seems like we are getting to see a lot of DDP servers. Which is very nice.



On Wed Feb 25 2015 at 5:20:54 AM Tinco Andringa <ma...@tinco.nl> wrote:
Hi,

I'm currently implementing a DDP server in Ruby, and I've got all the stuff documented here working: 


But in the Readme.md there's a bunch of extra features documented. The ones that I'm most interested in are authentication hooks and lifecycle hooks. I'd want to offer those features in my library as well, but I'm having a hard time finding any more documentation on them. Is there a list of them somewhere? I'm especially interested in if there's some kind of convention for authentication I should have support for.

Cheers,
Tinco

p.s.: I have the main repo here: https://github.com/d-snp/ruby-ddp-server and a database integration here: https://github.com/d-snp/ruby-ddp-server-rethinkdb, the current interface is just a quick stab at it, not at all sure about it as I've got not much experience with meteor.

--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-core+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "meteor-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-core/Jnz6_9bAS3s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-core+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-core+unsubscribe@googlegroups.com.

To post to this group, send email to meteo...@googlegroups.com.
Visit this group at http://groups.google.com/group/meteor-core.
Reply all
Reply to author
Forward
0 new messages