click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Schellink <sab...@gmail.com>
Subject Re: Rename Partial
Date Wed, 21 Jul 2010 07:15:46 GMT
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