Closed (won't fix)
Project:
Bible
Version:
6.x-1.2-rc9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jun 2009 at 06:17 UTC
Updated:
20 May 2011 at 13:15 UTC
I am working on a series of websites, all using the same drupal core files as a multi-site, and i would like the bible on all of the sites, but the one snag is that each site has a separate database, and it seems a bit wasteful to have the bible database tables replicated in each database - i exported just the bible tables, came to around 5MB - if i do this in a large number of sites, that 5MB each becomes quite huge.
Is there any way to have this module reference a single database, instead of the database being used by the rest of the drupal installation? i have *a little* experience with module writing, but if it is possible, can anyone point me in the right direction?
Comments
Comment #1
MikeLee_Birdy commentedDear Sir:
I've think about this feature, but I encounter some problems:
1. db permission. If I put all bible context in one mysql/postgresql db, how to write the module code to access the "common" db? Should this site manager assign some sql connection infomation or any other method?
2. Context selection. Not every site choose the same bible versions. This can be solved by allowing site administrator to choose which versions he/she wants.
3. Importing and bible administrating. This will become another site manager issue. Could be solved but need some extra work.
4. Or, change the verse reading by calling webservice method. But, this will cost more effort to work....
MikeLee
Comment #2
Kriss-dupe commentedBeen here too long, changing status for efficiency.
Comment #3
onepartscissors commented