Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | More documentation updates |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f6b7dbaa549d8923bd17ad18a8a1839c |
User & Date: | drh 2018-02-07 18:33:20.646 |
Context
2018-02-07
| ||
20:00 | Improvements to the same-origin detection logic. (check-in: 8b769e4771 user: drh tags: trunk) | |
18:33 | More documentation updates (check-in: f6b7dbaa54 user: drh tags: trunk) | |
14:27 | Documentation enhancements. (check-in: 651c5f305b user: drh tags: trunk) | |
Changes
Changes to README.md.
1 2 3 4 5 6 7 8 9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - + - - + + | Wapp - A Web-Application Framework for TCL ========================================== 1.0 Introduction ---------------- Wapp is a new framework for writing web applications in TCL, with the following advantages: |
︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | - + | To run the app as an SCGI server listening on port 9001: > tclsh hello.tcl --scgi 9001 To run the application as CGI, make the hello.tcl file executable and |
︙ |
Changes to docs/quickref.md.
1 2 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 | + + + + + + + + + + + + + + + + + + - + + - + - - + + - + - + + | Wapp Quick Reference ==================== 1.0 Application Template ------------------------ > package require wapp proc wapp-page-XXXXX {} { wapp-trim { # Content to deliver for page XXXXX } } proc wapp-default {} { wapp-trim { # Content for all other pages } } wapp-start $argv |
︙ | |||
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | + + + - - | > https://wapp.tcl.tk/demo/env.tcl/abc/def/ghi?a=5&b=22.425#point42 \_________/ \__________/\__________/ | | | HTTP_HOST SCRIPT_NAME PATH_INFO > SCRIPT_FILENAME := DOCUMENT_ROOT + SCRIPT_NAME > https://wapp.tcl.tk/demo/env.tcl/abc/def/ghi?a=5&b=22.425#point42 \______________________________/ \_/ \_____/ | | | BASE_URL PATH_HEAD '-- PATH_TAIL > https://wapp.tcl.tk/demo/env.tcl/abc/def/ghi?a=5&b=22.425#point42 \__________________________________/ \__________/ | | SELF_URL QUERY_STRING |
Changes to docs/security.md.
︙ | |||
10 11 12 13 14 15 16 | 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 | - + - + - + | 1. The default [Content Security Policy](https://en.wikipedia.org/wiki/Content_Security_Policy) of "CSP" for all Wapp applications is _default\_src 'self'_. In that mode, resources must all be loaded from the same origin, the use of eval() and similar commands in javascript is prohibited, and no in-line javascript or CSS is allowed. These limitations help |
︙ |