The CORSET Design Pattern http://www.contentpeople.com/corset The CORSET Design Pattern November 15th, 2013 Bindu Wavell /Chief Architect / Zia Consulting @binduwavell
Problem CMIS provides a fixed domain model along with a well defined set of services for interacting with this model. Cool! But what if you want to do stuff that isn’t exposed via CMIS over CMIS? Obj, Doc, Folder, Prop, Rel, Pol, Rend, ACL, Chng Rep, Nav, Disc, Obj, Ver, Rel, Multi, Acl, Policy @binduwavell
Insight Types can be specialized cmis:folder > my:emailrequest Alfresco has Behaviors When emailrequest created, send email Sometimes you don’t even need proxy objects @binduwavell
CORSET CMIS Object Remote State & Execution Transfer Sounds like RPC / REST… Yup that’s the ticket! In object-oriented programming, the command pattern is a behavioral design pattern in which an object is used to represent and encapsulate all the information needed to call a method at a later time. This information includes the method name, the object that owns the method and values for the method parameters. Adaptation of GoF Command pattern… @binduwavell
What can we do with this? Send email via CMIS Create and manage users / groups Template folder hierarchies Classification, Notification, Transformation Workflow, ESB, etc… @binduwavell
http://contentpeople.com/tech-tips/the-corset-content-management-design-pattern/ @binduwavell