Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 2997 invoked from network); 24 Feb 2004 00:32:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Feb 2004 00:32:02 -0000 Received: (qmail 69923 invoked by uid 500); 24 Feb 2004 00:31:35 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 69834 invoked by uid 500); 24 Feb 2004 00:31:34 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 69614 invoked from network); 24 Feb 2004 00:31:33 -0000 Received: from unknown (HELO host.leverageweb.com) (64.91.254.192) by daedalus.apache.org with SMTP; 24 Feb 2004 00:31:33 -0000 Received: from va-leesburg-cmts5c-90.chvlva.adelphia.net ([67.21.159.90] helo=leverageweb.com) by host.leverageweb.com with esmtp (Exim 4.24) id 1AvQlG-0000xI-W8 for dev@cocoon.apache.org; Mon, 23 Feb 2004 19:49:23 -0500 Message-ID: <403A9C6C.3010408@leverageweb.com> Date: Mon, 23 Feb 2004 19:35:56 -0500 From: Geoff Howard User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Momento and Cocoon [was Re: Jisp 3.0 moved to GPL licence] References: <000e01c3f9f0$bcbe9620$1e01a8c0@WRPO> <4039D2FC.7080608@upaya.co.uk> In-Reply-To: <4039D2FC.7080608@upaya.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.leverageweb.com X-AntiAbuse: Original Domain - cocoon.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - leverageweb.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Upayavira wrote: > [changing subject...] > > Reinhard Poetz wrote: > >> From: Alan >> >>> * Geoff Howard [2004-02-22 18:47]: >>> >>> >>>> Alan wrote: >>>> >>>> >>>>> * Upayavira [2004-02-22 07:58]: >>>>> >>>>> >>>>>> I tend to think that Momento isn't suited to this need. >>>>> >>>>>> However, as an XML data repository, it seems very interesting. >>>>>> >>>>> >>>>> I've got a better idea of how Jisp is used in Cocoon from reading >>>>> all the discussion after my post. >>>>> >>>>> I suggested Momento because someone suggested Xindice which led >>>>> me to believe Jisp handled an XML persistence task. >>>>> >>>>> Might not be the best bet, no. >>>>> >>>> >>>> Still, I think finding a way to use momento to reduce >>> >>> memory overhead >>> >>>> in >>>> working with large xml datasets has great potential. No one really >>>> knows how great, but a demo/sample using it would be a >>> >>> start... (hint >>> >>>> hint :) ) >>>> >>> >>> Working on it. As noted, I have JAXP implemented and SAX interface >>> to XUpdate. I have APIs. I am going to start working on services >>> next. >> JAXP... see below.... >>> A Cocoon generator that takes a Momento data source and an XSLT >>> transform would be a start. >>> >>> I'm not sure how to get information into Momento via Cocoon. I'm >>> thinking about some sort of Woody binding, but that goes beyond >>> my current understanding of Cocoon. >>> >> >> speaking without following this thread closly: What about >> implementing a Momento source? > I starting to wonder if I'm being dense... wouldn't the easiest first test integratin be to use Memento as the JAXP xslt processor to reduce memory overhead on transformations of large data sets? Maybe I've misunderstood where/what momento is as a project? The jaxp processor is declared in cocoon.xconf (see instructions for switching to saxon for example). > Yup. Alan, take a look at the XMLDBSource and XMLDBSourceFactory. I > think you'll find them reasonably similar to what you might want to do > (in src/blocks/xmldb/java/org/apache/cocoon/components/source/impl) > > If you implemented a MomentoSource, and made it implement > ModifiableSource, then you would be able to read/write from within > Cocoon. With this, you would be able to use Woody's binding > functionality to bind forms directly to Momento data. > > You could also do something like the XMLDBTransformer to allow updates > (src/blocks/xmldb/java/org/apache/cocoon/transformation/XMLDBTransformer.java). > > > [NB. with an XML:DB interface to Momento, you wouldn't need to do > anything to interface to Cocoon]. These are also good ideas for the write aspect, but I see benefit in the read aspect if I understood correctly. Geoff