cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco with Flex

sambit_h
Champ in-the-making
Champ in-the-making
Hi all
Can any one tell me the easiest way to integrate alfresco with a standard flex application.
I have a flex application from which i want to Search, Upload, Download documents in Alfresco.
As i am at a beginner level i am getting lost with the documentation and getting confused with which one to use.
Is there any way I can call the Web Services from my flex application?
Or what is the easiest way to interact with alfreso from flex.

Thanks in advance
4 REPLIES 4

jcustovic
Champ in-the-making
Champ in-the-making

sambit_h
Champ in-the-making
Champ in-the-making
Hi
Thanks for the reply
But i am still getting confused on what to use and what to not.
Can you please give me highlevel steps for integrating a Flex application with Alfresco?
I want to search documents in Alfresco from my flex UI.

jcustovic
Champ in-the-making
Champ in-the-making
You can use Alfresco REST API http://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference to call functions on alfresco using Javascript. I don't use REST API so I don't really know much about it, but the provided link describes what you can do. With this method you can execute actions to alfresco directly from flex. FLEX <–> Alfresco

Another way is to integrate flex with Java (create Java web services which flex can consume) http://wiki.alfresco.com/wiki/Web_Service_Samples_for_Java. This way your flex API will contact Java services which will connect to alfresco and you can create your own response to flex. FLEX <–> Java <–> Alfresco

You can use alfresco web services with other languages as well http://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services and create services for flex. FLEX <–> OtherLangugae <–> Alfresco

stevereiner
Champ in-the-making
Champ in-the-making
The easiest way would be to integrate code from FlexSpaces into your app. I need to split parts off into an sdk to make it clearer how to do this (and have developer documentation).  You can use entire views, or just some ui components, or just the non ui part (which has an event api) or just the lowest level (delegate layer) which call  webscripts

http://forge.alfresco.com/projects/flexspaces/

http://code.google.com/p/flexspaces/