Author: buildbot
Date: Mon Jul 15 15:53:11 2013
New Revision: 869584

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    
websites/staging/sling/trunk/content/documentation/the-sling-engine/resources.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jul 15 15:53:11 2013
@@ -1 +1 @@
-1500782
+1503312

Modified: 
websites/staging/sling/trunk/content/documentation/the-sling-engine/resources.html
==============================================================================
--- 
websites/staging/sling/trunk/content/documentation/the-sling-engine/resources.html
 (original)
+++ 
websites/staging/sling/trunk/content/documentation/the-sling-engine/resources.html
 Mon Jul 15 15:53:11 2013
@@ -102,6 +102,7 @@
 <li><a href="#custom-resource-providers">Custom Resource providers</a></li>
 </ul>
 </li>
+<li><a href="#writeable-resources">Writeable Resources</a></li>
 <li><a href="#wrapdecorate-resources">Wrap/Decorate Resources</a></li>
 </ul>
 </div>
@@ -166,10 +167,14 @@ and <code>getResource(Resource base, Str
 <h3 id="custom-resource-providers">Custom Resource providers</h3>
 <p>Custom ResourceProvider services can be used to integrate your own custom 
resources in the Sling resource tree.</p>
 <p>For a simple example of that, see the <a 
href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/resourceprovider/";>PlanetResourceProvider</a>
 used in our integration tests.</p>
+<h2 id="writeable-resources">Writeable Resources</h2>
+<p>Sling now supports full CRUD functionality on Resources, without 
necessarily having to go through the JCR API.</p>
+<p>The advantage is that this works for any ResourceProvider that supports the 
required operations.</p>
+<p>See the testSimpleCRUD method in <a 
href="https://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/serversidetests/WriteableResourcesTest.java";>WriteableResourcesTest</a>
 for a basic example of how that works.</p>
 <h2 id="wrapdecorate-resources">Wrap/Decorate Resources</h2>
 <p>The Sling API provides an easy way to wrap or decorate a resource before 
returning. Details see <a 
href="/documentation/the-sling-engine/wrap-or-decorate-resources.html">Wrap or 
Decorate Resources</a>.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; 
text-align: right;">
-        Rev. 1483778 by bdelacretaz on Fri, 17 May 2013 12:58:48 +0000
+        Rev. 1503312 by bdelacretaz on Mon, 15 Jul 2013 15:53:02 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache 
Sling project


Reply via email to