Today I talked about ArangoDB Foxx at our local JavaScript Usergroup Cologne JS. Foxx is an easy way to define APIs directly on top of ArangoDB – no middleman like Rails required.
API creation – not a Jack of all trades • It is desi ned for front end developers: Use JavaScript, you already know that (without runnin into callback hell *cou h* Node.js)
of the model • save for example expects an instance of the model • firstExample finds a suitable dataset and returns it as an instance of the model • Other methods: remove, replace, update…
ActiveRecord • In a lot of cases you can use the standard Repository or Model and don‘t need your own • It‘s reat for testin • You can mock the collection and the model prototype to test your Repository • You don‘t need to mock anythin to test your model
The Noun Project • Browser icon desi ned by Fernando Vasconcelos from The Noun Project • Lo os from Node.js, Ruby on Rails, Djan o and Symfony from the respective projects • All other icons are from Font Awesome