r1 - 26 Feb 2007 - 12:42:26 - TravisVachonYou are here: OSAF >  Journal Web  >  ContributorNotes > TravisVachonNotes > WebUIServiceLayerDesignNotes
Design choices:

  • Where to include authentication information? (parameter in service call, well defined location that service call knows to look)
  • Where to store auth/z information? (for ticketed/owned/subscribed)

Option 1:

  • Make users pass information to service call each time (current model, super-anemic)

Option 2:

  • Initialize "Service" object with necessary credentials. Multiple service objects floating around, possibly 1 per Collection (calendar) object?

Option 3:

  • Make Collection (calendar) objects second class objects - put service calls here.

-- TravisVachon - 26 Feb 2007

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.