Changes between Version 1 and Version 2 of VcRefactoring/Controller
- Timestamp:
- Mar 19, 2007, 7:49:24 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VcRefactoring/Controller
v1 v2 12 12 - `default_template`, `default_content_type` properties can be set at the `RequestProcessor` subclass level, so that only the data dictionary needs to be returned by a handler 13 13 - `default_stylesheets`, `default_javascripts` properties can be set at the `RequestProcessor` subclass level, for 'text/css' stylesheets and 'text/javascript' scripts that will always be associated to the responses. 14 - move the matching logic at the level of the `RequestProcessor` itself (add a 15 `RequestProcessor.match` class method) 16 - reintroduced a `Controller` mixin, which takes care of instantiating a `request_processor` 17 if the `req.path_info` matches 14 18 15 19 TODO: 16 - move the matching logic at the level of the `RequestProcessor` itself17 - find a better name for the `call_<action>` methods for handling XHRs(the default XHR handler is named `call_view` which doesn't look good)20 - find a better name for the `call_<action>` methods for handling XHRs 21 (the default XHR handler is named `call_view` which doesn't look good) 18 22 19 23 ----