Delphi 应用程序和 (Zimbra) CalDAV 协议
我有一个旧的(九十年代)Delphi 2 Tier 应用程序,现在需要与日历系统通信。 用户将从 Delphi 应用程序获取信息并创建约会。 这些约会需要发送到多日历 Zimbra 服务器。 他们将在属于其他员工的日历中创建约会。 我看到执行此操作的协议是 CalDAV。 Delphi 应用程序和 Zimbra 需要能够双向同步(不是立即同步,而是将来同步)。 也就是说,Zimbra 的更新必须在一段时间后出现在 Delphi 端(该时间范围尚未确定)。
我可以使用第三方应用程序获取 Delphi 预约数据,将其转换为 CalDAV 并定期上传到 Zimbra 服务器。 据说每半小时左右一次。 我对您关于如何最好地构建此功能以及我可以用来编码的组件的想法感兴趣? 任何想法都会非常有帮助吗?
I have an old (nineties) Delphi 2 Tier application that now needs to talk to a calendaring system. The users are going to take information from the Delphi application and create appointments. These appointments will need to be sent to a multi calendaring Zimbra server. They will be creating appointments in calendars belonging to other members of staff. I see the protocol to do this is CalDAV. The Delphi application and Zimbra will need to be able to sync in both directions (not immediately but in the future). That is updates in Zimbra will have to appear on the Delphi side some time later (this time frame has yet to be determined).
I can use a third party application to take the Delphi appointment data, convert it to CalDAV and upload to the Zimbra server periodically. Say every half an hour or so. I am interested in your thoughts on how best to architect this functionality and components I could use to code this? Any ideas would be very helpful?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
CalDAV 网站上列出了一些客户端库(包含 C、Python 和 Java 源代码):
http: //caldav.calconnect.org/implementations/librariestools.html
处的请求/响应消息对http://de.wikipedia.org/wiki/CalDAV 显示了一般消息结构。
Delphi 的客户端可以使用 HTTP 客户端组件(Indy、Synapse 等)和 CalDAV 规范来构建。 然而,正如维基百科条目指出的那样,“一些开发人员批评了 CalDAV 的复杂性”。
因此,使用 Java 或 C 构建消息交换应用程序,并使用数据库或其他消息传递解决方案将其与 Delphi 端连接可能会更容易。
Some client libraries (with C, Python and Java source) are listed on the CalDAV web site:
http://caldav.calconnect.org/implementations/librariestools.html
A request / response message pair at http://de.wikipedia.org/wiki/CalDAV shows the general message structure.
A client for Delphi can be built using a HTTP client component (Indy, Synapse, ...) and the CalDAV specification. However, as the Wikipedia entry notes, 'Some developers have criticized CalDAV's complexity'.
So it might be aesier to build the message exchange application with Java or C, and use a database or other messaging solutions to connect it with the Delphi side.