Building a CalDAV-server in PHP?
Ok, so I'm the author of a CMS and I'm interested in building a CalDAV-server that enables the user to interface with my CMS through CalDAV instead of only through the web, so they can see their calendars, add to开发者_StackOverflowdos and things like that.
I've looked at http://www.davical.org/ which is a CalDAV service built in PHP, but it has its own database and I already have the DB stuff done and just want a middle-layer services that translates, both ways, to and from my databases using my functions.
Any ideas?
SabreDAV http://sabre.io/dav/caldav/ can be of some help.
You should definitely have a look at Baïkal. It's a lightweight caldav and carddav server distribution based on SabreDAV and SQLite3.
http://baikal-server.com/
DAViCal also has hooks that you can use to synchronise with your own table structure, in particular it has this hook which is called whenever a change occurs within a calendar:
http://wiki.davical.org/w/Configuration/hooks/log_caldav_action
精彩评论