You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Section 2 (the query) needs to be expanded. Right now it's as long as section 1 (the handshake), but the mechanics are significantly more complicated, and we let people guess a lot. In particular, we should have a few more progressively more complex examples (start with r.expr(1) and show how to use lambdas and such), and explain how the json protocol related to protobufs a bit better. For example, we link to the protobuf spec, but don't even say that you're supposed to use the integer values defined there explicitly.
Add a section at the end that gives people some friendly notion on how to get started. For example, we should explicitly link to the official drivers, and a few community drivers source code.
I think there's some confusion about what this document is supposed to do. Is this supposed to document ReQL as a protocol, or document how to translate between the protobuf format driver developers are currently using and the JSON protocol? I wrote it to do the second; doing the first will produce a much longer document (since it will also have to include all the documentation in ql2.proto).
Write a new driver — no ReQL driver for your favorite language? Help write one! Hop on the mailing list or #rethinkdb on freenode, and we'll walk you through the driver protocol API.
Activity
mlucy commentedon Jun 13, 2014
To quote my comment in #358:
I think there's some confusion about what this document is supposed to do. Is this supposed to document ReQL as a protocol, or document how to translate between the protobuf format driver developers are currently using and the JSON protocol? I wrote it to do the second; doing the first will produce a much longer document (since it will also have to include all the documentation in ql2.proto).
neumino commentedon Jun 13, 2014
See the few comments I left in the pull requests:
https://github.com/rethinkdb/docs/pull/358/files
coffeemug commentedon Jun 13, 2014
👍 Those comments are really good. We should address those before we close this issue.
mlucy commentedon Feb 21, 2015
Unassigning myself because I'm not sure what I'm supposed to be doing on this issue. I think this eventually made it onto the site, right?
coffeemug commentedon Feb 22, 2015
Yes, this is on the site. We should write a separate tutorial at some point that walks people step by step on how to create a sample driver.
danielmewes commentedon Feb 23, 2015
From what I can see @neumino's comments from here https://github.com/rethinkdb/docs/pull/358/files are still not reflected in the docs. So we should keep this open.
Another thing I've just noticed is that we don't link to the new document from http://rethinkdb.com/community/ (not sure if this is going to be redone anyway for 2.0? @mglukhovsky?).
still just links to the ql2.proto file.
http://rethinkdb.com/docs/install-drivers/ links to the right document (http://rethinkdb.com/docs/driver-spec/) correctly. I think the Community page should also link to that.
mglukhovsky commentedon Feb 24, 2015
Agreed. The community page is being reworked, but you're correct that we should link to that document.
danielmewes commentedon Aug 30, 2016
These have been improved a lot in the meantime.