-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo.txt
63 lines (39 loc) · 1.96 KB
/
todo.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
For BedSheet 1.5.x
------------------
Doc customising the ErrPrinters! Make them public?
Future
------
Logging filter with reqId, SessId and configurable userId
Move code to BedSheetCore and remove all dependencies on Wisp / Web
- create a BedSheetWisp default impl
- that way BedSheet could be run on different servers (afWillow?)
Meh - Can't be arsed!
=====================
Have BeforeRoutes and AfterRoutes, put in RoutesMiddleware so other Middleware still do "Before: Routes"
- Use case??
- I only want it 'cos Sinatra has it!
Create a Units class:
static Void main(Str[] args) {
kB := Unit.fromStr("kB")
b := Unit.fromStr("byte")
size := kB.convertTo(3f, b)
Env.cur.err.printLine(size)
}
Contribute ranges to HttpStatusProcessor?? - Naa, can't be arsed. Use case?
Inspect the 'accept' headers to ensure the client likes what we're about to send back, send 406 otherwise
- HTTP 1.1 says we MAY, as the client can make the final decision themselves
- Also, if the 406 spec says we need to encode the alternatives in the response, but in an entity in the body...!?
Move the app-restarting into separate thread which checks every X secs
- Naa, the startup is too processor intensive - it just slows the computer down
Doc Comments
------------
Play on words from Tapestry, and Fantom ghosty wears a BedSheet! Wot Fantom wears!
"A web app framework that gets you horizontal. What's your favourite position?"
horizonal not vertical - other frameworks make you extend their classes, not BedSheet.
Powerful.
Built in a modular way with afIoc meaning every service maybe wrapped, decorated, replaced or deleted! It makes hard tasks, easy.
Flexible.
Show a developer a really cool feature and the first response is usually, "Wow, that's awewome! ... But how do I turn it off?"
With that in mind, BedSheet is reluctant
Simple.
Developers are lazy. If it's complicated or difficult, they won't use it.