Now the repository has a custom model and that model has been exposed to Alfresco Share. For simple document management solutions, this may be enough. But often, code will also be required as a part of your implementation. It might be code in a web application that needs to work with the repository, code that implements custom behavior for custom content types, code that implements Alfresco Share customizations, or code that implements a controller for a web script.
As mentioned in Chapter 1, The Alfresco Platform, there are several APIs available depending on what you want to do. Let's learn how to use code to create content, create associations between content, search for content, and delete content. You'll see a JavaScript example, several examples using the CMIS API with Java.