Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 45583 invoked by uid 500); 24 Feb 2003 14:11:17 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 45551 invoked from network); 24 Feb 2003 14:11:16 -0000 Received: from smtp-out-4.wanadoo.fr (HELO mel-rto4.wanadoo.fr) (193.252.19.23) by daedalus.apache.org with SMTP; 24 Feb 2003 14:11:16 -0000 Received: from mel-rta8.wanadoo.fr (193.252.19.79) by mel-rto4.wanadoo.fr (6.7.015) id 3E0C33FD0254F2CA for cocoon-users@xml.apache.org; Mon, 24 Feb 2003 15:11:17 +0100 Received: from laurent (193.252.215.78) by mel-rta8.wanadoo.fr (6.7.015) id 3E26DA70015A4B76 for cocoon-users@xml.apache.org; Mon, 24 Feb 2003 15:11:17 +0100 From: "Laurent Comte" To: Subject: RE: Cocoon as a DataMapper framework Date: Mon, 24 Feb 2003 15:12:43 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <3E5A1DA3.9020007@e-tree.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Luca, I'm writing a web-application (servlets + POJO) that use Cocoon for presentation, so my application is Controller+Model, and Cocoon is View (plus Controller if I need), MVC model speaking. My application generate data (response) in XML, and then I forward the original request using "/view" alias, pointing to the main Cocoon servlet. AFAK, i's a servlet, so you can call it like another one ... Regards. Laurent -----Message d'origine----- De : Luca Zago [mailto:lzago@e-tree.com] Envoye : lundi 24 fevrier 2003 14:27 A : cocoon-users@xml.apache.org Objet : Cocoon as a DataMapper framework Hi, I was thinking about a data mapper framework, a framework which can take data from a source and write to another destination. An application scenario could be taking an xml somewhere (XML DB, HTML forms) and then writing it to a traget XML or even Relational DB. Then I was thinking why not to use cocoon to do it. I had some doubts, the nice thing could be that I write mainly the xml files for transformation and the pipelines, and then the framework works for me, my doubts are that coccon is too 'content delivery oriented' to apply such features. is cocoon in your opinion enough flexible to use it in such a scenario with not a great load of coding? Has somebody experienced such an application scenario for coccoon? One limitation immediately came to my mind is that cocoon works with a request from client, is it possible to call a pipeline programmatically? Thank you very much n advance for suggestions and opinions. Luca -- Luca Zago Senior IT Developer _____________________________________________________ E-TREE S.p.a. Via Fonderia 43 - 31100 Treviso (Italy) phone +39.0422.3107 fax +39.0422.310888 http://www.e-tree.com http://www.webanana.com _____________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org