Return-Path: Delivered-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Received: (qmail 99793 invoked from network); 14 Dec 2010 22:02:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Dec 2010 22:02:50 -0000 Received: (qmail 34469 invoked by uid 500); 14 Dec 2010 22:02:50 -0000 Delivered-To: apmail-incubator-isis-dev-archive@incubator.apache.org Received: (qmail 34454 invoked by uid 500); 14 Dec 2010 22:02:50 -0000 Mailing-List: contact isis-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: isis-dev@incubator.apache.org Delivered-To: mailing list isis-dev@incubator.apache.org Received: (qmail 34444 invoked by uid 99); 14 Dec 2010 22:02:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 22:02:50 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dkhaywood@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-wy0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 22:02:50 +0000 Received: by wyb40 with SMTP id 40so959003wyb.6 for ; Tue, 14 Dec 2010 14:02:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :organization:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=rWnVlZzapsKbBS+GU0JVSssSkh0NiE7nn6PGq+Kfdhg=; b=Gh4Yx+Cza0LPY6LpYb9olwFqv778lnhDTDJxVMhnD1JoGFoXLsBRsVtmDXahT4yg2T Bxj0Di37hMhlD6CuWB2EQA2Vr58c0Nc77a+7p3jAeMrs1BuX1nBks30DgczthUJM6qGw ZnmLZm3qJvYN+YLCDqTocw7L2qHMSOeWlBbHI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:subject:references:in-reply-to:content-type; b=tKo3bMaiL4V+L3ZZMCy2svxBL+aaa8VaOHZHQWrknoydx+obxpKvJUDWQi2Zr+WibH c5OIYh2AdTHp7Un8ooYdYfmiHeJ8MlLw8g7BKHZZbguV/l+wuypDFeVpq/Y+pP0/05/q 7wk0X4Ix4hCHWXHetcjGvuETngb0ImHVWAEyY= Received: by 10.216.171.19 with SMTP id q19mr5420377wel.53.1292364148970; Tue, 14 Dec 2010 14:02:28 -0800 (PST) Received: from [192.168.1.121] (host86-171-226-130.range86-171.btcentralplus.com [86.171.226.130]) by mx.google.com with ESMTPS id p4sm414506wer.29.2010.12.14.14.02.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 14 Dec 2010 14:02:27 -0800 (PST) Message-ID: <4D07E97A.4090609@gmail.com> Date: Tue, 14 Dec 2010 22:02:34 +0000 From: Dan Haywood Reply-To: dan@haywood-associates.co.uk Organization: Haywood Associates Ltd. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: isis-dev@incubator.apache.org Subject: Re: Reports References: <4D07C3E0.4050907@gmail.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------060806020308090608070909" --------------060806020308090608070909 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 14/12/2010 21:01, Mike Burton wrote: > Many thanks Dan, > > My Report class does similar to PdfRenderService& XlsGenerationService etc, I should probably spilt it into separate classes, with adapters for each platform (seam, jsf, servlet...) I could then see generation& customisation of layouts working in a similar way to Facelets Views, so will give it more thought. Looks like we're on the same page, interested to see what you come up with. > Might there be a better name for it than "view model" btw? I called it "process object" pattern in my book, though that was really only half the story since I was talking mostly about input of data for a specific use case, eg a wizard. A name I had come up with for an object designed for output was "report object". But the term "view model" seems to be catching on, at least in the .NET world, so I'd be happy to adopt it to instead of either of the above terms. > Mike > ( iPhone) > > --------------060806020308090608070909--