Hi Dominik, On Thu, Jan 29, 2015 at 2:52 PM, Dominik Süß <[email protected]> wrote: > ...I had a chance to look at that model yesterday and absolutely think this is > a great way since it is not too far away from what we have right now...
Yeah, we might even be able to run an existing Sling instance with /libs and /apps as a "legacy" tenant on this new model by moving the existing content around a bit, to provide a smooth transition. > ...The detail about the constraint to just use an assembly would therefore be > a constraint on the resourceType Path that would be evaluated by the > resourceResolver and ignores resourceType not being part of the assembly.... I was thinking a bit differently, resource types just need to start with the module path like blog/post for the blog module. Then, the script resolver only considers /assemblies/T where T is the tenant ID, looks for a script or servlet reference resolution for blog/post under there, and remaps that to the actual module script based on which modules the assembly points to. All this needs to be proved by some working code if we want to seriously kick the tires of this new model. -Bertrand
