Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 49208 invoked from network); 10 Jun 2005 14:30:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jun 2005 14:30:34 -0000 Received: (qmail 24637 invoked by uid 500); 10 Jun 2005 14:30:33 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 24571 invoked by uid 500); 10 Jun 2005 14:30:32 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 24552 invoked by uid 99); 10 Jun 2005 14:30:32 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from natpreptil.rzone.de (HELO natpreptil.rzone.de) (81.169.145.163) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 07:30:31 -0700 Received: from celyn.store (celyn.store [192.168.40.103]) by fallback.webmailer.de (8.13.1/8.13.1) with ESMTP id j5A974Ls027134 for ; Fri, 10 Jun 2005 11:07:05 +0200 (MEST) Received: from 172.26.0.5 (242.Red-213-97-135.pooles.rima-tde.net [213.97.135.242]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id j5A8ERkD027710 for ; Fri, 10 Jun 2005 10:14:28 +0200 (MEST) Subject: [Fwd: Re: [views] Headsup - today suddenly views haven't worked anymore] From: Thorsten Scherler To: forrest dev Content-Type: multipart/mixed; boundary="=-Ei6Gf3R+XPihaMzVF6fK" Date: Fri, 10 Jun 2005 10:14:26 +0200 Message-Id: <1118391266.5497.12.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=-Ei6Gf3R+XPihaMzVF6fK Content-Type: text/plain Content-Transfer-Encoding: 7bit -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd) --=-Ei6Gf3R+XPihaMzVF6fK Content-Disposition: inline Content-Description: Forwarded message - Re: [views] Headsup - today suddenly views haven't worked anymore Content-Type: message/rfc822 Subject: Re: [views] Headsup - today suddenly views haven't worked anymore From: Thorsten Scherler To: Diwaker Gupta In-Reply-To: <1b0b455705060919197f84795f@mail.gmail.com> References: <1118365052.7483.33.camel@localhost.localdomain> <1b0b455705060919197f84795f@mail.gmail.com> Content-Type: text/plain Date: Fri, 10 Jun 2005 09:14:35 +0200 Message-Id: <1118387675.14313.13.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit On Thu, 2005-06-09 at 19:19 -0700, Diwaker Gupta wrote: > > I learned from this that > > select="document('http://xobjex.com/service/date.xsl')/date" > > is a dangerous thing to do in contracts. > > Its a simple script -- Forrest can host it on its own website. > :) It is not about the script. It is about that view helper should not directly contact business services. Business services should be contacted by business helper. It can be seen in the dispatcher view pattern that the view controller dispatches to business/view helper classes. A view helper should *only* transform the presentation model of the view and not resolving it. We need a clear separation for that. > But even that is not required -- I had supplied a simple Python script > that generates this document. All we need is to run this python script > _at the beginning_ of the build and generate the XML document, and > then keep reusing this XML document in all future calls in the build. > I like more the other suggestion you made later on (in another thread). ;-) salu2 -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd) --=-Ei6Gf3R+XPihaMzVF6fK--