![]() In ArangoDB, TDD is in action all day and I am looking forward to improving our front-end testing even further using these awesome tools.įurthermore several talks focussing on front-end development have been given, e.g. I did really like to see that TDD is reaching the front-end developers finally.Ī lot of useful tools for this have been presented by James Shore, Bernard Kobos and Sebastian Golasch. It was a really nice & informative conference, thanks to all people that made it possible. I have been one of the lucky attendants of scotland.js in Edinburgh recently. The arangojs 4 alpha is available on npm using the alpha dist-tag: ![]() Var aqlQuery = require('arangojs').aqlQuery Return new Promise(function(resolve, reject) )Īnd finally arangojs 4 will provide the aqlQuery template string handler that will also be available in ArangoDB 2.7, to allow you to write AQL queries more easily in ES2015 environments or when using Babel: this topic has already been covered in another Stackoverflow article: ArangoDB Foxx and Clojure script. With two helper functions and promises it is straight forward to implement a function to retrieve all followers of an user. You should check out the arangodb-typescript-setup library and the associated article Using Typescript for programming ArangoDB FOXX services. The github driver has a function to get all followers. The Foxx framework which is built into ArangoDB allows you to extend ArangoDB with JavaScript and let’s you define your own Web APIs for ArangoDB. The following source code can be found on github. It should be possible to use any implementation. The most popular one – according to NPM – was promises. In addition services can have other services as dependencies. There is a list of modules from the node JS community which are available to each Foxx service. The zip is sent up to ArangoDB and then the lifecycle scripts run. There are a lot of promise libraries out there. Normally when you deploy a Foxx microservice you’re providing a directory with the files or a zip. What makes Foxx powerful is that it is able. A github crawler seemed like a good side-project, especially because the node-github driver follows the same conventions as the Javascript driver. Foxx is a MicroService offering, allowing you to host microservices running right inside the ArangoDB database. It follows the standard callback pattern with a callback using err and res. The new Javascript driver no longer imposes any promises implementation.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |