[ 
https://issues.apache.org/jira/browse/SLING-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724719#action_12724719
 ] 

Ian Boston commented on SLING-1023:
-----------------------------------

What would make the patch acceptable ?
SyntheticResource ?
Setting the resource supertype  (although I think this might have just gone) ?
IMHO the nonexisting approach adds a second level of resource dispatching, 
which I really would prefer not to have, not least 

At the moment we are on a branch with this in, since (I am sorry to say this, 
and absolutely no offense intended because everything else *is* fantastic!) 
Sling/Jackrabbit doesn't scale > 1000 syblings at one location in a URL space 
if its mapped directly to JCR paths.

We have ~100K users, and they all need a number of predictable home storage 
spaces and a number of predictable message storage spaces, which I dont want to 
hard code or expose unfriendly urls.

We can keep going on our branch, but I keep on seeing others with similar 
problems on lists, not just sling-dev, and having a branch like this makes me 
nervous.

  

> Allow NonExistant Resources to have a Resource Type
> ---------------------------------------------------
>
>                 Key: SLING-1023
>                 URL: https://issues.apache.org/jira/browse/SLING-1023
>             Project: Sling
>          Issue Type: Improvement
>    Affects Versions: JCR Resource 2.0.4
>            Reporter: Ian Boston
>         Attachments: SLING-1023.patch
>
>
> We have been using a patch to the jcr.resolver bundle that allows us to map 
> non existent resources to a resource type so that they can be handled by a 
> servlet registered to that resource type. Our use case is to allow a node to 
> act as a marker and container for the virtual store where the URL path does 
> not equal the JCR storage path.
> eg the URL
> /_user/messages/ieb/10000000001
> maps to 
> /_user/messages/ed/fe/45/3e/ieb/23/ef/e4/d0/10000000001
> where only the node 
> /_user/messages is marked with a resource type.
> Patch to follow.

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

Reply via email to