On 07/08/2017 00:39, Richard Gaskin via use-livecode wrote:
Hello Tom -

ReThinkDB seems like a good project. I'm assuming this is for client-server over the Internet, yes?

If so, do you plan on connecting the DB directly to the open Internet, or use a middleware supplying a REST API for clients?

i would presume not. The USP of RethinkDB (at least from my very quick skim over the website :-) was the 'push' notification of updates to the clients - which would be lost if you used a 'traditional' REST API from the end-clients to a server.
If the latter, you'd only need a means of connecting LC directly to the DB if you were using LC Server. But since LC Server is a CGI, and since one of the benefits of using ReThinkDB is performance, if you used PHP as your middleware you'd be able to use the existing APIs for that language on the server, and your LC-based clients would just call your REST API via GET and POST.

If this is not helpful, what other considerations might we take into account to explore options for efficient connections with that DB?


use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to