Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 26262 invoked by uid 500); 10 Feb 2002 12:53:14 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 26251 invoked from network); 10 Feb 2002 12:53:13 -0000 From: "Mikhail Fedotov" Subject: Re: [RT] Cocoon Symmetry (short :) To: cocoon-dev@xml.apache.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.2 Date: Sun, 10 Feb 2002 15:53:11 +0300 Message-ID: In-Reply-To: <3C665E6B.ED2E6922@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi! > This asymmetric limitation is intentional and due to the > architecture of the web: the response goes back to the > requestor. Always. > In SMTP, for example, this is different. I'm not thinking about cocoon as a tool only for formatting and showing requested stuff. For example, I might need to send a message via email or any other way without any response, and then get response in the form of another request from remote system. Meaningful response in both cases would be "I've got your message, thanks" or "something wrong at the stage or parsing or processing or sending, when the actual sending happens in some transformer. So there is no programming problem with that asynchronous stuff if the whole process doesn't take much time, if just has to be done as an transformer which does the job of serializing your stuff the way you want and then gives back simple response to say that everything is ok. The only problem is that this transformer does things that thasformers aren't supposed to do, but it don't think it is a big problem. Hmm... We have some email-related logicsheets. Why don't implement the same thing as a transformer ? One XML on input with email-related fragment, another XML on output with that fragment replaced with "Your message was sent successfuly" stuff, and then we apply some fancy formatting using xslt formatter. This way we can evade compiling of xsp. Mikhail --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org