This commit is contained in:
Joey Hess 2012-07-26 11:53:18 -04:00
parent c3131aafc4
commit d9e9840c3f

View file

@ -28,11 +28,12 @@ The webapp is a web server that displays a shiny interface.
## implementation ## implementation
Hope to use Yesod. * use `addStaticContent` to make /favicon.ico work. Return `Right (route, query)`
and I think the route can be `favicon_ico`.
TODO: Ensure that Yesod will work on arm. Necessary for later Android port. * perhaps define a custom `errorHandler`, which could avoid the potential
Will its template haskell cause a problem? Does new GHC support TH on ARM? of leaking auth tokens on error pages
Will it use too much memory or be too slow? * possibly lose the ugly auth= token past the first page,
and use a client-side session. It could be encrypted using the token
Hopefully Yesod comes with some good UI widgets. Otherwise, need to use as the `encryptKey`. Note: Would need to set the session duration
Jquery or similar. to infinite (how?)
* look up "server-sent events" sent using `sendWaiResponse`