File: README

package info (click to toggle)
tntnet 1.5.3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,004 kB
  • ctags: 2,381
  • sloc: cpp: 13,553; sh: 8,997; ansic: 1,604; makefile: 573; sql: 10
file content (59 lines) | stat: -rw-r--r-- 2,212 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Tntnet
======

Tntnet is a web application server for web applications written in C++.

You can write a Web-page with HTML and with special tags you embed
C++-code into the page for active contents. These pages, called
components are compiled into C++-classes with the ecpp-compilier
"ecppc", then compiled into objectcode and linked into a shared library.
This shared library is loaded by the webserver "tntnet" on request and
executed.

The ecpp-compiler can create also C++-classes from static files of any
type, e.g. you can compile a jpeg-image into the library. So the
whole webapplication is a single library.

The application runs native, so they are very fast and compact.

Features supported include: cookies, HTTP-upload, automatic request-parameter
parsing and conversion, automatic sessionmanagement, scoped variables
(application, request and session), internationalisation, keep-alive.

Logging is done through cxxtools, which provides a unified API for log4cpp,
log4cxx or simple logging to files or console.

Tntnet is fully multithreaded, so it scales well on multiprocessor machines.
It uses a dynamic pool of workerthreads, which answers requests from
http-clients.

Ssl is supported via the gnutls- or openssl-library.

Installation 
============

To install tntnet, you need cxxtools (http://www.tntnet.org/).

This version needs at least cxxtools version 1.4.1

You can find generic installation instructions in the file INSTALL.

Quick start
===========

To create a simple application run "tntnet-config --project=hello".
This creates a directory "hello" with a simple project and prints
out a short message, how to run the application.

There are some demo-applications you can try in sdk/demos. To run the demos
without installing tntnet, change to the directory of the demo and run tntnet
from the directory framework/runtime and pass the configurationfile tntnet.conf
as a parameter:
  cd sdk/demos/hello
  ../../../framework/runtime/tntnet tntnet.conf

Tntnet listens on port 8000. Start your browser and enter the url:
  http://localhost:8000/hello

Documentation is provided in opendocument- or pdf-formats in doc/tntnet.*,
doc/quick-start-guide.* and doc/tntnet-configuration.*.