Giter VIP home page Giter VIP logo

appserver's Introduction

Web App Server

A modular Python web application server tested on both python2 and python3.

On client side the server is using Brython and Bootstrap 3.

Over 95% of copyright credits should go to Marcel Hellkamp, the creator of bottlepy, also to the creators of Beaker Cache and Session Library, to the creators of SQLAlchemy and to the creators of Brython.

Install and Config

Code samples and recipes

Features or Intended Design Rules

  • The server is designed to be as simple as possible.

  • The server load and use modules from extensions folder.

  • The server itself don't use SQL, but load and call module auth, which use SQL.

  • The auth module provide login, logout and readonly access to groups for other modules. A tipical example: module wiki use in config access module, admins access and publishers access which get the group list from auth module.

  • The adm module allow admins to edit modules config, change description of modules and add modules to extensions folder from a list of templates.

  • The login process, if succeed, create a session cookie with user name, user id, user groups membership and so on. The group list stored in session cookie is used by other modules to check if user has access.

  • The server warn user that is using cookies, according to an European Law from May 2011, and ask for confirmation.

  • The server can be used with zero cookies, but user will not be able to authenticate and will have limited access.

  • The session cookie is encrypted with fixed keys (useful for cluster of servers) or randomly generated keys at server startup (if random_session_keys is enabled in server config).

  • The config of modules from extensions folder can be changed from server web interface or using an external application.

  • You can import compiled modules with nuitka: nuitka --module mymodule.py.

  • You can customize server menu changing menu.ini.

  • Server supports SSL and FCGI.

  • Server can run frozen (frozen Python mode).

appserver's People

Contributors

icoman avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.