Fire.js is a framework that uses JSON documents to orchestrate asynchronous tasks called expressions. Expressions encapsulate reusable asynchronous code and eliminate the need for JavaScript callbacks. The framework compiles JSON documents into JavaScript code that runs asynchronously under the hood. It provides a structured and synchronous programming model. A demo shows creating a simple contacts API using Fire.js with MongoDB and expressions to POST and GET contacts.
5. Demo Creating a simple Contacts Book API with fire-web, mongodb-expressions and Cloudfoundry.com Create Contact POST /contacts List Contacts GET /contacts