Movatterモバイル変換


[0]ホーム

URL:


SlideShare a Scribd company logo

FOXX - a Javascript application framework on top of ArangoDB

22 likes35,864 views
ArangoDB Database
ArangoDB Database

This document discusses ArangoDB Foxx, a feature of ArangoDB that allows developers to define REST APIs and build single page web applications directly against the ArangoDB database using JavaScript. Foxx allows defining controllers with routes, parameterizing routes, generating documentation, and structuring models. It aims to provide a streamlined way for front-end developers to interface directly with the database without overhead typically involved in separating concerns across servers. The document outlines several Foxx features and capabilities including authentication, asset handling, and sharing code through a repository.

1 of 33
Downloaded 75 times
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
RWTH Aachen, Computer Science Student on branch mastertriAGENS GmbH, Developermoonglum moonbeamlabsby Lucas DohmenCreate APIs on your databaseArangoDB Foxx
Single PageWeb Applications
The Idea• What if we could talk tothe database directly?• It would only need an API• What if we could definethis API in JavaScript?
Single PageWeb Applications
Single PageWeb ApplicationsThis doesn‘t mean its a Rails/… Killer
Client Server DB
Client Server DBwith Foxx
Who is that guy?• ArangoDB Core Team• ArangoDB Foxx &Ruby Adapter• Student on the masterbranch• hacken.in & nerdkun.de
Who is that guy?• ArangoDB Core Team• ArangoDB Foxx &Ruby Adapter• Student on the masterbranch• hacken.in & nerdkun.de/(~() ) /_/( _-----_(@ @)(  //|/--| V" " " "
What is ?• Free and Open Source…• … Document and Graph Store…• … with embedded JavaScript…• … and an amazing query languageMore aboutArangoDB atRuby UG Munichnext week
/(~() ) /_/( _-----_(@ @)(  //|/--| V" " " "
• …a feature of ArangoDB 1.4 (currently inalpha, release: End of September)• …an easy way to define REST APIs on top ofArangoDB• … a toolset for developing your single pageweb application• … not requiring any special code on the clientside – use it with Backbone, Ember, Angular…Foxx is…
Why another solution?• ArangoDB Foxx is streamlined for APIcreation – not a Jack of all trades• There‘s no communication overheadbetween (serverside) application anddatabase• It is designed for front end developers: UseJavaScript, you already know that
Foxx.Controller
Foxx = require("org/arangodb/foxx");controller = new Foxx.Controller(appContext);controller.get("/users", function(req, res) {res.json({hello: "world"});});
Parameterizethe routes• You may want a route like `users/:id`…• …and then access the value of `id` easily
Foxx = require("org/arangodb/foxx");controller = new Foxx.Controller(appContext);controller.get("/users ", function(req, res) {res.json({hello:});});req.params("name");/:name
• In your Foxx.Controller you describe yourroutes• But your application can consist of multipleFoxx.Controllers• … and you also want to deliver assets andfilesManifest.json
{"name": "my_website","version": "1.2.1","description": "My Website with a blog and a shop","thumbnail": "images/website-logo.png","controllers": {"/blog": "apps/blog.js","/shop": "apps/shop.js"},"assets": {"application.js": {"files": ["vendor/jquery.js","assets/javascripts/*"]}}}
More• Define a setup and teardown function tocreate and delete collections• Define lib to set a base path for your requirestatements• Define files to deliver binary data unaltered
Documentationas a first class citizen
Annotate your Routes• For Documentation• But it is also used for validation
controller.get("/users/:name", function(req, res) {res.json({hello: req.params("name");});}).pathParam("name", {description: "Name of the User",dataType: "string"});/** What's my name?** This route knows it.*/
Automatically generateSwagger Docs
Models & Repositories• Foxx also helps you structure the M part ofMVC• We don‘t have time for that today• But you can see a demonstration in ourdemo app• … or come to me later ;)
Foxx Apps Repo• Look at demo applications• Install components from a central repository• Share your ideas
Foxx Demo App:Aye-Aye
Foxx Authenticationhttps://github.com/moonglum/foxx_authentication
Foxx:The Future
A Glance intothe Future• Configure filters for your assets:• UglifyJS2• Later: Coffee, Sass, Client Templates…• Configurable Logging• Yo Generator
Thanks• Please try ArangoDB Foxx• We to get feedback
Contact• lucas@arangodb.org• @moonbeamlabs on Twitter
Thanks• Database icon designed by Romeo Barretofrom The Noun Project• Browser icon designed by FernandoVasconcelos from The Noun Project• Logos from Node.js, Ruby on Rails, Djangoand Symfony from the respective projects• All other icons are from Font Awesome
Ad

Recommended

PDF
Manual de hidrologia mtc
ocampo369
 
PDF
Keep Calm And Serilog Elasticsearch Kibana on .NET Core - 132. Spotkanie WG.N...
Maciej Szymczyk
 
ODP
Ceph Day Melbourne - Troubleshooting Ceph
Ceph Community
 
DOCX
Ensayos de suelos
Luis Becerra
 
PDF
Linux-HA with Pacemaker
Kris Buytaert
 
PPTX
Accelerating query processing with materialized views in Apache Hive
DataWorks Summit
 
PDF
Building Stream Infrastructure across Multiple Data Centers with Apache Kafka
Guozhang Wang
 
PPTX
Caching solutions with Redis
George Platon
 
PDF
Planeación y Programación de Proyectos.
Estefany Aracena
 
PDF
Cassandra at Instagram 2016 (Dikang Gu, Facebook) | Cassandra Summit 2016
DataStax
 
PDF
Influxdb and time series data
Marcin Szepczyński
 
PDF
A Deep Dive into Stateful Stream Processing in Structured Streaming with Tath...
Databricks
 
PDF
13.analisis del hidrograma
Fátima Lds
 
PDF
Fundamento de diseño sismoresistente
Overallhealth En Salud
 
PDF
Braja das libro de ejercicios resueltos de mecánica de suelos i
xforce89
 
PDF
QuestDB: ingesting a million time series per second on a single instance. Big...
javier ramirez
 
PDF
Curva masa de volumenes acumulados
Tomassantiagohanccoc
 
PDF
The Art of Database Experiments – PostgresConf Silicon Valley 2018 / San Jose
Nikolay Samokhvalov
 
PDF
Mecanica fluidos cap04
Read, Carlos (C.) Carlos
 
PPT
Seminar Presentation Hadoop
Varun Narang
 
PPTX
Introduction to YARN and MapReduce 2
Cloudera, Inc.
 
PPTX
Vías de Comunicación: Puentes
Josué A. Sanez C.
 
ODP
Presto
Knoldus Inc.
 
PPT
Cassandra Data Model
ebenhewitt
 
PPTX
Estabilidad-Taludes-Presa-de-Relaves.pptx
Luis Haro
 
PDF
High Availability With DRBD & Heartbeat
Chris Barber
 
PPTX
Keynote: Apache HBase at Yahoo! Scale
HBaseCon
 
PPTX
Determinación de la línea de corriente superior
Martín Luna Mercado
 
PDF
ArangoDB – A different approach to NoSQL
ArangoDB Database
 
ODP
Extreme JavaScript Minification and Obfuscation
Sergey Ilinsky
 

More Related Content

What's hot(20)

PDF
Planeación y Programación de Proyectos.
Estefany Aracena
 
PDF
Cassandra at Instagram 2016 (Dikang Gu, Facebook) | Cassandra Summit 2016
DataStax
 
PDF
Influxdb and time series data
Marcin Szepczyński
 
PDF
A Deep Dive into Stateful Stream Processing in Structured Streaming with Tath...
Databricks
 
PDF
13.analisis del hidrograma
Fátima Lds
 
PDF
Fundamento de diseño sismoresistente
Overallhealth En Salud
 
PDF
Braja das libro de ejercicios resueltos de mecánica de suelos i
xforce89
 
PDF
QuestDB: ingesting a million time series per second on a single instance. Big...
javier ramirez
 
PDF
Curva masa de volumenes acumulados
Tomassantiagohanccoc
 
PDF
The Art of Database Experiments – PostgresConf Silicon Valley 2018 / San Jose
Nikolay Samokhvalov
 
PDF
Mecanica fluidos cap04
Read, Carlos (C.) Carlos
 
PPT
Seminar Presentation Hadoop
Varun Narang
 
PPTX
Introduction to YARN and MapReduce 2
Cloudera, Inc.
 
PPTX
Vías de Comunicación: Puentes
Josué A. Sanez C.
 
ODP
Presto
Knoldus Inc.
 
PPT
Cassandra Data Model
ebenhewitt
 
PPTX
Estabilidad-Taludes-Presa-de-Relaves.pptx
Luis Haro
 
PDF
High Availability With DRBD & Heartbeat
Chris Barber
 
PPTX
Keynote: Apache HBase at Yahoo! Scale
HBaseCon
 
PPTX
Determinación de la línea de corriente superior
Martín Luna Mercado
 
Planeación y Programación de Proyectos.
Estefany Aracena
 
Cassandra at Instagram 2016 (Dikang Gu, Facebook) | Cassandra Summit 2016
DataStax
 
Influxdb and time series data
Marcin Szepczyński
 
A Deep Dive into Stateful Stream Processing in Structured Streaming with Tath...
Databricks
 
13.analisis del hidrograma
Fátima Lds
 
Fundamento de diseño sismoresistente
Overallhealth En Salud
 
Braja das libro de ejercicios resueltos de mecánica de suelos i
xforce89
 
QuestDB: ingesting a million time series per second on a single instance. Big...
javier ramirez
 
Curva masa de volumenes acumulados
Tomassantiagohanccoc
 
The Art of Database Experiments – PostgresConf Silicon Valley 2018 / San Jose
Nikolay Samokhvalov
 
Mecanica fluidos cap04
Read, Carlos (C.) Carlos
 
Seminar Presentation Hadoop
Varun Narang
 
Introduction to YARN and MapReduce 2
Cloudera, Inc.
 
Vías de Comunicación: Puentes
Josué A. Sanez C.
 
Presto
Knoldus Inc.
 
Cassandra Data Model
ebenhewitt
 
Estabilidad-Taludes-Presa-de-Relaves.pptx
Luis Haro
 
High Availability With DRBD & Heartbeat
Chris Barber
 
Keynote: Apache HBase at Yahoo! Scale
HBaseCon
 
Determinación de la línea de corriente superior
Martín Luna Mercado
 

Viewers also liked(12)

PDF
ArangoDB – A different approach to NoSQL
ArangoDB Database
 
ODP
Extreme JavaScript Minification and Obfuscation
Sergey Ilinsky
 
PDF
OrientDB: Unlock the Value of Document Data Relationships
Fabrizio Fortino
 
PDF
OrientDB & Node.js Overview - JS.Everywhere() KW
gmccarvell
 
ODP
Grafos - Uma abordagem divertida - Latinoware 2014
Christiano Anderson
 
PPTX
Introdução ao neo4j
Jhonathan de Souza Soares
 
PDF
An agile approach to cloud infrastructure
Richard Seroter
 
PPTX
The Open Source Messaging Landscape
Richard Seroter
 
PDF
Deep Dive on ArangoDB
Max Neunhöffer
 
ODP
OrientDB for real & Web App development
Luca Garulli
 
PDF
OrientDB Distributed Architecture v2.0
Orient Technologies
 
PDF
Data Modeling with Neo4j
Neo4j
 
ArangoDB – A different approach to NoSQL
ArangoDB Database
 
Extreme JavaScript Minification and Obfuscation
Sergey Ilinsky
 
OrientDB: Unlock the Value of Document Data Relationships
Fabrizio Fortino
 
OrientDB & Node.js Overview - JS.Everywhere() KW
gmccarvell
 
Grafos - Uma abordagem divertida - Latinoware 2014
Christiano Anderson
 
Introdução ao neo4j
Jhonathan de Souza Soares
 
An agile approach to cloud infrastructure
Richard Seroter
 
The Open Source Messaging Landscape
Richard Seroter
 
Deep Dive on ArangoDB
Max Neunhöffer
 
OrientDB for real & Web App development
Luca Garulli
 
OrientDB Distributed Architecture v2.0
Orient Technologies
 
Data Modeling with Neo4j
Neo4j
 
Ad

Similar to FOXX - a Javascript application framework on top of ArangoDB(20)

PDF
Rapid API Development ArangoDB Foxx
Michael Hackstein
 
PDF
Building a spa_in_30min
ArangoDB Database
 
PDF
Building a spa_in_30min
Michael Hackstein
 
PDF
Introduction to Foxx by our community member Iskandar Soesman @ikandars
ArangoDB Database
 
PDF
Creating data centric microservices
ArangoDB Database
 
PDF
MEAN Stack WeNode Barcelona Workshop
Valeri Karpov
 
PDF
Hotcode 2013: Javascript in a database (Part 2)
ArangoDB Database
 
PDF
Basic API Creation with Node.JS
Azilen Technologies Pvt. Ltd.
 
PDF
Beginning MEAN Stack
Rob Davarnia
 
PDF
Multi model-databases
ArangoDB Database
 
PDF
Multi model-databases
Michael Hackstein
 
PPTX
Create Rest API in Nodejs
Irfan Maulana
 
PDF
ArangoDB
ArangoDB Database
 
PDF
Backend Basic in nodejs express and mongodb PPT.pdf
sadityaraj353
 
PDF
Backbone using Extensible Database APIs over HTTP
Max Neunhöffer
 
PPTX
Unit IV database intergration with node js
Rahul Borate
 
PDF
Escaping the yellow bubble - rewriting Domino using MongoDb and Angular
Mark Leusink
 
PPTX
Node js crash course session 5
Abdul Rahman Masri Attal
 
PDF
TDD a REST API With Node.js and MongoDB
Valeri Karpov
 
Rapid API Development ArangoDB Foxx
Michael Hackstein
 
Building a spa_in_30min
ArangoDB Database
 
Building a spa_in_30min
Michael Hackstein
 
Introduction to Foxx by our community member Iskandar Soesman @ikandars
ArangoDB Database
 
Creating data centric microservices
ArangoDB Database
 
MEAN Stack WeNode Barcelona Workshop
Valeri Karpov
 
Hotcode 2013: Javascript in a database (Part 2)
ArangoDB Database
 
Basic API Creation with Node.JS
Azilen Technologies Pvt. Ltd.
 
Beginning MEAN Stack
Rob Davarnia
 
Multi model-databases
ArangoDB Database
 
Multi model-databases
Michael Hackstein
 
Create Rest API in Nodejs
Irfan Maulana
 
Backend Basic in nodejs express and mongodb PPT.pdf
sadityaraj353
 
Backbone using Extensible Database APIs over HTTP
Max Neunhöffer
 
Unit IV database intergration with node js
Rahul Borate
 
Escaping the yellow bubble - rewriting Domino using MongoDb and Angular
Mark Leusink
 
Node js crash course session 5
Abdul Rahman Masri Attal
 
TDD a REST API With Node.js and MongoDB
Valeri Karpov
 
Ad

More from ArangoDB Database(20)

PPTX
ATO 2022 - Machine Learning + Graph Databases for Better Recommendations (3)....
ArangoDB Database
 
PPTX
Machine Learning + Graph Databases for Better Recommendations V2 08/20/2022
ArangoDB Database
 
PPTX
Machine Learning + Graph Databases for Better Recommendations V1 08/06/2022
ArangoDB Database
 
PPTX
ArangoDB 3.9 - Further Powering Graphs at Scale
ArangoDB Database
 
PDF
GraphSage vs Pinsage #InsideArangoDB
ArangoDB Database
 
PDF
Webinar: ArangoDB 3.8 Preview - Analytics at Scale
ArangoDB Database
 
PDF
Graph Analytics with ArangoDB
ArangoDB Database
 
PDF
Getting Started with ArangoDB Oasis
ArangoDB Database
 
PDF
Custom Pregel Algorithms in ArangoDB
ArangoDB Database
 
PPTX
Hacktoberfest 2020 - Intro to Knowledge Graphs
ArangoDB Database
 
PDF
A Graph Database That Scales - ArangoDB 3.7 Release Webinar
ArangoDB Database
 
PDF
gVisor, Kata Containers, Firecracker, Docker: Who is Who in the Container Space?
ArangoDB Database
 
PDF
ArangoML Pipeline Cloud - Managed Machine Learning Metadata
ArangoDB Database
 
PDF
ArangoDB 3.7 Roadmap: Performance at Scale
ArangoDB Database
 
PDF
Webinar: What to expect from ArangoDB Oasis
ArangoDB Database
 
PDF
ArangoDB 3.5 Feature Overview Webinar - Sept 12, 2019
ArangoDB Database
 
PDF
3.5 webinar
ArangoDB Database
 
PDF
Webinar: How native multi model works in ArangoDB
ArangoDB Database
 
PDF
An introduction to multi-model databases
ArangoDB Database
 
PDF
Running complex data queries in a distributed system
ArangoDB Database
 
ATO 2022 - Machine Learning + Graph Databases for Better Recommendations (3)....
ArangoDB Database
 
Machine Learning + Graph Databases for Better Recommendations V2 08/20/2022
ArangoDB Database
 
Machine Learning + Graph Databases for Better Recommendations V1 08/06/2022
ArangoDB Database
 
ArangoDB 3.9 - Further Powering Graphs at Scale
ArangoDB Database
 
GraphSage vs Pinsage #InsideArangoDB
ArangoDB Database
 
Webinar: ArangoDB 3.8 Preview - Analytics at Scale
ArangoDB Database
 
Graph Analytics with ArangoDB
ArangoDB Database
 
Getting Started with ArangoDB Oasis
ArangoDB Database
 
Custom Pregel Algorithms in ArangoDB
ArangoDB Database
 
Hacktoberfest 2020 - Intro to Knowledge Graphs
ArangoDB Database
 
A Graph Database That Scales - ArangoDB 3.7 Release Webinar
ArangoDB Database
 
gVisor, Kata Containers, Firecracker, Docker: Who is Who in the Container Space?
ArangoDB Database
 
ArangoML Pipeline Cloud - Managed Machine Learning Metadata
ArangoDB Database
 
ArangoDB 3.7 Roadmap: Performance at Scale
ArangoDB Database
 
Webinar: What to expect from ArangoDB Oasis
ArangoDB Database
 
ArangoDB 3.5 Feature Overview Webinar - Sept 12, 2019
ArangoDB Database
 
3.5 webinar
ArangoDB Database
 
Webinar: How native multi model works in ArangoDB
ArangoDB Database
 
An introduction to multi-model databases
ArangoDB Database
 
Running complex data queries in a distributed system
ArangoDB Database
 

Recently uploaded(20)

PDF
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
PDF
"Effect, Fiber & Schema: tactical and technical characteristics of Effect.ts"...
Fwdays
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PPTX
UI5Con 2025 - Beyond UI5 Controls with the Rise of Web Components
Wouter Lemaire
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
Novus-Safe Pro: Brochure-What is Novus Safe Pro?.pdf
Novus Hi-Tech
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PDF
How Current Advanced Cyber Threats Transform Business Operation
Eryk Budi Pratama
 
PPTX
Lifting and Rigging Safety AQG-2025-2.pptx
farrukhkhan658034
 
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
PDF
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
PDF
HydITEx corporation Booklet 2025 English
Георгий Феодориди
 
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
"Effect, Fiber & Schema: tactical and technical characteristics of Effect.ts"...
Fwdays
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
Top Managed Service Providers in Los Angeles
Captain IT
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
UI5Con 2025 - Beyond UI5 Controls with the Rise of Web Components
Wouter Lemaire
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
Novus-Safe Pro: Brochure-What is Novus Safe Pro?.pdf
Novus Hi-Tech
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
How Current Advanced Cyber Threats Transform Business Operation
Eryk Budi Pratama
 
Lifting and Rigging Safety AQG-2025-2.pptx
farrukhkhan658034
 
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
HydITEx corporation Booklet 2025 English
Георгий Феодориди
 

FOXX - a Javascript application framework on top of ArangoDB


[8]ページ先頭

©2009-2025 Movatter.jp