Let the Machine work for you ! <ul><ul><li>Content. Productivity. And Having Fun ! </li></ul></ul><ul><ul><li>Kamon AYEVA ...
Introduction <ul><li>Kamon AYEVA </li></ul><ul><li>Ingeniweb: Zope & Plone Provider </li></ul><ul><ul><li>Training </li></...
So you have a powerful tool... <ul><li>Content Management System </li></ul><ul><ul><li>Content is first-class citizen </li...
But you're still doing things manually ! <ul><li>Content modification </li></ul><ul><li>Reviewing and ”publishing” </li></...
”Content Rules” to the rescue ! <ul><li>Plone 3 </li></ul><ul><li>Fine-grained settings for more </li></ul><ul><ul><li>pro...
Content Rules Engine <ul><li>Rules allow automatic actions based on ”triggers” </li></ul><ul><ul><li>If event, if conditio...
Events <ul><li>Object added to the container </li></ul><ul><li>Object modified </li></ul><ul><li>Object removed from the c...
Possible use cases <ul><li>Moving contents </li></ul><ul><li>Logging content modifications </li></ul><ul><li>Providing not...
C.R.E. @ work <ul><ul><li>Example: Improving the way we manage news. </li></ul></ul>
Manage our News Items <ul><li>Move news items   to the news section, when published </li></ul><ul><ul><li>Adding the rule ...
Adding the rule
The conditions
The action(s)
Assign the rule to folders.  Test !
Other examples <ul><li>Track content removal </li></ul><ul><li>Pre-populating a folder (MemberFolder ?) with content </li>...
Wanted: Populate folder action <ul><li># In plone.app.contentrules.actions.populate </li></ul><ul><li>class IPopulateActio...
Conclusion <ul><li>Powerful </li></ul><ul><li>Extensible </li></ul><ul><li>Use it when it makes sense ! </li></ul>
Thanks ! <ul><ul><li>Thank You, The Plone Rock Stars ! </li></ul></ul>
Upcoming SlideShare
Loading in …5
×

Kamon Ayeva Let The Machine Work For You Using Plone Content Rules For More Productivity

2,717 views

Published on

One of my favorite new features in Plone 3 is the content rules engine. It allows integrators and site administrators to set rules for triggering actions based on Zope events and conditions. It is really powerful ! Common rules can be used out-of-the-box by simple configuration. Developers can also extend the system with new rules and actions for things such as automatic creation of "pre-defined" content. Using real-world "live" examples, we will go through a tutorial on defining rules for helping content managers. Attendees will be able to think about many use cases (or rethink them) in the perspective of the rules engine's service. They will see how to answer to these use cases either by using an existing rule component or by developing a new one.

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

  • Be the first to like this

No Downloads
Views
Total views
2,717
On SlideShare
0
From Embeds
0
Number of Embeds
41
Actions
Shares
0
Downloads
52
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Kamon Ayeva Let The Machine Work For You Using Plone Content Rules For More Productivity

  1. 1. Let the Machine work for you ! <ul><ul><li>Content. Productivity. And Having Fun ! </li></ul></ul><ul><ul><li>Kamon AYEVA Ingeniweb / Alter Way Group </li></ul></ul>
  2. 2. Introduction <ul><li>Kamon AYEVA </li></ul><ul><li>Ingeniweb: Zope & Plone Provider </li></ul><ul><ul><li>Training </li></ul></ul>
  3. 3. So you have a powerful tool... <ul><li>Content Management System </li></ul><ul><ul><li>Content is first-class citizen </li></ul></ul><ul><ul><li>Visual editing, presentation, navigation, classification, searching, transformation... </li></ul></ul><ul><ul><li>and all that Jazz... </li></ul></ul>
  4. 4. But you're still doing things manually ! <ul><li>Content modification </li></ul><ul><li>Reviewing and ”publishing” </li></ul><ul><li>Awareness of content changes </li></ul><ul><li>Collaboration </li></ul><ul><li>etc... </li></ul>
  5. 5. ”Content Rules” to the rescue ! <ul><li>Plone 3 </li></ul><ul><li>Fine-grained settings for more </li></ul><ul><ul><li>productivity </li></ul></ul><ul><ul><li>control </li></ul></ul><ul><ul><li>awareness </li></ul></ul>
  6. 6. Content Rules Engine <ul><li>Rules allow automatic actions based on ”triggers” </li></ul><ul><ul><li>If event, if condition(s), then action(s) </li></ul></ul>
  7. 7. Events <ul><li>Object added to the container </li></ul><ul><li>Object modified </li></ul><ul><li>Object removed from the container </li></ul><ul><li>Workflow state changed </li></ul>
  8. 8. Possible use cases <ul><li>Moving contents </li></ul><ul><li>Logging content modifications </li></ul><ul><li>Providing notifications </li></ul><ul><li>Sending mail messages </li></ul>
  9. 9. C.R.E. @ work <ul><ul><li>Example: Improving the way we manage news. </li></ul></ul>
  10. 10. Manage our News Items <ul><li>Move news items to the news section, when published </li></ul><ul><ul><li>Adding the rule </li></ul></ul><ul><ul><li>Setting the condition(s) </li></ul></ul><ul><ul><li>Setting the action(s) </li></ul></ul><ul><ul><li>Assigning the rule to folders within the site </li></ul></ul>
  11. 11. Adding the rule
  12. 12. The conditions
  13. 13. The action(s)
  14. 14. Assign the rule to folders. Test !
  15. 15. Other examples <ul><li>Track content removal </li></ul><ul><li>Pre-populating a folder (MemberFolder ?) with content </li></ul>
  16. 16. Wanted: Populate folder action <ul><li># In plone.app.contentrules.actions.populate </li></ul><ul><li>class IPopulateAction(Interface): </li></ul><ul><li>&quot;&quot;&quot;Interface for the configurable aspects of a populate action. </li></ul><ul><li>&quot;&quot;&quot; </li></ul><ul><li>skeleton_folder = schema.Choice(title=_(u&quot;Skeleton folder&quot;), </li></ul><ul><li>description=_(u&quot;As a path relative to the portal root.&quot;), </li></ul><ul><li>required=True, </li></ul><ul><li>source=SearchableTextSourceBinder({'is_folderish' : True})) </li></ul>
  17. 17. Conclusion <ul><li>Powerful </li></ul><ul><li>Extensible </li></ul><ul><li>Use it when it makes sense ! </li></ul>
  18. 18. Thanks ! <ul><ul><li>Thank You, The Plone Rock Stars ! </li></ul></ul>

×