• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/H03-May-2022-2,7102,473

etc/H03-May-2022-696601

framework/H17-Jan-2014-24,18016,096

m4/H17-Jan-2014-9,1778,262

sdk/H17-Jan-2014-23,95419,475

utest/H03-May-2022-1,140883

AUTHORSH A D26-Dec-201335 21

COPYINGH A D26-Dec-201323.9 KiB465389

ChangeLogH A D17-Jan-201436.3 KiB1,261797

INSTALLH A D26-Sep-201215.4 KiB371289

Makefile.amH A D17-Jan-20141.7 KiB8374

Makefile.inH A D03-May-202230.7 KiB958860

NEWSH A D05-Jan-20140

READMEH A D26-Dec-20132 KiB5740

Releasenotes-2.2.1.markdownH A D17-Jan-2014333 96

Releasenotes-2.2.markdownH A D17-Jan-20143.8 KiB5541

TODOH A D05-Jan-20140

aclocal.m4H A D17-Jan-201434.5 KiB983886

config.guessH A D26-Sep-201243.8 KiB1,5311,321

config.subH A D26-Sep-201234.7 KiB1,7831,640

configureH A D17-Jan-2014577.6 KiB19,19516,156

configure.inH A D17-Jan-20146.3 KiB250212

depcompH A D26-Sep-201220.4 KiB708460

ecpp.vimH A D17-Jan-20145.1 KiB11798

install-shH A D26-Sep-201213.7 KiB528351

ltmain.shH A D23-Sep-2012276.8 KiB9,6567,304

missingH A D26-Sep-20129.9 KiB331243

tntnet-conf2xml.plH A D03-May-20223.7 KiB188159

tntnet-config.inH A D17-Jan-201410.8 KiB563457

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