cancel
Showing results for 
Search instead for 
Did you mean: 

Which API can do it ?

léow
Champ in-the-making
Champ in-the-making

Hello everyone,

 

I recently installed Alfresco community in my society, we find it very effective.

Now we want to add some Alfresco functionalities in a current project web page.

The idea is, as the model below shows, to implement some Alfresco Community features like:

   - Full-text search

   - Documents and Folders listing

   - Import/export

 

Maquette

I guess that some Alfresco APIs can do it but I'm a bit lost in all the documentation...

Does solutions like this exists ? Are they free ?

 

Thank you.

 

PS: Website written in PHP/JS, Windows Server, DB PostGreSQL and user management

5 REPLIES 5

kaynezhang
World-Class Innovator
World-Class Innovator

I suggest you to use Apache Chemistry OpenCMIS,it is free.

For Apache Chemistry CMIS PHP Client please refer to Apache Chemistry CMIS PHP Client

openpj
Elite Collaborator
Elite Collaborator

You can use two main different approaches in Alfresco for your features, please take a look at the following APIs:

  • CMIS: this is the standard for exchanging and manipulating contents in any repository (REST and SOAP bindings)

CMIS REST API | Alfresco Documentation 

  • Spring WebScripts RESTful API: you can use 500 http methods available or you can build your own REST API for your domain of interest

Alfresco REST API | Alfresco Documentation 

CMIS allows you to invoke an HTTP call for every single operation, this means that if you want to create a new contents, change some properties and update for example an association or its own binary file, you have to make 2 or 3 HTTP calls. If you need to invoke a rollback operation you have to manage it manually re-invoking all the restore operations.

Using WebScripts you can create your own REST API based on your domain where each HTTP call can execute many operations against the repository atomically for the single HTTP call. In this last case the rollback procedure is automatically managed by the Spring container.

Hope this helps.

léow
Champ in-the-making
Champ in-the-making

Thanks guys for your responses !

I just read the documentation and see that Alfresco can work as a Joomla "widget" thanks to an OpenCMIS REST API.

The good point of these is that the old documents management (under the black cross) already worked with Joomla so it can be easier to directly implement a Joomla/Alfresco widget solution !

Where can I read more about it ?

léow
Champ in-the-making
Champ in-the-making

Thanks !