In July, Alfresco released a new Angular 2 framework which promises to deliver developers a new modern way to develop custom Alfresco applications. This post will cover what we’ve learned about this new framework.
Watch a quick demo of the new Angular Interface.
When releasing this framework, Alfresco is actually releasing three different independent pieces. Let’s dive into each:
Angular 2 Components
Alfresco Share, the default user interface for Alfresco deployments, is built on top of the Aikau and Surf frameworks. These custom-built platforms are highly extensible and customizable – but do require significant developer effort to work within these frameworks. If a customization was too much effort to be built into Share, the only other option was to build a custom interface and leverage either the internal Alfresco APIs or an externally available API such as CMIS. The Angular 2 Component library is meant to serve as a jump-start into building a custom Alfresco application. The list of available prebuilt components includes login, uploader, document list, search, document viewer, and more. These components are intended to be building blocks for a developer – some simple applications may be able to stitch a few of these components together and be called complete, whereas others may use the existing components as a starting point to build more complex specialized applications. Alfresco has additionally released a Yeoman application builder that allows a user to spin up a demo project with various components in a few quick steps.
Alfresco Repository REST API