Mercurial > p > roundup > code
view roundup/web/NOTES.md @ 4908:92757447dcf0 routing
Remove PATH_INFO hacks that strip leading slash
PATH_INFO should always start with '/' when not empty, see
http://tools.ietf.org/html/rfc3875#section-4.1.5
Instead, do leading slash stripping inside cgi.client
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Wed, 16 Jul 2014 03:10:02 +0300 |
| parents | b860ede03056 |
| children | 35dc9191394d |
line wrap: on
line source
Engineering notes for Roundup components for web. ### Logical structure of web components An attempt to see what components are present in web request processing. +-----------+ | | | Router | └─----------+ (pure logic) ---------------------------------------------- +-----------+ | | | Login | └-----------+ (logic + templates + messages) ---------------------------------------------- +-----------+ ¦ ¦ ¦ User DB ¦ └-----------+ (messages) Every component consists of messages (data), logic (code) and representation (templates). Message definition (data) also takes into account actions that make component work. Templates are mostly needed for human readability. ### Router Status for Roundup URL map check: [ ] check urlpath values for [ ] example.com [ ] example.com/ [ ] example.com/tracker [ ] example.com/tracker/ [ ] example.com/tracker/item [ ] example.com/tracker?anything [ ] example.com/tracker/?anything [ ] example.com/tracker/item?anything [ ] get full list of url handlers [ ] check url handling for db scheme paths [ ] example.com/tracker/class [ ] example.com/tracker/class/ [ ] example.com/tracker/class1 [ ] example.com/tracker/class1/ [ ] check url handling for static files /_file/(.*) StaticFileHandler [ ] /_file [ ] /_file/ [ ] /_file/name /@@file/(.*) StaticFileHandler [ ] /@@file [ ] /@@file/ [ ] /@@file/name
