Syncronizing two backends through z-push
-
Hi,
is it possible to work on some kind of z-push synchronization that will work on two backends without a device?
For example, I would like to synchronize a CalDAV resource with a custom backend already working with devices.Is this possible?
Thanks,
Gabriele -
Hi Gabriele,
at least one of the backends has to behave as a mobile device because that how Z-Push works. It takes requests from what suppose to be a mobile device, processes them and sends a response.
I think it’d be easier if you extend your backend which already works with devices to synchronise with the CalDAV resource. There is a caldav backend in Z-Push already which will give you an idea of what’s necessary.
Manfred
-
Thanks, I will give it a try!
-
I think it depends pretty much what you want to do. If you want to really go over ActiveSync one backend has to behave like a mobile.
You could of course also write some new code that just instantiates your two backends and then exports objects from one backend and imports them to the other. This should work pretty straight forward.
-
@sebastian thanks, nice suggestion, I will think about it.