click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Malcolm Edgar <malcolm.ed...@gmail.com>
Subject Re: Rename Partial
Date Sat, 24 Jul 2010 13:16:21 GMT
+1 ActionResult or ActionResponse

On Wed, Jul 21, 2010 at 5:15 PM, Bob Schellink <sabob1@gmail.com> wrote:
> On 20/07/2010 02:53, Andrei Ionescu wrote:
>> "Resource" sounds good to me.
>
> The name Resource is fine from the client/browser perspective. In REST URLs are seen
as a
> "Resources". How that is implemented on the server side is of no concern.
>
> However when looking at a Click Page you are looking at it from the server perspective,
so returning
> a Resource isn't right. Technically we are returning the "body" of an HTTP response.
The headers are
> manipulated through the HttpServletResponse object. So Payload is a better term but not
well known.
>
> Prefixing the name with "Action" might help to place context around the result. Something
like:
>
> ActionContent
> ActionBody
> ActionResult
>
> ...Ponder
>
> Bob
>
>

Mime
View raw message