Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hippo GetTogether 2013-06-21 1415 Integrating the Nuxeo Content Management Platform with a Java or JavaScript Application - Alain Escaffre Nuxeo

Hippo CMS
June 21, 2013
120

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
Tweet

Transcript

  1. 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
  2. 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
  3. 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.
  4. 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 !
  5. 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 !
  6. 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 •  …
  7. 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 !
  8. 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
  9. follow the Hippo trail 9 Create Digital Miracles follow the

    Hippo trail 9 Create Digital Miracles [email protected] @aescaffre Nuxeo and Hippo GetTogether ?
  10. follow the Hippo trail 10 Create Digital Miracles follow the

    Hippo trail 10 Create Digital Miracles [email protected] @aescaffre Nuxeo and Hippo GetTogether ?
  11. follow the Hippo trail 11 Create Digital Miracles follow the

    Hippo trail 11 Create Digital Miracles [email protected] @aescaffre Nuxeo and Hippo GetTogether ?
  12. follow the Hippo trail 12 Create Digital Miracles follow the

    Hippo trail 12 Create Digital Miracles [email protected] @aescaffre Nuxeo and Hippo GetTogether ?
  13. 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
  14. follow the Hippo trail 14 Create Digital Miracles follow the

    Hippo trail 14 Create Digital Miracles [email protected] @aescaffre Nuxeo – Hippo using CMS
  15. 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
  16. 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
  17. 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 ….
  18. 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); } }
  19. 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”
  20. 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(); }
  21. 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
  22. 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