Chris McDonough
2011-07-12 f55b54a16def0bb0c463ee302dd12eefaa3638ad
commit | author | age
051143 1 Pyramid TODOs
CM 2 =============
69364d 3
99edc5 4 Must-Have
CM 5 ---------
6
b95481 7 - add_route discriminator wrong
CM 8
9 - tutorial models.initialize_sql doesn't match scaffold
10   (DBSession.rollback()/transaction.abort() in scaffold vs. "pass" in
11   tutorial)
12
4b105d 13 - deprecate request.add_response_callback (or at least review docs, in light
CM 14   of request.response property).
c5ab0d 15
699da1 16 Should-Have
CM 17 -----------
371a67 18
0469c3 19 - Make "localizer" a property of request (instead of requiring
CM 20   "get_localizer(request)"?
21
371a67 22 - Investigate mod_wsgi tutorial to make sure it still works (2 reports say
CM 23   no; application package not found).
63c1e0 24
3283ef 25 - Add narrative docs for wsgiapp and wsgiapp2.
165020 26
206188 27 Nice-to-Have
CM 28 ------------
2ce652 29
371a67 30 - Maybe add ``add_renderer_globals`` method to Configurator.
CM 31
2ce652 32 - Speed up startup time (defer _bootstrap and registerCommonDirectives()
CM 33   until needed by ZCML, as well as unfound speedups).
af71c2 34
e725cf 35 - Nicer Mako exceptions in WebError.
CM 36
c3709d 37 - Response.RequestClass should probably be pyramid.request.Request but this
CM 38   may imply actually subclassing webob.Response
75ca58 39
d1432f 40 - Better "Extending" chapter.
CM 41
94a527 42 - Try to make test suite pass on IronPython.
CM 43
f765a6 44 - Non-bwcompat use of threadlocals that need to be documented or ameliorated:
CM 45
46   security.principals_allowed_by_permission
47
48   resource.OverrideProvider._get_overrides: can't credibly be removed,
49   because it stores an overrideprovider as a module-scope global.
50
51   traversal.traverse: this API is a stepchild, and needs to be changed.
52
53   Configurator.add_translation_dirs: not passed any context but a message,
54   can't credibly be removed.
55
69364d 56 - Supply ``X-Vhm-Host`` support.
6fd5e1 57
9ec2d6 58 - Basic WSGI documentation (pipeline / app / server).
0b3260 59
84c5ec 60 - Change docs about creating a venusian decorator to not use ZCA.
a91594 61
250c02 62 - Try to better explain the relationship between a renderer and a
CM 63   template in the templates chapter and elsewhere.  Scan the
64   documentation for reference to a renderer as *only* view
65   configuration (it's a larger concept now).
388f9d 66
f07765 67 - Create a ``render_view`` that works by using config.derive_view
CM 68   against an existing view instead of querying the registry.
69
70 - Create a function which performs a recursive request.
71
baa634 72 - Debug option to print view matching decision.
5951ab 73
485ef6 74 - Update App engine chapter with less creaky directions.
d89aee 75
485ef6 76 - Add functionality that mocks the behavior of ``repoze.browserid``.
c8e78c 77
5f3fc0 78 - Consider implementing the API outlined in
CM 79   http://plope.com/pyramid_auth_design_api_postmortem, phasing out the
80   current auth-n-auth abstractions in a backwards compatible way.
81
9d3bd8 82 - Add doc string for BeforeRender event with more details.
BB 83