r3 - 13 Aug 2004 - 16:15:00 - MorgenSagenYou are here: OSAF >  Journal Web  >  ContributorNotes > MorgenSagenNotes > MorgenSagen20040813

Data model

  • In the past the way to get an item's children was to iterate on the item ("for child in item:"), but now that ItemCollection? overrides _ _ iter _ _ ( ), that changes the behavior. Iterating on an ItemCollection? returns results rather than children. I guess the way to get child items is to always call item.iterChildren( )
    • Opinions from others:
      • we want to reduce the usage of parent/child repo relationship
      • iterating on an item to get its children is awkward

  • Shared items: same UUID or not?
    • Seems convenient to use the same UUIDs (not sure it's possible with the current APIs though)

  • Item versioning
    • Do we need this?
    • Does it get implemented in the data model (modeled as a single item, same UUID) or in the content model (modeled as separate items, different UUIDs)?

-- MorgenSagen - 13 Aug 2004

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < 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.