View Full Version : Access to multiple databases
01-07-04, 08:25 PM
I need to make some queries to external database in my module.
Also it is rather convenient for me to keep some settings in this DB.
Is it possible to modify dP abstraction class to make access to multiple DBases?
At the moment I'm using custom ADOdb include to connect to external DB and I wonder if dP user interface classes is dependant on dP.DB abstraction? What do I lose if I switch from dP.DB to ADOdb completely?
02-07-04, 01:08 PM
If you would like to recode dP to use ADOdb, then I would be very happy. This is the long-term plan and a lot of things depend upon it.
02-07-04, 07:34 PM
It will be rather hard to make it quick since I'm looking for earning some cash for living next weekend :? , but I'd like to try. A handy thing could be API documentation or dP scheme. For now I can see only dp.class.php to be revamped. Switching into ADOdb with multiple DB's at the same time can detach DB access class from dP scheme concept or just implement a new API feature.
As for API it would be great to see some structured documentation with short examples for each interface, provided by dP framework. Now I'm working on a module, which need some html/js widgets for data selection, but I can't find calendar interface nor in source code nor on TikiWiki. So I copy/pasted it from "projects" module. That's no good. =/
I've included a database schema on the tikiwiki site in xml format or PDF. We've also included a simple programmer's example there as well written by one of the developers. There is no further work currently underway on an API but we'd be happy to hear from volunteers.
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.