I have built a web application in PHP using CodeIgniter. The application is based heavily around a calendar that allows the user to add, edit and remove events to that calendar.
我使用CodeIgniter构建了一个PHP web应用程序。应用程序主要基于一个日历,该日历允许用户向该日历添加、编辑和删除事件。
One of the major requirements for the system is to use the native calendar on iPhone and Android devices. The user needs to be able to not only view, but add, edit and delete items from their calendar. I can produce a vcal file that the user can then load into their calendar, but that is only one-way synchronisation.
该系统的主要要求之一是在iPhone和Android设备上使用本机日历。用户不仅需要能够查看,还需要从日历中添加、编辑和删除条目。我可以生成一个vcal文件,用户可以将该文件加载到他们的日历中,但这只是单向的同步。
Is there a way this can be achieved? I've thought about Google Calendars, but having used the API before I know how limiting it can be, and I'm unsure of support.
有办法实现这一点吗?我曾经考虑过谷歌日历,但是在知道它有多大限制之前,我就已经使用了这个API,我不确定是否支持它。
Any help is appreciated.
任何帮助都是感激。
1 个解决方案
#1
0
You need to implement the calendar server protocol (CalDav). Have a look at http://www.davical.org/ which implements that very fine.
您需要实现日历服务器协议(CalDav)。看看http://www.davical.org/,它很好地实现了这一点。
Remember that it's a huge task because all clients have their little quirks that you need to support.
记住,这是一项艰巨的任务,因为所有客户端都有需要支持的小怪癖。
#1
0
You need to implement the calendar server protocol (CalDav). Have a look at http://www.davical.org/ which implements that very fine.
您需要实现日历服务器协议(CalDav)。看看http://www.davical.org/,它很好地实现了这一点。
Remember that it's a huge task because all clients have their little quirks that you need to support.
记住,这是一项艰巨的任务,因为所有客户端都有需要支持的小怪癖。