T++ iconT++ 0.1 Beta

T++ is a engine for running web applications written in C++, i.e., with C++ code embeded into HTML.
T++ is a engine for running web applications written in C++, i.e., with C++ code embeded into HTML.

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.

last updated on:
January 8th, 2008, 9:46 GMT
price:
FREE!
developed by:
Antonio Terceiro
license type:
GPL (GNU General Public License) 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating 1

UNRATED
4.0/5
 

0/5

Add your review!

SUBMIT