Skip to content
Newer
Older
100644 129 lines (84 sloc) 4.06 KB
69364d6 @tseaver Tidying
tseaver authored
1 :mod:`repoze.bfg` TODOs
2 =======================
3
4 - Supply ``X-Vhm-Host`` support.
6fd5e12 Review.
Chris McDonough authored
5
9ec2d64 Merge of andrew-docs branch.
Chris McDonough authored
6 - Basic WSGI documentation (pipeline / app / server).
ff1213e Add "exception views" work contributed primarily by Andrey Popp by me…
Chris McDonough authored
7
0b32608
Chris McDonough authored
8 - Fix message catalog extraction / compilation documentation.
9
84c5ec6 lingering todo items
Chris McDonough authored
10 - Change docs about creating a venusian decorator to not use ZCA.
11
a91594a todo gardening
Chris McDonough authored
12 - ``decorator=`` parameter to bfg_view.
13
250c021 merge generic_rendering branch
Chris McDonough authored
14 - Try to better explain the relationship between a renderer and a
15 template in the templates chapter and elsewhere. Scan the
16 documentation for reference to a renderer as *only* view
17 configuration (it's a larger concept now).
388f9d4 renderer overhaul intentions
Chris McDonough authored
18
f077653 - A ``repoze.bfg.events.subscriber`` decorator was added. This
Chris McDonough authored
19 - Create a ``render_view`` that works by using config.derive_view
20 against an existing view instead of querying the registry.
21
22 - Create a function which performs a recursive request.
23
baa6347 todo gardening
Chris McDonough authored
24 - Debug option to print route matching decision.
25
26 - Debug option to print view matching decision.
303c163 todo gardening
Chris McDonough authored
27
3454745 todo gardening
Chris McDonough authored
28 - Script or paster command that prints, for a given URL, the views
29 that might match. Underneath each potentially matching route, list
30 the predicates required. Underneath each route+predicate set, print
31 each view that might match and its predicates. E.g. with the input
32 URL ``/foo``::
33
34 '/foo' (foo_xhr)
35 xhr = True
36 (no view predicates)
37 mypackage.views.MyXHRFooView.__call__
38
39 '/{action}' (action_route)
40 request_method = 'POST'
41 action = '^foo$'
42 mypackage.views.MyView.foo_POST
43 request_method = 'GET'
44 action = '^foo$'
45 mypackage.views.MyView.foo_GET
46
523132f cm
Chris McDonough authored
47 - Ability to use configurator as a context manager.
48
5951ab4 todo gardening.
Chris McDonough authored
49 - Provide a response_cookies attribute on the request for rendered
50 responses that can be used as input to response.set_cookie.
51
6d91915 todo gardening
Chris McDonough authored
52 - Raise an exception when a value in response_headerlist is not a
53 string or decide to encode.
54
d89aee7 - Each of the follow methods of the Configurator now allow the
Chris McDonough authored
55 - Change "Cleaning up After a Request" in the urldispatch chapter to
56 use ``request.add_response_callback``.
57
c0b29e3 long lines
Chris McDonough authored
58 - Update App engine chapter.
c8e78c2 add todo items from Vegas meeting
Chris McDonough authored
59
14dc816 @mcdonc pylons paster templates
mcdonc authored
60 - Browser id?
c8e78c2 add todo items from Vegas meeting
Chris McDonough authored
61
14dc816 @mcdonc pylons paster templates
mcdonc authored
62 - .flash API on session.
c8e78c2 add todo items from Vegas meeting
Chris McDonough authored
63
64 - CRSF token machinery
65
9b8d0ca @mcdonc add handler code
mcdonc authored
66 - ``add_handler`` documentation.
b60bdb2 @mcdonc first cut at converting bfg to pyramid
mcdonc authored
67
9b8d0ca @mcdonc add handler code
mcdonc authored
68 - ``handler`` ZCML directive.
02d73d8 @mcdonc add todo items
mcdonc authored
69
9c85444 @mcdonc point at pyramid_viewgroup, todo gardening
mcdonc authored
70 - Try to get rid of Mako Beaker dependency. Mail sent to
71 http://groups.google.com/group/mako-discuss (was put into moderation).
02d73d8 @mcdonc add todo items
mcdonc authored
72
49f5c4f @mcdonc gardening
mcdonc authored
73 - ``docs`` directory for each paster template.
cba2e1b @mcdonc bfg-> pyramid
mcdonc authored
74
75 - "BFG" in environ variables.
123ee03 @mcdonc suggestion from Ben
mcdonc authored
76
fd1ae63 @mcdonc gardening
mcdonc authored
77 - Test on GAE, Jython, PyPy, IronPython.
7097eaa @bbangert Update TODO to indicate Mako docs are in, and add todo for removing
bbangert authored
78
3c9a048 @bbangert Actually add the todo for httpexceptions.
bbangert authored
79 - Add docs for httpexceptions.
3a2af35 @mcdonc imply that a renderer helper implements a well-understood interface (…
mcdonc authored
80
81 - RendererHelper -> RendererInfo?
d9509df @mcdonc add note about zodb sessions
mcdonc authored
82
83 - Do something about ZODB session chapter: either remove or create a
84 pyramid_zodbsessions package.
fbfe84d @mcdonc remove r.b.skins reference, note that we need an analogue for r.b.vie…
mcdonc authored
85
4536936 @mcdonc add more todos
mcdonc authored
86 - translationdir ZCML directive use of ``path_spec`` should maybe die.
4c9df91 @mcdonc todo gardening
mcdonc authored
87
88 - Make settings an attribute of.. registry? request? Ugh.
89
6b0a382 @mcdonc gardening
mcdonc authored
90 - Option for route_url to omit the host and port (perhaps a different
91 function named ``route_path``).
ccbc953 @mcdonc sqla idiomatic suggestions from rob
mcdonc authored
92
93 - SQLAlchemy idiomatics:
94
95 <RaFromBRC> mcdonc: those paster templates all look pretty good... the
96 only thing i'd consider is adjusting your config variable names to match
97 exactly what sqlalchemy uses as parameter names, see here:
98 http://www.sqlalchemy.org/docs/core/engines.html
99
100 <RaFromBRC> mcdonc: especially in the pylons_sqla ini file, where the db
101 initialization is mixed in w/ the app config...
102
103 <RaFromBRC> ... i'd use "sqlalchemy.PARAMETER" for all of the sqla
104 settings, so it could easily be handed to engine_from_config w/o any need
105 to parse by hand
106
107 <RaFromBRC> mcdonc: in the other ini files, where sqlalchemy is given its
108 own part, the "sqlalchemy." prefix probably isn't necessary, but matching
109 the parameter names (e.g. 'url' instead of 'db_string') is still probably
110 a good idea
d9143ed @mcdonc add default renderer todo
mcdonc authored
111
112 - Default renderer.
5efc45b @mcdonc add notes about shedding threadlocals
mcdonc authored
113
114 - Non-bwcompat use of threadlocals:
115 security.principals_allowed_by_permission, settings.get_settings,
116 chameleon_text.TextTemplateRenderer.template (also uses get_settings),
117 chameleon_zpt.ZPTTemplateRenderer.template (also uses get_settings),
118 resource.OverrideProvider._get_overrides, traversal.traverse,
119 Configurator.add_translation_dirs (get_current_request),
120 i18n.negotiate_locale_name (get_settings). All ZCML directives use
121 ``get_current_registry`` to obtain the registry.
122
123 - Add deprecation warnings for:
124
125 - Use of chameleon_zpt and chameleon_text templating functions (use
126 renderer API instead).
127
128
Something went wrong with that request. Please try again.