1
0
Fork 0

Merge pull request #649 from luebbert42/devel

Paragraph on Foxx added
This commit is contained in:
Jan Steemann 2013-10-30 13:42:02 -07:00
commit 8b12b7aa91
1 changed files with 12 additions and 7 deletions

View File

@ -19,6 +19,16 @@ please continue.
Overview Overview
======== ========
An application built with Foxx is written in JavaScript and deployed to
ArangoDB directly. ArangoDB serves this application, you do not need a
separate application server.
Think of an Foxx app as a typical web app similar to any other web app using
other technologies. A Foxx app provides one or more URLs, which can either
be accessed directly from the browser or from a backend application written e.g. in
Ruby or C#. A Foxx app has a routing, accesses data (in ArangoDB), manipulates data,
it can deliver static HTML pages, CSS, Images and much more.
The typical request to a Foxx application will work as follows (only conceptually, The typical request to a Foxx application will work as follows (only conceptually,
a lot of the steps are cached in reality): a lot of the steps are cached in reality):
@ -43,13 +53,8 @@ methods.
Your first Foxx app in 5 minutes - a step-by-step tutorial Your first Foxx app in 5 minutes - a step-by-step tutorial
========================================================== ==========================================================
An application built with Foxx is written in JavaScript and deployed to Let's build an application that sends a plain-text response
ArangoDB directly. ArangoDB serves this application, you do not need a
separate application server.
So given you want to build an application that sends a plain-text response
"Hello YourName!" for all requests to `/dev/my_app/hello/YourName`. "Hello YourName!" for all requests to `/dev/my_app/hello/YourName`.
How would you achieve that with Foxx?
First, create a directory `apps` somewhere in your filesystem. This will be First, create a directory `apps` somewhere in your filesystem. This will be
the Foxx application base directory for your database instance. Let's assume the Foxx application base directory for your database instance. Let's assume