Differences between revisions 4 and 5
Revision 4 as of 2003-08-05 08:32:37
Size: 1015
Editor: inktomi4-lee
Comment:
Revision 5 as of 2003-08-17 15:32:33
Size: 1076
Editor: Matt Goodall
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
  * More request adapters. Twisted and SCGI are the obvious missing ones.   * More request adapters. Twisted and SCGI for example.
Line 11: Line 11:
  * Make the page name available in ctx.locals.__page__ for random apps too.

Ideas for how to improve Albatross. Please note that anything that appears here may or may not get implemented, that's largely up to the Object Craft developers and those willing to contribute to the project.

  • Give random applications the same page lifecycle support (page_enter/page_leave) that non-random apps have.
  • Make ctx.redirect() and ctx.set_page() work in both random and non-random modes. ctx.set_page() should allow the application to change the page half way through processing; redirect() should send a 'Location' header to the browser which would cause the new page to display.
  • More request adapters. Twisted and SCGI for example.
  • Refactor the page mixins to allow a RandomPageObject mixin equivalent.

  • ["Default Macro Args"]
  • ["Simple Macro Args"]
  • ["Page Object Access"]
  • Pass (optional) request parameter dictionary to AppContext.redirect(), i.e. ctx.redirect('mypage', {'id': 1}). The request parameters can be url encoded inside the method.

  • Make the page name available in ctx.locals.page for random apps too.

None: FeatureRequests (last edited 2011-02-15 06:05:17 by localhost)