|
The PerCGI library facilitates the development of persistent,
high-performance applications in C/C++ (bindings to other languages are
under development) using the Common Gateway Interface.
Traditional and
FastCGI execution modes are
both supported (the latter is recommended).
The aim of PerCGI is to provide a convenience and speed of
development comparable to that of languages such as
PHP or
Perl,
without the inevitable interpretation overhead associated with them.
A PerCGI application executes several times faster than even the most
optimized PHP, Perl or Python script.
The main features of the PerCGI library include:
- Argument processing and validation
- Modular query interface
(not unlike servlets)
- HTTP Content negotiation
- Multiple languages and character set support
- Content-specific input/output filters
- HTTP cookie interface
- Session management / authentication
- HTML preprocessing / generation
- Utility functions (e.g., string, table and sorting routines)
An important feature of PerCGI for typical web applications is the
mixing of dynamic and offline HTML output generation. Parts of HTML output
is generated programmatically and parts are generated from static HTML
documents and fragments which are preprocessed from templates and
precompiled into variants for all supported languages and character sets.
Source HTML documents can also reference variables which will
be substituted dynamically by PerCGI.
|