CMIS is a good way to do that. Simply use your favorite language and one of the clients available from the Apache Chemistry project and you'll be well on your way.
To be close,I created a site with java script,css and html alone,can i access and display the document of alfresco repository in that site dynamically,if yes,can u plz give me guidance to do so,Im thankful to u in advance.
The "1b8980cc-1f1b-4ac3-b26f-17aeee0cefc9" in the URL above is my repository's repository ID. If you don't know it, you can get it from the <cmis:repositoryId> element in the response that comes back when you go to: http://localhost:8080/alfresco/cmisatom
In my case it is plain text that says, "This is a test.".
All calls to these URLs must use basic authentication, so you'll need to pass in the credentials with each request (or you can get a ticket and pass that).
how can i synchronize open documents (odt) for editing using cmis javascript library in alfresco share? In other words,I want to open odt document from the alfresco repository using libre office editor and synchronize changes with the repository document version using the cmis javascript library.