Re:ArangoDB 3.0 Release – A Solid Ground to Scale
by buckbova on Thursday June 23, 2016 @12:10PM
(#11962092)
So the expectation is for client applications to directly connect to the API. But of course that's not required.
[ Parent
| on HN ]
Re:ArangoDB 3.0 Release – A Solid Ground to Scale
by don71 on Thursday June 23, 2016 @12:23PM
(#11962223)
You are right that that is not required. That ArangoDB speaks HTTP doesn't mean it has to be exposed to the browser.
You can use Foxx to host your entire server-side application inside ArangoDB in some cases but in our experience, the best approach is having a middleground where the data-intensive server-side code lives in Foxx services and the client-facing part (e.g. server-side rendering) exists outside of it.
Foxx offers you the option to put backend logic directly inside the database; it's not an all-or-nothing decision.