Differences between revisions 3 and 4
Revision 3 as of 2003-07-24 01:00:53
Size: 838
Editor: Gregory Bond
Comment: Add Page Object Access
Revision 4 as of 2003-08-05 08:32:37
Size: 1015
Editor: inktomi4-lee
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
  * 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.

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 are the obvious missing ones.
  • 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.

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