Download presentation
Presentation is loading. Please wait.
1
Getting started with Alfresco Development
Gethin James - Senior Software Alfresco
2
What I'm going to talk about
Alfresco basic overview New for developers in 4.2 The Alfresco One Restful Api Using it Adding to it (Yes, YOU can)
3
What I'm not going to talk about
Share widget library Share page creation live
4
Alfresco Overview
5
New in Share
6
New in 4.2 – Admin console
7
New in 4.2 – Database queries
In-transaction metadata query “A subset of CMIS queries may be automatically executed against the database if they do not contain OR, CONTAINS(), SCORE() or IN_TREE(); nor refer to decimal, boolean or URI CMIS data types.” ALF-19126 Summit: Querying for Metadata, Andy Hind Eventually Consistent
8
New in 4.2 Hybrid workflow Easy clustering Java @AlfrescoPublicApi
Rich media management and transformations api
9
Who likes choices? Webscripts Server-side JavaScript
IMAP, FTP, SharePoint protocol, CIFS
10
Photo Slide Folder, file, content and metadata manipulation and search
sites, people, comments, tags, favorites, workflow JSON Cloud first – now in 4.2 Image title
11
Public Api - Consistency
Structure: Urls, http methods, response format – list, pagination, entry Common error handling & responses Querying: Paging, filtering, where, orderBy Cloud and Enterprise 4.2
12
CMIS Getting Started with CMIS, Jeff Potts
What's Coming in CMIS 1.1, Greg Book: CMIS & Apache Chemistry in Action by Florian Müller, Jay Brown, and Jeff Potts Apache Chemistry project
13
Api Urls
14
Public Api Network Id Api Namespace Entity mycompany.com alfresco or workflow people tags networks
15
Public Api /public/alfresco/versions/1/sites Scope Version UniqueId UniqueId public/alfresco/versions/1/sites /{siteId}/members/{memberid} Api Namespace Entity Relationship
16
Public Api – Using it /nodes/{entityId}/tags /nodes/{entityId}/ratings /nodes/{entityId}/comments /sites /sites/{entityId} /sites/{entityId}/containers /sites/{entityId}/members /people/{entityId}/favorites /people/{entityId}/networks /people/{entityId}/sites /people/{entityId}/sites/<siteId> /people/{entityId}/preferences /people/{entityId}/activities /people/{entityId}/site-membership-requests /tags /networks/{entityId}
17
Documentation
18
Public Api – Demo summary
Consistent api across cloud & on-premise Json based RESTful, versioned Easy to use
19
Public Api – Adding to it
Maven SDK
20
Public Api Framework Built on Webscripts Consistent No XML required
No FreeMarker, uses POJOs & Jackson Uses annotations (nouns) and interfaces (verbs) Write the Java, we'll handle the REST ™
21
Public Api – Source code
22
Summary Choices, choices, choices.
Scratched the service, ie. Data models Use CMIS Use the Maven SDK More Summit talks
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.