r1 - 26 Oct 2006 - 10:05:18 - MorgenSagenYou are here: OSAF >  Journal Web  >  ContributorNotes > MorgenSagenNotes > MorgenSagen20061026
Action Represented in XML/DAV via: Represented in EIM via:
An item was created n/a  
An item was deleted n/a  
An item was added to a collection DAV resource PUT to DAV collection  
An item was removed from a collection DAV resource DELETEd from DAV collection  
An item had a single-cardinality attribute value set or changed Entire resource PUT including new value  
An item had a single-cardinality attribute value removed Entire resource PUT with value removed  
An item had a value added to a list-cardinality attribute Entire resource PUT including entire list of values  
An item had a value removed from a list-cardinality attribute Entire resource PUT including entire list of values  
An item was stamped Entire resource PUT with new list of stamps/classes  
An item was unstamped Entire resource PUT with new list of stamps/classes  
A collection was created MKCOL or MKCALENDAR  
A collection was deleted DELETE  

Two approaches:

  1. "Entire items" always transmitted; lack of a value indicates removal; client does a PROPFIND to find new items and detect removed items; ETAGs used to detect item changes -- need to be kept track of in the client
  2. Diffs transmitted; records explicitly indicating removal of items and attribute values; the only state maintained between syncs is a "cookie" provided by the server (or "responder" in p2p)

-- MorgenSagen - 26 Oct 2006

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.