-
Notifications
You must be signed in to change notification settings - Fork 1
Deployment
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.
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.
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.
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.
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.