Plugin Runtime Environment

Plugins most plugins are dynamically loaded at server startup time for wiki-server or on demand while browsing pages in wiki-client. Here we describe typical interactions for both of these environments.

See Make Plugin Script to start with a working plugin.

# Client

Client-side plugins are typically written in CoffeeScript and built into downloadable javascript by Grunt plugins.

# Server

Server-side plugins are optional and paired with downloadable client-side plugins. When present they are launched as the Express application starts for each site in a factory at which point they register the routes they will handle.