click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Ionescu <aionescu1...@yahoo.com>
Subject Re: Rename Partial
Date Mon, 19 Jul 2010 16:53:23 GMT
>> Any suggestions?
> Fragment, (Snippet, Slice, Brick, Pagelet, Partlet, Slicelet) ?
>
> The "binary" content returned, it's indeed "complete", not "partial",
> but maybe the problem (and user confusion) is not with the naming, but
> the fact that "Partial" renders non-Ajax binary content too? For those
> binary resources, a much better name could be e.g. "Resource", so
>
> E.g. Something like
> public class Partial extends/implements Resource {
> ...
> }
> thus for "complete" binary responses to return a Resource, not a Partial?
"Resource" sounds good to me.

Click already has "ResourceElement":
http://click.apache.org/docs/click-api/org/apache/click/element/ResourceElement.html


regards,
Andrei.


Mime
View raw message