wok-current
annotate haserl-lua/description.txt @ rev 14535
firefox-dev: Up to 17.0.6esr
author |
Dominique Corbex <domcox@slitaz.org> |
date |
Wed May 22 19:05:54 2013 +0200 (2013-05-22) |
parents |
|
children |
36cecde5b42c |
rev |
line source |
milka@1134
|
1 haserl (Html And Shell Embedded Runtime Language) is a cgi
|
milka@1134
|
2 program that runs interpreted scripts. It combines three
|
milka@1134
|
3 elements into a single CGI interpreter:
|
milka@1134
|
4
|
milka@1134
|
5 1. It parses POST and GET requests, placing form-elements as name=value
|
milka@1134
|
6 pairs into the environment for the CGI script to use. It is similar
|
milka@1134
|
7 to uncgi (http://www.midwinter.com/~koreth/uncgi.html) in this respect
|
milka@1134
|
8
|
milka@1134
|
9 2. It prints the contents of the script as html, and conditionally
|
milka@1134
|
10 interpets text within <% ... %> as shell script. In this case haserl
|
milka@1134
|
11 scripts are like a poor-man's version of PHP (http://www.php.net)
|
milka@1134
|
12
|
milka@1134
|
13 3. It is very small, and so can be used in embedded environments |