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
