Share
Embed
Hippo GetTogether 2013-06-21 1415 Integrating the Nuxeo Content Management Platform with a Java or JavaScript Application - Alain Escaffre Nuxeo
Alain Escaffre, Nuxeo shows how Nuxeo DMS can be integrated with Hippo.
For those interested, Hippo and Nuxeo have since hosted a more detailed webinar on the same subject: https://vimeo.com/70173487
Hippo CMS
June 21, 2013
Transcript
22 slides
-
follow the Hippo trail 1 Create Digital Miracles follow the
Hippo trail 1 Create Digital Miracles [email protected] @aescaffre Integrating the Nuxeo Content Management Platform with java or javascript application Friday 2013 June 21st, Amsterdam–Hippo GetTogether Alain Escaffre, Nuxeo Presales and Products director -
follow the Hippo trail 2 Create Digital Miracles follow the
Hippo trail 2 Create Digital Miracles [email protected] @aescaffre Nuxeo : ECM platform • Nuxeo Platform is a full stack software platform for building content-centric business applications • Designed for software developers, architects and business managers who create software for internal use or for customers • A foundation for business applications in the areas of content management, document management, digital asset management, and case management • Trusted by large organizations for mission-critical applications • Nuxeo Platform is created as open source software -
follow the Hippo trail 3 Create Digital Miracles follow the
Hippo trail 3 Create Digital Miracles [email protected] @aescaffre Nuxeo : the company • Nuxeo supports customers in creating, building, maintaining, deploying and operating apps • Nuxeo covers the full lifecycle of applications: • Application Designer: Nuxeo Studio • Development Environment: Nuxeo IDE (Eclipse), Maven Tooling • Testing Toolset: Unit, Functional (Sl/WebDriver), Performance • Deployment tools: Nuxeo Marketplace, Update Center • We focus on the complete experience for our customers, not just the software you run • We are based in France, New York and California. -
follow the Hippo trail 4 Create Digital Miracles follow the
Hippo trail 4 Create Digital Miracles [email protected] @aescaffre Nuxeo – Hippo, a very good fit ! -
follow the Hippo trail 5 Create Digital Miracles follow the
Hippo trail 5 Create Digital Miracles [email protected] @aescaffre Nuxeo – Hippo, a very good fit ! -
follow the Hippo trail 6 Create Digital Miracles follow the
Hippo trail 6 Create Digital Miracles [email protected] @aescaffre Nuxeo – Hippo, a very good fit ! • JAVA based • Maven • Freemarker • Plugins architecture • … -
follow the Hippo trail 7 Create Digital Miracles follow the
Hippo trail 7 Create Digital Miracles [email protected] @aescaffre Nuxeo – Hippo, a very good fit ! -
follow the Hippo trail 8 Create Digital Miracles follow the
Hippo trail 8 Create Digital Miracles [email protected] @aescaffre Nuxeo and Hippo GetTogether ? Hippo: Frontal Web Experience Online Marketing Nuxeo: back office : • Document Management • Case Management • Digital Asset Management Customers Prospects Employees HR Sales Accounting Marketing -
follow the Hippo trail 9 Create Digital Miracles follow the
Hippo trail 9 Create Digital Miracles [email protected] @aescaffre Nuxeo and Hippo GetTogether ? -
follow the Hippo trail 10 Create Digital Miracles follow the
Hippo trail 10 Create Digital Miracles [email protected] @aescaffre Nuxeo and Hippo GetTogether ? -
follow the Hippo trail 11 Create Digital Miracles follow the
Hippo trail 11 Create Digital Miracles [email protected] @aescaffre Nuxeo and Hippo GetTogether ? -
follow the Hippo trail 12 Create Digital Miracles follow the
Hippo trail 12 Create Digital Miracles [email protected] @aescaffre Nuxeo and Hippo GetTogether ? -
follow the Hippo trail 13 Create Digital Miracles follow the
Hippo trail 13 Create Digital Miracles [email protected] @aescaffre Nuxeo – Hippo Integration options • CMIS • Open Social • Custom java development -
follow the Hippo trail 14 Create Digital Miracles follow the
Hippo trail 14 Create Digital Miracles [email protected] @aescaffre Nuxeo – Hippo using CMS -
follow the Hippo trail 15 Create Digital Miracles follow the
Hippo trail 15 Create Digital Miracles [email protected] @aescaffre Nuxeo remote API: Automation Ordered set of operations Used in: • User Actions • Events • REST Calls • Workflows -
follow the Hippo trail 16 Create Digital Miracles follow the
Hippo trail 16 Create Digital Miracles [email protected] @aescaffre Operation An Operation Has: • Unique name • Input • Ouput • Parameters -
follow the Hippo trail 17 Create Digital Miracles follow the
Hippo trail 17 Create Digital Miracles [email protected] @aescaffre Some existing use of Automation client in the CMS/Portal world • Queries • Form creation • Content listing and search screens Ø For managing workflows, training scheduling, training requests, etc …. -
follow the Hippo trail 18 Create Digital Miracles follow the
Hippo trail 18 Create Digital Miracles [email protected] @aescaffre A custom operation ? One java class ! @Operation(id = CreateDocument.ID, category = Constants.CAT_DOCUMENT, label = "Create", description = "Create a new document in the input folder ...") public class CreateDocument { public final static String ID = "Document.Create"; @Context protected CoreSession session; @Param(name = "type") protected String type; @Param(name = "name", required = false) protected String name; @Param(name = "properties", required = false) protected Properties content; @OperationMethod public DocumentModel run(DocumentModel doc) throws Exception { if (name == null) { name = "Untitled"; } DocumentModel newDoc = session.createDocumentModel( doc.getPathAsString(), name, type); if (content != null) { DocumentHelper.setProperties(session, newDoc, content); } return session.createDocument(newDoc); } } -
follow the Hippo trail 19 Create Digital Miracles follow the
Hippo trail 19 Create Digital Miracles [email protected] @aescaffre Exemple of an operation - Input: Documents, Document - Output: Documents, Document - Parameter: The name of the transition to follow - Process: Follows the transition in parameter to the input document Returns the modified document, which can be used in the next operation Example: “Follow Life Cycle Transition” -
follow the Hippo trail 20 Create Digital Miracles follow the
Hippo trail 20 Create Digital Miracles [email protected] @aescaffre Automation Client - Easy to include - Doesn’t require to be too much of a geek ! import org.nuxeo.ecm.automation.client.model.documents; import org.nuxeo.ecm.automation.client.Session; public static void main(String[] args) throws Exception { HttpAutomationClient client = new HttpAutomationClient( "http://localhost:8080/nuxeo/site/automation"); Session session = client.getSession("Administrator", "Administrator"); Documents docs = (Documents) session.newRequest("Document.Query").set( "query", "SELECT * FROM Document").execute(); System.out.println(docs); client.shutdown(); } -
follow the Hippo trail 21 Create Digital Miracles follow the
Hippo trail 21 Create Digital Miracles [email protected] @aescaffre What to find in Nuxeo platform • Fully featured repository (complex metadata management, versionning, proxies, mixin, …) • Advanced workflow engine • Conversions services (pdf, videos, images, …) • Search and query engine • Audit service • Higher level services: comments, activity, .... • Media management services -
follow the Hippo trail 22 Create Digital Miracles follow the
Hippo trail 22 Create Digital Miracles [email protected] @aescaffre Question & Answers Thank you so much for your time. Let’s stay in touch. @aescaffre www.nuxeo.com