CardDav 服务器和 MySQL 数据库之间的接口

发布于 2024-11-08 13:54:44 字数 132 浏览 6 评论 0原文

我的网络应用程序使用 mysql 来存储联系人数据。我想通过 carddav 与移动设备同步此数据。我知道carddav是基于文件系统,而不是数据库。有什么软件可以充当接口或包装器,使carddav 服务器与mysql 一起工作?或者其他关系数据库?

My web app uses mysql to store contact data. I'd like to sync this data via carddav with mobile devices. I understand carddav is based on a file system, not a database. What software is available to act as an interface or wrapper to make the carddav server work with mysql? or other relational database?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

So要识趣 2024-11-15 13:54:44

您可能想看看 Bedework

You might want to take a look at Bedework.

大海や 2024-11-15 13:54:44

贝加尔湖刚刚添加了这个功能!!!

大多数 dav 服务器都是基于文件系统的。如果您使用 SabreDav,您可以基于您自己的后端构建虚拟文件系统。 Baikal 是一个使用 sabredav 和虚拟文件系统的项目。直到最近,它仍将数据存储在 sqllite 中。现在它同时支持mysql和sqlite。

它仍然没有 100% 成熟,但它是一个很好的起点。通过使用它,我已经能够直接在数据库中创建联系人(通过将 vcard blob 上传到表中),然后将它们显示在我的 ipad 地址簿上。

在评估了许多系统之后,像 baikal 这样基于 sabredav 构建的系统往往是最简单的构建系统。 Fruxx 是您还可以查看的其他内容。它是一个托管系统,但很快就会有一个 API。

最后,如果您正在寻找一个非常复杂的系统,那么请看看tine20。它支持 activesync(在美国是非法的)、carddav、caldav,并且有一个不错的 extjs Web 用户界面。它本身将联系人信息存储在其 mysql 存储中,这很好,因为您可以通过 sql 语句更新联系人,而无需构建 vcf 文件。没有意义的是,由于它提供的所有功能,它使用了更多的资源,并且复杂性确保了它具有非常复杂的数据库模式。换句话说,您可能最好在 tine 源代码上创建一个 REST API,而不是执行裸 SQL 插入。

http://baikal-server.com/

Baikal just added this feature!!!

Most dav servers are file system based. If you use SabreDav you can build a virtual filesystem based on your own backend. Baikal is a project that uses sabredav, and a virtual file system. Until recently it stored its data in sqllite. Now it supports both mysql and sqlite.

Its still not 100% mature, but its a great starting point. Playing around with it, I have been able to create contacts directly in the DB (by uploading vcard blobs to a table) and then having them show on my ipad addressbook.

After evaluating many systems, ones built on sabredav like baikal tend to be the simplest to build on. Fruxx is something else you may also check out. Its a hosted system, but will soon have an api.

Last if you are looking for a very elaborate system, then take a look at tine20. It supports activesync (illegally in the usa), carddav, caldav, and has a decent extjs web ui. It natively stores contact information in its mysql store, which is nice since you can update a contact through a sql statement without having to build a vcf file. Where tine doesnt make sense is that it uses a bit more resources because of all the features it offers, and the complexity has ensured that it has a VERY complicated database schema. In other words, you are probably better off creating a rest api on the tine source code rather than doing bare sql inserts.

http://baikal-server.com/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文