Architecture - abseabse/GShD GitHub Wiki

First I need to create a simple basic structure. I want it to be as simple as it can be.

So, main files will be:

  • simpleserv.py based on Python standard module http.server;
  • index.html as a basic start file;
  • database.db as an sqlite database for the data;
  • database_controller.py as module where all the functions to manipulate database are placed;
  • cgi-bin/ as a directory with all the CGI scripts. Want to use JavaSrcipt, but maybe will use Python.

secondary files will be:

  • tests.py as a test module for other python modules;
  • test_database.db as a test database.