Skip to content
Anders Lowinger edited this page Jan 25, 2014 · 5 revisions

Basium contains two major functions, ORM and a Web framework. They can be used separate or together. The ORM both works with a local database, and using the Web framework over a HTTP REST API to a remote database.

This gives many different ways to deploy Basium, here are some of them described.

Local ORM

The application using ORM and the database is directly communicating with each other. It is possible to have the database non-local, but from the Basium ORM standpoint this is transparent.

Web framework

A server hands out Web pages, using static and dynamically generated content. Any .py file is included as a module and executed. The output is returned to the browser.

Web framework, with ORM

A server hands out Web pages, using static and dynamically generated content. Any .py file is included as a module and executed. The output is returned to the browser. The py files uses the basium ORM to read/write data to a local database.

Remote ORM

The application (client) uses the ORM with the JSON to communicate with a server over a HTTP REST API. The server uses the Web Framework with a dynamic web page, that implements the API matching the clients API.

Clone this wiki locally