-
Notifications
You must be signed in to change notification settings - Fork 40
/
outline.txt
66 lines (45 loc) · 1.25 KB
/
outline.txt
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
60
61
62
63
64
0.1 overview of course (Contents)
0.2 why write a web app in prolog?
0.3 How to use this course
1 - (simple server) handling abstract paths
1.1 simple server that replies with string from abs path
1.2 convert to abstract path
1.3 define a new abstract path
2. Generating HTML
2.1 simple server that replies html with a string
2.2 reply using tokenized html, a dcg, and nonterminals
2.3 reply termerized html
html([p('this is a para')]),
nonterminal,
html([p('this is another para')])
2.4 \inclusion
2.5 other tricks with
2.7 mailman
2.8 styling
3.1 Parameter Handling
3.2 handling POST requests
parameter handling (including http:request_expansion and http_current_request)
4. Dispatching revisited
dispatch rules revisited
abstract file path
serving files and prefix
handler id's
5. including resources
including resources - patterns for doing so, html_requires
javascript call support
6. revisiting handlers
redirects, 404, directory listings, authentication, cors, openid
7. sessions
The three types of server wrapper
inetd/raw server
spawning threads
reverse proxy to serve on port80
handling the back end
debugging/dev support
debugging with threads
logging
http_stop_server(8000, []).
interference from pldoc server
security
meta_predicate
meta_html