Stephen McConnell wrote:
>
>
> Carsten Ziegeler wrote:
>
> >a) I think a block should also be able to expose resources directly, e.g.
> >   images.
> >
> Carsten:
>
> Do you think it would be reasonable for access to a resource to be
> expressed as a service. I.e. the client goes though an interface exposed
> as a service to access the resource.  This present the benefit that the
> block (as the resource repository) does not need to be exposed to the
> client.  It also means that we are always dealing with the same
> conceptual service access model.
>
Sorry, perhaps we are talking about the same thing, but I lost you here.
I think, it makes sense to access resources (= files) via the block
protocol, e.g.:

<map:read src="block:skin://images/logo.jpg"/>

Now, we could say that "images/logo.jpg" is resolved using a sitemap
and therefore implemented as a pipeline, so resources are not served
directory.

Do you mean this (I guess not ;) )?

Carsten


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to