Michael Merickel
2011-07-30 e1b25974a4dcc9eb9ceab70ec2276043de775f82
commit | author | age
051143 1 Pyramid TODOs
CM 2 =============
69364d 3
699da1 4 Should-Have
CM 5 -----------
371a67 6
50d3aa 7 - Merge https://github.com/Pylons/pyramid/pull/242 (IPython update; requires
CM 8   test fixes and additional test coverage).
9
0469c3 10 - Make "localizer" a property of request (instead of requiring
73e31c 11   "get_localizer(request)"
CM 12
13 - Make ``current_route_url`` a method of request.
14
15 - Create a ``current_route_path`` function and make it a method of request.
0469c3 16
3283ef 17 - Add narrative docs for wsgiapp and wsgiapp2.
165020 18
aca048 19 - Provide a way to set the authentication policy and the authorization policy
CM 20   during a config.include (they are related, so just exposing the currently
21   underscored-private _set_auth* methods won't cut it).
22
bc116a 23 - Rename all config file values with a ``pyramid.`` prefix.
CM 24
25 - Try to figure out a way to keep "settings" as the original dictionary
26   passed to the Configurator instead of copying it.
27
73e31c 28 - Merge aodag's config.include(route_prefix=...) fork.
CM 29
30 - Michael's route group work.
31
32 - Kill off ``bfg.routes`` envvars in router.
33
34 - Provide a ``has_view`` function.
35
36 - Alias the stupid long default session factory name.
37
38 - Fix indirect circular import between router and config.
39
d8d14a 40 - Debug option to print view matching decision (e.g. debug_viewlookup or so).
CM 41
42 - Eliminate non-deployment-non-scaffold-related Paste dependencies:
43   ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or
44   reimplement both).
45
206188 46 Nice-to-Have
CM 47 ------------
371a67 48
2ce652 49 - Speed up startup time (defer _bootstrap and registerCommonDirectives()
CM 50   until needed by ZCML, as well as unfound speedups).
af71c2 51
e725cf 52 - Nicer Mako exceptions in WebError.
CM 53
d1432f 54 - Better "Extending" chapter.
CM 55
94a527 56 - Try to make test suite pass on IronPython.
CM 57
f765a6 58 - Non-bwcompat use of threadlocals that need to be documented or ameliorated:
CM 59
60   security.principals_allowed_by_permission
61
62   resource.OverrideProvider._get_overrides: can't credibly be removed,
63   because it stores an overrideprovider as a module-scope global.
64
65   traversal.traverse: this API is a stepchild, and needs to be changed.
66
67   Configurator.add_translation_dirs: not passed any context but a message,
68   can't credibly be removed.
69
69364d 70 - Supply ``X-Vhm-Host`` support.
6fd5e1 71
9ec2d6 72 - Basic WSGI documentation (pipeline / app / server).
0b3260 73
84c5ec 74 - Change docs about creating a venusian decorator to not use ZCA.
a91594 75
250c02 76 - Try to better explain the relationship between a renderer and a
CM 77   template in the templates chapter and elsewhere.  Scan the
78   documentation for reference to a renderer as *only* view
79   configuration (it's a larger concept now).
388f9d 80
f07765 81 - Create a ``render_view`` that works by using config.derive_view
CM 82   against an existing view instead of querying the registry.
83
84 - Create a function which performs a recursive request.
85
485ef6 86 - Update App engine chapter with less creaky directions.
d8d14a 87
CM 88 Probably Bad Ideas
89 ------------------
d89aee 90
485ef6 91 - Add functionality that mocks the behavior of ``repoze.browserid``.
c8e78c 92
5f3fc0 93 - Consider implementing the API outlined in
CM 94   http://plope.com/pyramid_auth_design_api_postmortem, phasing out the
95   current auth-n-auth abstractions in a backwards compatible way.
9d3bd8 96
d8d14a 97 - Maybe add ``add_renderer_globals`` method to Configurator.
CM 98