You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2016/04/15 17:25:28 UTC

svn commit: r985738 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/scripting/scripting-sightly.html

Author: buildbot
Date: Fri Apr 15 15:25:28 2016
New Revision: 985738

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Apr 15 15:25:28 2016
@@ -1 +1 @@
-1739317
+1739319

Modified: websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html Fri Apr 15 15:25:28 2016
@@ -114,16 +114,8 @@ h2:hover > .headerlink, h3:hover > .head
   visibility: hidden;
 }
 h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
-<p>The Apache Sling Sightly Scripting Engine is the Java reference implementation of the <a href="https://github.com/Adobe-Marketing-Cloud/sightly-spec">Sightly HTML Templating Language</a>, passing all the tests defined by the <a href="https://github.com/Adobe-Marketing-Cloud/sightly-tck">Sightly Technology Compatibility Kit</a>.</p>
-<div class="toc">
-<ul>
-<li><a href="#modules">Modules</a></li>
-<li><a href="#the-use-api">The Use-API</a><ul>
-<li><a href="#sling-specific-use-api-extensions">Sling-specific Use-API Extensions</a></li>
-</ul>
-</li>
-</ul>
-</div>
+<p>The Apache Sling Sightly Scripting Engine is the Java reference implementation of the <a href="https://github.com/Adobe-Marketing-Cloud/sightly-spec">Sightly HTML Templating Language</a>.
+[TOC]</p>
 <h1 id="modules">Modules<a class="headerlink" href="#modules" title="Permanent link">&para;</a></h1>
 <p>The Sling implementation is comprised of the following modules:</p>
 <ol>
@@ -174,57 +166,57 @@ h2:hover > .headerlink, h3:hover > .head
 <p>The Sightly implementation from Sling provides the basic POJO support through the <a href="https://github.com/apache/sling/blob/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/pojo/Use.java"><code>org.apache.sling.scripting.sightly.pojo.Use</code></a> interface and the <a href="https://github.com/apache/sling/blob/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/use/JavaUseProvider.java"><code>org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider</code></a>, whereas the <code>use</code> function is implemented by the <code>org.apache.sling.scripting.sightly.js.provider</code> bundle.</p>
 <p>However, the Sling implementation provides a few extensions to the Use-API.</p>
 <h2 id="sling-specific-use-api-extensions">Sling-specific Use-API Extensions<a class="headerlink" href="#sling-specific-use-api-extensions" title="Permanent link">&para;</a></h2>
-<p>A full Sightly installation provides the following Use Providers, in the order of their priority:</p>
+<p>A full Sightly installation provides the following Use Providers, in the order of their priority (the higher the service ranking value, the higher the priority):</p>
 <table class="table">
 <thead>
 <tr>
+<th>Service Ranking</th>
 <th>Use Provider</th>
 <th>Bundle</th>
-<th>Service Ranking</th>
 <th>Functionality</th>
 <th>Observations</th>
 </tr>
 </thead>
 <tbody>
 <tr>
+<td>100</td>
 <td><code>org.apache.sling.scripting.sightly.impl.engine.extension.use.RenderUnitProvider</code></td>
 <td><code>org.apache.sling.scripting.sightly</code></td>
-<td>100</td>
 <td>support for loading Sightly templates through <code>data-sly-use</code></td>
 <td></td>
 </tr>
 <tr>
+<td>95</td>
 <td><code>org.apache.sling.scripting.sightly.models.impl.SlingModelsUseProvider</code></td>
 <td><code>org.apache.sling.scripting.sightly.models.provider</code></td>
-<td>95</td>
 <td>support for loading Sling Models</td>
 <td></td>
 </tr>
 <tr>
+<td>90</td>
 <td><code>org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider</code></td>
 <td><code>org.apache.sling.scripting.sightly</code></td>
-<td>90</td>
 <td>support for loading Java objects such as: <ol><li>OSGi services</li><li>POJOs adaptable from <code>SlingHttpServletRequest</code> or <code>Resource</code></li><li>POJOs that implement <code>Use</code></li></ol></td>
 <td></td>
 </tr>
 <tr>
+<td>80</td>
 <td><code>org.apache.sling.scripting.sightly.js.impl.JsUseProvider</code></td>
 <td><code>org.apache.sling.scripting.sightly.js.provider</code></td>
-<td>80</td>
 <td>support for loading objects defined in JavaScript</td>
 <td></td>
 </tr>
 <tr>
+<td>0</td>
 <td><code>org.apache.sling.scripting.sightly.impl.engine.extension.use.ScriptUseProvider</code></td>
 <td><code>org.apache.sling.scripting.sightly</code></td>
-<td>0</td>
 <td>support for loading objects returned by scripts interpreted by other Script Engines available on the platform</td>
 <td></td>
 </tr>
 </tbody>
 </table>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1739317 by radu on Fri, 15 Apr 2016 15:19:01 +0000
+        Rev. 1739319 by radu on Fri, 15 Apr 2016 15:25:19 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project