You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/02/16 13:51:08 UTC

[jira] Closed: (SLING-129) microsling SyntheticResource, can be used for request paths which do not have matching repository Nodes

     [ https://issues.apache.org/jira/browse/SLING-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-129.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
         Assignee: Bertrand Delacretaz

Closing issue because it has been fixed from the perspective of microsling.

> microsling SyntheticResource, can be used for request paths which do not have matching repository Nodes
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-129
>                 URL: https://issues.apache.org/jira/browse/SLING-129
>             Project: Sling
>          Issue Type: Improvement
>          Components: microsling
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> The Sling SyntheticResource [1] might be useful in microsling, for example:
> a) To implement search functions under /search, without having the corresponding nodes. For example, "/search/customer/foo" could mean "find all customers named foo", even though customers are not stored under /search
> b) To solve the chicken-and-egg problem of starting with an empty repository for a blog application, for example, where /content/blog/*.post.html should display an editing page, before any content exists.
> I'll implement a simple SyntheticResource based on path regexps: if the MicroslingResourceResolver doesn't find a Resource and the request path matches one of the regexps of the SyntheticResourceProvider, a SyntheticResource is selected.
> [1] https://svn.apache.org/repos/asf/incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/ResourceProvider.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.