Intro To Alfresco Part 2

3,733 views

Published on

Slide deck from an Alfresco Webinar which can be viewed at http://blogs.alfresco.com/wp/webcasts/2009/05/alfresco-webcast-a-developers-guide-2-metadata-rules-workflows-optaros/

This presentation discusses content modeling and actions.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,733
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
459
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Intro To Alfresco Part 2

  1. 1. A Developer’s Introduction to the Alfresco Platform Part One: Learning Your Way Around Part Two: The Content Model, Rules & Actions Part Three: Web Scripts, Surf, & CMIS Jeff Potts Content Management Practice Lead
  2. 2. Recap <ul><li>In Part One, we looked at the Alfresco platform, in general </li></ul><ul><ul><li>Lots of ways to get content in and out of the repository </li></ul></ul><ul><ul><li>Out-of-the-box clients for document management, web content management, and collaboration </li></ul></ul><ul><ul><li>API’s to enable you to build any custom content-centric front-end application that’s needed </li></ul></ul>
  3. 3. How Do I Model Custom Metadata? <ul><li>Alfresco’s content model is easily extended </li></ul><ul><ul><li>Expressed as XML </li></ul></ul><ul><ul><li>Wired in to Alfresco through Spring configuration </li></ul></ul><ul><li>The image below shows a simple custom model </li></ul>
  4. 4. What Are Actions? <ul><li>Actions are discrete “units of work” that can be executed against one or more objects </li></ul><ul><ul><li>Move </li></ul></ul><ul><ul><li>Check-in/Check-out </li></ul></ul><ul><ul><li>Copy </li></ul></ul><ul><ul><li>Add Aspect/Remove Aspect </li></ul></ul><ul><ul><li>Custom </li></ul></ul><ul><li>Actions can be called from several different places </li></ul><ul><ul><li>UI </li></ul></ul><ul><ul><li>Rules </li></ul></ul><ul><ul><li>Java & JavaScript </li></ul></ul><ul><ul><li>Workflow steps </li></ul></ul><ul><li>Custom actions are written in Java </li></ul><ul><ul><li>Action executer </li></ul></ul><ul><ul><li>Action handler (for actions that have user-configurable parameters) </li></ul></ul>
  5. 5. Demo <ul><li>Custom model XML & model context </li></ul><ul><li>Web client config XML </li></ul><ul><li>Configure a rule </li></ul><ul><ul><li>Specialize the content type of HR documents </li></ul></ul><ul><li>Show a custom action </li></ul><ul><ul><li>Configure the “Move Replaced” action </li></ul></ul>
  6. 6. Tools & Tips <ul><li>Models are implemented by writing XML and then telling Alfresco about it through Spring </li></ul><ul><li>Actions are implemented in Java </li></ul><ul><ul><li>Nice way to encapsulate reusable content operations </li></ul></ul><ul><ul><li>Called from rules, the UI, JavaScript, workflow, web scripts, etc. </li></ul></ul><ul><li>Rules are end-user configurable in the Explorer web client </li></ul><ul><ul><li>Rules fire regardless of the client </li></ul></ul><ul><ul><li>Rules can operate on documents as they enter a folder, when they are updated, or as they leave </li></ul></ul>
  7. 7. For More Information… <ul><li>Alfresco Developer Guide </li></ul><ul><ul><li>http://www.packtpub.com/alfresco-developer-guide/book </li></ul></ul><ul><li>Alfresco Content Community </li></ul><ul><ul><li>http://hosted4.alfresco.com/alfresco </li></ul></ul><ul><li>Alfresco Forums </li></ul><ul><ul><li>http://forums.alfresco.com </li></ul></ul><ul><li>Alfresco Wiki </li></ul><ul><ul><li>http://wiki.alfresco.com </li></ul></ul><ul><li>Alfresco Blogroll </li></ul><ul><ul><li>http://blogs.alfresco.com/planet/ </li></ul></ul><ul><li>ECM Architect </li></ul><ul><ul><li>http://ecmarchitect.com </li></ul></ul><ul><li>Optaros Home Page </li></ul><ul><ul><li>http://www.optaros.com </li></ul></ul>

×