Hi Alex, I'd be interested in others' opinions on this, but my thought is that there's little real harm in providing page adapters for popular DBs, and not a lot of downside except the always-real issue of maintainability. If we as a team lose the member that provides the feature we're then in a position of supporting it.
That said, my first two cabs off the rank would be git and Spring Data, the latter is pretty flexible about its own backend, and pretty easy to use. Being able to back JSPWiki with a git repository would also be an interesting idea, something I've myself toyed with over the years. I have written a JSPWiki page adapter for my own bespoke database that I use within a CLI app I wrote, where the actual stored data is a JSON metadata header followed by the page data. That particular format is actually the native format for the app itself, so porting it for use with JSPWiki was pretty trivial. But given nobody else but me would be using it I hadn't thought to contribute it, though in theory that format works pretty well as a complete replacement for JSPWiki since it merges metadata and data in one file. This is sorta like the early Macintosh's file format with its resource and data forks... (though that reference may be too ancient for many people). Cheers, Murray On 2/09/24 06:00, Alex O'Ree wrote:
Hi i was considering writing page adapters for a few database based page and attachment providers. I knew there was JDBC support somewhere but i noticed it's actually not in this code base. It's actually over here (and it hasn't been touched in almost 10 years): https://github.com/digitalspider/jspwiki-plugins/ So my question is, is there any interest in adding a JDBC, or perhaps mongo or elastic search page and attachment adapter within this repo? Or is the preference to keep this project...more bare bones and leave the plugins for other repos?
-- ........................................................................... Murray Altheim <murray18 at altheim dot com> = = === http://www.altheim.com/murray/ === === = = === In the evening The rice leaves in the garden Rustle in the autumn wind That blows through my reed hut. -- Minamoto no Tsunenobu