« Return to Thread: What's objtype "data" stand for?

Re: What's objtype "data" stand for?

by Daniel Gollub :: Rate this Message:

Reply to Author | View in Thread

On Tuesday 13 May 2008 08:56:37 Halton Huo wrote:
> Could you answer explain my question about "object type" and "object
> format"?
>
> We need understand it well before design our PluginManager.

(New) Whitepaper:

2.3 Object Types
-----------------
The term ">Object Types"< is in OpenSync used to describe the type/category of
data. Example for ">Object Types"< are Contacts, Events, Todos, Notes or
plain Data (like the content of a file) and others. (It’s not limited to PIM
Data!). Those Object Types get separated processed, to make it configurable
which Object Type should get synchronized. Example: Only synchronize contacts
of the mobile, no events, todos nor notes.

2.4 Formats (( equal/similar to the term "Object Format" ))
-----------------------------------------------------------
The ability to synchronize different Parties which use different formats,
makes the OpenSync Framework to a very powerful Synchronization Framework. In
OpenSync each Format is associated with one Object Type (see previous
chapter). This Object Type as common denominator for different formats makes
it possible to determine a conversion path between different formats. The
conversion path consists of various format converters, which are provided by
Format Plugins. Example: Two parties should synchronize their contacts (the
Object Type). Party A stores the contacts as VCard 3.0 and Party B stores the
contacts in some Binary Format. To synchronize the VCard 3.0 and the Random
Binary Contact Format format plugins have to register those formats and
provide converters. The Plugins don’t have to provide converters for every
known Format, often a certain amount of converters to common formats or a
common denominator format is enough to create a conversion path between VCard
3.0 to Binary Contact Format.

http://cryptomilch.de/~dgollub/OpenSync/OpenSync-0.40-DRAFT-20080118.pdf


Please, let me know if this helps or if you have further questions.

> BTW, I'm concern about the overlap on different object types. Besides
> data is 'wildcard', is there any coverage for rest of them? If have, how
> to know the relationship?

IIRC, there should be no overlap expect the "data" object type. All the other
object types should not overlap - or do you have some object types in mind?


Btw. there are also other format plugins beside the vformat one. (e.g.
gnokii-format, palm-format, opie-format(?), ...  even xmlformat is a format
plugin ;))

best regards,
Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

 « Return to Thread: What's objtype "data" stand for?

LightInTheBox - Buy quality products at wholesale price