Hi Evert,

Thank you for your long detailed response that's really helpful.

Right now I'm just looking at just contacts but in the future will also be 
the calendar implementation. I agree with everything you've said and I 
think that I'll go along the second option route whereby keeping both 
databases in sync and keeping an external reference/id in the sabredav 
database for each contact/vcard. I very much doubt contacts in my system 
will barely ever be updated so it's really just the initial add to get them 
into the address book or into the CRM.

Thanks again for your help, it's very much appreciated.

Thanks,
Wayne

On Monday, 22 August 2016 17:13:27 UTC+1, Wayne Haffenden wrote:
>
> Hi Guys,
>
> I have a CRM like system that has it's own contacts and events within it's 
> own database. It also has a REST API granting access for retrieving and 
> modifying these models.
>
> I would like to add both carddav and caldav support to this application 
> using SabreDAV and am not sure about how to go about this. I understand 
> that I can implement my own AbstractBackend, however, I feel this wouldn't 
> work correctly as the data requirements for DAV are very different from the 
> models stored within my system. In my mind I was hoping to retrieve the 
> data from my API and transform the objects into the correct format for 
> SabreDAV and back again but after reading the documentation the two formats 
> are not only very different but also requires the storage of urls, ids etc.
>
> I'm sure this question has been asked multiple times (I couldn't find an 
> answer to this) and just wondered what the best way to go about 
> implementing the above would be. Any recommended practices or advice would 
> be a massive help right now.
>
> I look forward to hearing what you guys think.
>
> Thanks,
> Wayne
>

-- 
You received this message because you are subscribed to the Google Groups 
"SabreDAV Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sabredav-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sabredav-discuss/2a29dc58-1c27-4057-b05b-cc228edd9ce3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to