Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Alfresco CMIS
  • Table Of Contents Toc
Alfresco CMIS

Alfresco CMIS

By : Martin Bergljung
4.8 (6)
close
close
Alfresco CMIS

Alfresco CMIS

4.8 (6)
By: Martin Bergljung

Overview of this book

Table of Contents (14 chapters)
close
close
Alfresco CMIS
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1
Index

Chapter 6. Accessing a CMIS Server Using Scripting Languages

So far we have seen how we can access a CMIS server via basic protocol bindings and from an OpenCMIS Java abstraction layer. Sometimes it is also useful to be able to abstract the CMIS interface even further and access the CMIS server using a scripting language such as JavaScript or Groovy.

So why would we want to do that? Well, when working on web application development, it is often very useful to be able to make AJAX calls directly from JavaScript code to CMS servers and get back JSON with repository data.

Scripting languages also make the coding operation a lot quicker in many cases; they abstract the application programming interface even further, making it easier to work with the interface.

In this chapter, we learn how to do the following:

  • Access a CMS server directly from the JavaScript code in the browser, and also see how that works if it is in a different domain

  • Use jQuery to make the AJAX calls to the CMS server more efficient...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Alfresco CMIS
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon