+1 ActionResult or ActionResponse
On Wed, Jul 21, 2010 at 5:15 PM, Bob Schellink <[email protected]> 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 > >
