Taking quotes on building LC external for RethinkDB

Alex Tweedly alex at tweedly.net
Sun Aug 6 20:20:02 EDT 2017



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?
>
Alex.




More information about the use-livecode mailing list