etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ Source: tntnet  ]

Package: tntnet-demos (1.6.3-4)

demo web applications for Tntnet

Tntnet has a template-language called ecpp similar to PHP, JSP or Mason, where you can embed c++ code inside a HTML page to generate active content. The ecpp files are precompiled to C++ classes called components and compiled and linked into a shared library. This process is done at compiletime. The web server Tntnet needs only the compiled component library.

Because the web applications are compiled into native code, they are very fast and compact.

Components can call other components. So you can create building blocks of HTML parts and call them in other pages like subprocesses.

Requests are parsed by tntnet and the request information is easily accessible to the components. It supports GET and POST parameters and MIME multipart requests for file upload.

The template language has also support for internationalized applications. You can easily create web applications for different languages.

Other features are: cookies, HTTP upload, automatic request parameter parsing and conversion, automatic session management, scoped variables (application, request and session), internationalisation and keep-alive.

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

Tntnet is fully multithreaded and much work has been gone into making it scalable. It uses a dynamic pool of worker threads, which answer requests from HTTP clients.

Tags: Software Development: Examples, C++ Development, Web, Implemented in: C++, Role: Documentation, Plugin

Other Packages Related to tntnet-demos

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.2.5) [amd64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.3.5) [powerpc]
    dep: libc6 (>= 2.3.6-6~) [i386]
    dep: libc6 (>= 2.4) [armel, mips, mipsel, s390]
    dep: libc6 (>= 2.5) [hppa]
    dep: libc6 (>= 2.6) [sparc]
  • dep: libc6.1 (>= 2.2) [ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6.1-udeb
  • dep: libgcc1 (>= 1:4.1.1) [not armel, hppa]
    GCC support library
    dep: libgcc1 (>= 1:4.4.0) [armel]
  • dep: libgcc4 (>= 4.1.1) [hppa]
    GCC support library
  • dep: libstdc++6 (>= 4.2.1) [not armel]
    The GNU Standard C++ Library v3
    dep: libstdc++6 (>= 4.4.0) [armel]
  • dep: libtntnet8
    Tntnet libraries
  • dep: libunwind7 (>= 0.98.5-6) [ia64]
    A library to determine the call-chain of a program - runtime
  • rec: tntnet
    modular, multithreaded web application server for C++

Download tntnet-demos

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 180.7 kB620 kB [list of files]
armel 161.7 kB532 kB [list of files]
hppa 205.7 kB648 kB [list of files]
i386 173.0 kB560 kB [list of files]
ia64 223.8 kB924 kB [list of files]
mips 162.8 kB640 kB [list of files]
mipsel 161.8 kB640 kB [list of files]
powerpc 206.4 kB692 kB [list of files]
s390 173.0 kB588 kB [list of files]
sparc 171.4 kB576 kB [list of files]