|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| doc/ | H | 03-May-2022 | - | 2,710 | 2,473 |
| etc/ | H | 03-May-2022 | - | 696 | 601 |
| framework/ | H | 17-Jan-2014 | - | 24,180 | 16,096 |
| m4/ | H | 17-Jan-2014 | - | 9,177 | 8,262 |
| sdk/ | H | 17-Jan-2014 | - | 23,954 | 19,475 |
| utest/ | H | 03-May-2022 | - | 1,140 | 883 |
| AUTHORS | H A D | 26-Dec-2013 | 35 | 2 | 1 |
| COPYING | H A D | 26-Dec-2013 | 23.9 KiB | 465 | 389 |
| ChangeLog | H A D | 17-Jan-2014 | 36.3 KiB | 1,261 | 797 |
| INSTALL | H A D | 26-Sep-2012 | 15.4 KiB | 371 | 289 |
| Makefile.am | H A D | 17-Jan-2014 | 1.7 KiB | 83 | 74 |
| Makefile.in | H A D | 03-May-2022 | 30.7 KiB | 958 | 860 |
| NEWS | H A D | 05-Jan-2014 | 0 | | |
| README | H A D | 26-Dec-2013 | 2 KiB | 57 | 40 |
| Releasenotes-2.2.1.markdown | H A D | 17-Jan-2014 | 333 | 9 | 6 |
| Releasenotes-2.2.markdown | H A D | 17-Jan-2014 | 3.8 KiB | 55 | 41 |
| TODO | H A D | 05-Jan-2014 | 0 | | |
| aclocal.m4 | H A D | 17-Jan-2014 | 34.5 KiB | 983 | 886 |
| config.guess | H A D | 26-Sep-2012 | 43.8 KiB | 1,531 | 1,321 |
| config.sub | H A D | 26-Sep-2012 | 34.7 KiB | 1,783 | 1,640 |
| configure | H A D | 17-Jan-2014 | 577.6 KiB | 19,195 | 16,156 |
| configure.in | H A D | 17-Jan-2014 | 6.3 KiB | 250 | 212 |
| depcomp | H A D | 26-Sep-2012 | 20.4 KiB | 708 | 460 |
| ecpp.vim | H A D | 17-Jan-2014 | 5.1 KiB | 117 | 98 |
| install-sh | H A D | 26-Sep-2012 | 13.7 KiB | 528 | 351 |
| ltmain.sh | H A D | 23-Sep-2012 | 276.8 KiB | 9,656 | 7,304 |
| missing | H A D | 26-Sep-2012 | 9.9 KiB | 331 | 243 |
| tntnet-conf2xml.pl | H A D | 03-May-2022 | 3.7 KiB | 188 | 159 |
| tntnet-config.in | H A D | 17-Jan-2014 | 10.8 KiB | 563 | 457 |
README
1Tntnet
2======
3
4Tntnet is a web application server for web applications written in C++.
5
6You can write a Web-page with HTML and with special tags you embed
7C++-code into the page for active contents. These pages, called
8components are compiled into C++-classes with the ecpp-compilier
9"ecppc", then compiled into objectcode and linked into a shared library.
10This shared library is loaded by the webserver "tntnet" on request and
11executed.
12
13The ecpp-compiler can create also C++-classes from static files of any
14type, e.g. you can compile a jpeg-image into the library. So the
15whole webapplication is a single library.
16
17The application runs native, so they are very fast and compact.
18
19Features supported include: cookies, HTTP-upload, automatic request-parameter
20parsing and conversion, automatic sessionmanagement, scoped variables
21(application, request and session), internationalisation, keep-alive.
22
23Logging is done through cxxtools, which provides a unified API for log4cpp,
24log4cxx or simple logging to files or console.
25
26Tntnet is fully multithreaded, so it scales well on multiprocessor machines.
27It uses a dynamic pool of workerthreads, which answers requests from
28http-clients.
29
30Ssl is supported via the gnutls- or openssl-library.
31
32Installation
33============
34
35To install tntnet, you need cxxtools (http://www.tntnet.org/).
36
37You can find generic installation instructions in the file INSTALL.
38
39Quick start
40===========
41
42To create a simple application run "tntnet-config --project=hello".
43This creates a directory "hello" with a simple project and prints
44out a short message, how to run the application.
45
46There are some demo-applications you can try in sdk/demos. To run the demos
47without installing tntnet, change to the directory of the demo and run tntnet
48from the directory framework/runtime:
49 cd sdk/demos/hello
50 ../../../framework/runtime/tntnet
51
52Tntnet listens on port 8000. Start your browser and enter the url:
53 http://localhost:8000/hello
54
55Documentation is provided in man pages and some documents found in the doc
56directory.
57