christian-putzke / CardDAV-PHP

A cardDAV PHP-Class
http://www.graviox.de/
GNU Affero General Public License v3.0
97 stars 47 forks source link

Feature Request REST Wrapper #11

Open flashtopia opened 12 years ago

flashtopia commented 12 years ago

It would be VERY VERY awesome to have this backend wrapped in Rest. If you have already seen the comments on your roundcube plugin, i mistakenly thought it was a mysql client for carddav and not the other way around.

Having a mysql carddav client would be totally awesome. Having one where you could have multiple accounts would be even more awesome. Even better, wrapping your plugin and turning it into an API would be so powerful. It would allow any language to use it, so long as it was hosted where php was allowed. There are not too many dav clients out there, (none in ASP that i could find)

Here is kind of what i have in mind?

Any plans, ideas?

Create {returns the id of the record "recordid"} http://myserver.com/davphp/update/?server=http://carddavserver&username=3342&password=4334&vcardddata=........

Update http://myserver.com/davphp/update/?server=http://carddavserver&username=3342&password=4334&recordid=xxx&vcardddata=........

Delete http://myserver.com/davphp/update/?server=http://carddavserver&username=3342&password=4334&recordid=xxx