Michael Merickel
2011-08-21 7ecc829f5a78e2a04a64cc9a44d46a151b171554
commit | author | age
051143 1 Pyramid TODOs
CM 2 =============
69364d 3
699da1 4 Should-Have
CM 5 -----------
371a67 6
b25335 7 - Name WSGI app "main" instead of pipeline in scaffold configs?
CM 8
9 - Mention debug toolbar in tutorials.
10
d6a522 11 - Make it possible to use tween aliases in explicit tween config?  If not,
CM 12   the tween factories of all add-ons must be APIs.
b5ffe3 13
CM 14 Nice-to-Have
15 ------------
7f8896 16
144140 17 - Move configuration-related stuff in "static" to config/views, from
CM 18   "settings" to config/settings, "renderers" to config/rendering, "asset" to
19   config/assets, and possibly mako/chameleon rendering stuff to
20   config/rendering.
21
449287 22 - _fix_registry should dictify the registry being fixed.
CM 23
51add8 24 - Make "localizer" a property of request (instead of requiring
CM 25   "get_localizer(request)"?
26
27 - Deprecate pyramid.security.view_execution_permitted (it only works for
28   traversal).
29
cfbbd6 30 - Merge Michael's route group work (maybe a 1.3 thing).
CM 31
9b8d89 32 - Kill off ``bfg.routes`` envvars in router.
CM 33
b8a946 34 - Some sort of API for rendering a view callable object to a response from
CM 35   within another view callable.
36
12cef0 37 - 1.5: turn ``pyramid.settings.Settings`` into a function that returns the
45b780 38   original dict (after ``__getattr__`` deprecation period, it was deprecated
CM 39   in 1.2).
40
d8d14a 41 - Eliminate non-deployment-non-scaffold-related Paste dependencies:
CM 42   ``paste.urlparser.StaticURLParser``, ``paste.auth.auth_tkt`` (cutnpaste or
43   reimplement both).
2fcce7 44
b5ffe3 45 - Alias the stupid long default session factory name.
371a67 46
6aafc5 47 - Add narrative docs for wsgiapp and wsgiapp2.
CM 48
49 - Provide a ``has_view`` function.
50
51 - Debug option to print view matching decision (e.g. debug_viewlookup or so).
52
2ce652 53 - Speed up startup time (defer _bootstrap and registerCommonDirectives()
CM 54   until needed by ZCML, as well as unfound speedups).
af71c2 55
2fcce7 56 - Nicer Mako exceptions in debug toolbar.
e725cf 57
d1432f 58 - Better "Extending" chapter.
CM 59
94a527 60 - Try to make test suite pass on IronPython.
CM 61
f765a6 62 - Non-bwcompat use of threadlocals that need to be documented or ameliorated:
CM 63
64   security.principals_allowed_by_permission
65
66   resource.OverrideProvider._get_overrides: can't credibly be removed,
67   because it stores an overrideprovider as a module-scope global.
68
69   traversal.traverse: this API is a stepchild, and needs to be changed.
70
71   Configurator.add_translation_dirs: not passed any context but a message,
72   can't credibly be removed.
73
69364d 74 - Supply ``X-Vhm-Host`` support.
6fd5e1 75
9ec2d6 76 - Basic WSGI documentation (pipeline / app / server).
0b3260 77
84c5ec 78 - Change docs about creating a venusian decorator to not use ZCA.
a91594 79
250c02 80 - Try to better explain the relationship between a renderer and a
CM 81   template in the templates chapter and elsewhere.  Scan the
82   documentation for reference to a renderer as *only* view
83   configuration (it's a larger concept now).
388f9d 84
f07765 85 - Create a ``render_view`` that works by using config.derive_view
CM 86   against an existing view instead of querying the registry.
87
88 - Create a function which performs a recursive request.
89
485ef6 90 - Update App engine chapter with less creaky directions.
d8d14a 91
CM 92 Probably Bad Ideas
93 ------------------
d89aee 94
485ef6 95 - Add functionality that mocks the behavior of ``repoze.browserid``.
c8e78c 96
5f3fc0 97 - Consider implementing the API outlined in
CM 98   http://plope.com/pyramid_auth_design_api_postmortem, phasing out the
99   current auth-n-auth abstractions in a backwards compatible way.
9d3bd8 100
d8d14a 101 - Maybe add ``add_renderer_globals`` method to Configurator.
CM 102