Architecture

Mote itself never stores any data - rather, everything is inferred from a directory structure and metadata files where applicable. This makes it possible to store pattern libraries across a wide range of external systems like Github and even a plain file server.

Its aim is to deliver UI to as many external systems as possible by adhering to existing standards.

_images/architecture.png

Rendering

Server side

Mote supports native server side rendering for Django sites because Mote itself is written in Django. Non-Django systems, like Wordpress, can use Mote to render and deliver components over a RESTful API.

_images/server-side-rendering.png

Client side

Mote supports client side rendering, typically from static HTML files loaded into a browser. In this case the Javascript API is the most efficient method to access Mote services.

_images/client-side-rendering.png