summaryrefslogtreecommitdiff
path: root/doc/design/assistant/webapp.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-26 11:53:18 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-26 11:53:18 -0400
commitd9e9840c3f465a9a1f84b98db8d9cd29d276a8a3 (patch)
treed54e92b968a5d1c3021d9e431f52e88687ce4e10 /doc/design/assistant/webapp.mdwn
parentc3131aafc44c424bebd401b1c57f5650ff5d9113 (diff)
update
Diffstat (limited to 'doc/design/assistant/webapp.mdwn')
-rw-r--r--doc/design/assistant/webapp.mdwn17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/design/assistant/webapp.mdwn b/doc/design/assistant/webapp.mdwn
index 8cdbd270f..66561ab6f 100644
--- a/doc/design/assistant/webapp.mdwn
+++ b/doc/design/assistant/webapp.mdwn
@@ -28,11 +28,12 @@ The webapp is a web server that displays a shiny interface.
## implementation
-Hope to use Yesod.
-
-TODO: Ensure that Yesod will work on arm. Necessary for later Android port.
-Will its template haskell cause a problem? Does new GHC support TH on ARM?
-Will it use too much memory or be too slow?
-
-Hopefully Yesod comes with some good UI widgets. Otherwise, need to use
-Jquery or similar.
+* use `addStaticContent` to make /favicon.ico work. Return `Right (route, query)`
+ and I think the route can be `favicon_ico`.
+* perhaps define a custom `errorHandler`, which could avoid the potential
+ of leaking auth tokens on error pages
+* possibly lose the ugly auth= token past the first page,
+ and use a client-side session. It could be encrypted using the token
+ as the `encryptKey`. Note: Would need to set the session duration
+ to infinite (how?)
+* look up "server-sent events" sent using `sendWaiResponse`