incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Sling > Higher level observation services
Date Thu, 02 May 2013 12:33:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=SLING&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/SLING/Higher+level+observation+services">Higher
level observation services</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~bdelacretaz">Bertrand
Delacretaz</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>Being able to express these
common observation patterns as higher-level services, if we can do that, would allow for switching
the underlying implementation seamlessly, and would also help promote best practices in how
we use events, by minimizing the amount of code to write at the application level. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">
<br>h1. Observation usage patterns <br>Let&#39;s list the frequent patterns
that we see w.r.t observing changes in content. <br> <br>h2. Cached Content <br>
<br>h2. Content Ingestion <br> <br>h2. Content Export <br> <br>h2.
Aggregation of changes <br> <br>h2. Consistency Checks and Fixes <br> <br>h2.
Content Replication <br> <br>h2. Message Queue <br> <br>h2. Workflow
Trigger <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <p>Analyzing how we use observation in our Sling-based apps shows a number of
recurring patterns, described in this page.</p>

<p>Using JCR observation directly or Sling OSGi events does not make a big difference
in the final results, but the implementations are very different. The commit hooks provided
by <a href="http://jackrabbit.apache.org/oak/" class="external-link" rel="nofollow">http://jackrabbit.apache.org/oak/</a>
provide yet another way of observing content changes, which might be more efficient or scalable
in some cases.</p>

<p>Being able to express these common observation patterns as higher-level services,
if we can do that, would allow for switching the underlying implementation seamlessly, and
would also help promote best practices in how we use events, by minimizing the amount of code
to write at the application level.</p>

<h1><a name="Higherlevelobservationservices-Observationusagepatterns"></a>Observation
usage patterns</h1>
<p>Let's list the frequent patterns that we see w.r.t observing changes in content.</p>

<h2><a name="Higherlevelobservationservices-CachedContent"></a>Cached Content</h2>

<h2><a name="Higherlevelobservationservices-ContentIngestion"></a>Content
Ingestion</h2>

<h2><a name="Higherlevelobservationservices-ContentExport"></a>Content Export</h2>

<h2><a name="Higherlevelobservationservices-Aggregationofchanges"></a>Aggregation
of changes</h2>

<h2><a name="Higherlevelobservationservices-ConsistencyChecksandFixes"></a>Consistency
Checks and Fixes</h2>

<h2><a name="Higherlevelobservationservices-ContentReplication"></a>Content
Replication</h2>

<h2><a name="Higherlevelobservationservices-MessageQueue"></a>Message Queue</h2>

<h2><a name="Higherlevelobservationservices-WorkflowTrigger"></a>Workflow
Trigger</h2>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/SLING/Higher+level+observation+services">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=31820405&revisedVersion=2&originalVersion=1">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/SLING/Higher+level+observation+services?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message