cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <reinh...@apache.org>
Subject RE: Momento and Cocoon [was Re: Jisp 3.0 moved to GPL licence]
Date Mon, 23 Feb 2004 10:28:16 GMT

From: Upayavira

> >speaking without following this thread closly:
> >What about implementing a Momento source?
> >  
> >
> 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/XMLDBT
> ransformer.java).
> 
> [NB. with an XML:DB interface to Momento, you wouldn't need to do 
> anything to interface to Cocoon].
> 
> Hope this helps.

Thanks, this is exactly what I was thinking of!

Best,
Reinhard


Mime
View raw message