Chapter 9. Using other client libraries

 

This chapter covers

  • Overview of other CMIS client libraries
  • Connecting to SharePoint with CMIS
  • Using C#, Python, and PHP to write CMIS applications

This chapter will review some of the CMIS client libraries that are available beyond OpenCMIS. These libraries are useful if your preferred language is something other than Java, or if OpenCMIS doesn’t meet the specific needs of the solution you’re building (see figure 9.1). By the end of the chapter, you’ll have a working knowledge of the capabilities of these libraries. Optionally, you can work through the “Try it” sections for each client library to add functionality to the solution you’ve developed in previous chapters—The Blend.

Figure 9.1. Other client libraries give non-Java developers access to any CMIS-compliant repository.

We realize you may not have an immediate need for all of these libraries, but we recommend that you read the entire chapter because it introduces you to what’s available and gives you an idea of when each of these libraries might be appropriate to use. But if you have zero interest in a particular language, feel free to skip that section.

9.1. Working with other client libraries

If you’re a Java developer, you might have the luxury of developing your applications using only the OpenCMIS client library, depending on the type of applications you build. But the real world is rarely that homogeneous, which is a good thing—it keeps life interesting.

9.2. Coding in .NET with DotCMIS

9.3. Coding in Python with cmislib

9.4. Apache Chemistry PHP API

9.5. Summary