T++ is a engine for running web applications written in C++, i.e., with C++ code embeded into HTML.
Version:T++ is a engine for running web applications written in C++, i.e., with C++ code embeded into HTML.
Operating System: Linux
T++ implements the web server extension by using T++ documents in place of conventional ones. A T++ document is similar to a HTML document, except by the fact that the former can contain C++ expressions, statements and other constructions, which will be evaluated to generate the dynamic part of the response.
When a user first accesses a T++ document, this document is translated into a C++ class source file; then, this class is compiled into a shared library; this shared library is then dynamicaly loaded by T++, and an instance of that class is extracted by calling a special function in the shared library; then, T++ forwards the requests for the original document to this instance, calling this service() method. This method -- generated from the content of the T++ document -- is responsible for generating the content that will be sent back to the user.
In subsequent requests, if the document is newer than the underlying class, the class is rebuilt the same way it was built for the first time, recompiled, and reloaded. This is required in order to the objects in memory reflect the T++ document's content.