https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18585

--- Comment #15 from David Cook <[email protected]> ---
I'm thinking a little bit about what this would look like... 

I'm thinking maybe:

Code:
C4::Context::triplestore($model_name)

Config:

model_name: query
module:
url: 
username:
password:
realm:

model_name: update
module:
url: 
username:
password:
realm:

model_name: custom
module:
url: 
username:
password:
realm:
#NOTE: I doubt we'd ever use custom... but the flexibility would be there.
Maybe there will be a case where in the future we want to be able to connect to
multiple triplestores for some reason. Who knows?

--

This would actually work well with how RDF::Trine::Store::DBI is set up since
it uses "model name" in its constructor. 
http://search.cpan.org/dist/RDF-Trine/lib/RDF/Trine/Store/DBI.pm

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to