Afterlogic is a Webmail client written in KnockoutJS & PHP. [login to view URL]
ownCloud is a cloud-based file storage solution, very similar to DropBox: [login to view URL]
We require an integration of ownCloud into AfterLogic so that Afterlogic users are able to: attach files from ownCloud, save files to ownCloud. This can be done via WebDAV, as ownCloud exposes all the files via WebDAV. You can use the SabreDAV client library to access ownCloud data.
There is already a plugin written for AfterLogic which integrates Dropbox so it can be used as an example for developing the ownCloud integration.
Basically you need to replace the Dropbox API calls in the already written plugin with SabreDAV calls for ownCloud: list files, get file, upload file