API Reference nova v0.8.1

Modules

Interface module for nova
Nova application behaviour callback (Not used)

nova_cache is a basic in-memory cache that uses ETS as backend. When a cache is initialized a process is spawned and associated for that particular cache. This process is kept alive through out the whole life time of the cache and is the owner of the ETS table that is used for storage.

This module is responsible for all the different return types a controller have. Nova is constructed in such way that it's really easy to extend it by using handlers. A handler is basically a module consisting of a function of arity 4. We will show an example of this.

Plugins can be run at two different times; either in the beginning or at the end of a request. They can modify both the actual request or the nova-state. A plugin is implemented with the nova_plugin behaviour and needs to implement three different functions: pre_request/2, post_request/2 and plugin_info/0.

Nova supervisor
Callback controller for handling websockets