cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS VS REST API

antonio_sanchez
Champ on-the-rise
Champ on-the-rise

I want to integrate a .NET Desktop Application with Alfresco.

From this decktop application I want to create, modify, delete, search for documents and folders, etc.

I'm evaluating 2 options:

  • CMIS: use Apache Chemistry PortCMIS client library for .NET
  • REST API

What is Alfresco's recommendation in this regard?

1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator

If you ask Alfresco they would probably say "REST API" because they've been putting a lot of engineering effort into improving it lately so it will work better with client-side frameworks such as their own Alfresco Developer Framework (ADF).

But the decision should be more about what exactly it is that you need to do and how easy it is for you to work with either of the APIs using your skills and preferred toolets and frameworks. From the high level requirements you've given, either one will work, but I suspect once you dive into the details and line those up against the capabilities of each API, you will start to develop your own preference.

The biggest driver is how closely coupled do you want to be to the Alfresco repository. If you go with the Alfresco REST API and then later decide to use a different repository, everywhere you've made a call to the repo will have to be refactored. If you go with CMIS, there will still likely be some refactoring but it could be less.