TINN Web is a super simple web framework for TINN which provides the following functionalities:
- simple functions to ease the processing of HTTP requests
- customizable error handler to generate valid HTTP responses even when things go wrong
- generation of HTTP response
- support for dynamic webpages through
<?js ?>
tag (same as<?php ?>
tag) - include functions for dynamic pages equivalent to
require
,require_once
,include
,include_once
ofphp
- web controller to map URLs to pages or request handlers
Install through the tinn
install
command as a local package:
tinn install tinn_web
Or as a local package by adding the -g
flag:
tinn install tinn_web -g
See the wiki page