Author: bdelacretaz
Date: Mon Jul 15 15:53:02 2013
New Revision: 1503312
URL: http://svn.apache.org/r1503312
Log:
Point to WriteableResourcesTest example
Modified:
sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext
Modified:
sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext
URL:
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext?rev=1503312&r1=1503311&r2=1503312&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext
(original)
+++ sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext
Mon Jul 15 15:53:02 2013
@@ -96,9 +96,18 @@ Custom ResourceProvider services can be
For a simple example of that, see the [PlanetResourceProvider][1] used in our
integration tests.
+## Writeable Resources
+Sling now supports full CRUD functionality on Resources, without necessarily
having to go through the JCR API.
+
+The advantage is that this works for any ResourceProvider that supports the
required operations.
+
+See the testSimpleCRUD method in [WriteableResourcesTest][2] for a basic
example of how that works.
+
+
## Wrap/Decorate Resources
The Sling API provides an easy way to wrap or decorate a resource before
returning. Details see [Wrap or Decorate Resources]({{
refs.wrap-or-decorate-resources.path }}).
- [1]:
http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/resourceprovider/
\ No newline at end of file
+ [1]:
http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/resourceprovider/
+ [2]:
https://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/serversidetests/WriteableResourcesTest.java
\ No newline at end of file