资 源 简 介
The Lega library provides the basis for building web applications, including personal web applications (PWA). Lega applications are built around the following:
* a design which encourages/requires developers to think in terms of HTTP (e.g., REST style, verb+resource),
* an application-specific list of URI paths (matched by regular expressions) and associated handlers,
* the base Lega resource handler which is designed to take care of much of the heavy work of HTTP communication and is the basis for all other handlers,
* support for applications which are run by users but use the web browser as the user interface; this provides a simple means of creating personal web applications.
The Lega library is written in Python and runs under >= v2.3. Lega provides its own HTTP server which may be run as forking, pre-forking, or multi-threaded, and supports http and https connections. A Lega PWA is intended to include its own instance of the Lega library, which is small, and managea