Re: adodb abstraction

"J. Cox" <[email protected]>
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization PostNuke
Message-ID <[email protected]>
"Russell Griechen" <[email protected]> wrote in message
news:mailman.1046762580.3152.xaraya_knowledge-base-n5IRV0TL0hwRxVAL8JNkP+OyGI2DFzLe@public.gmane.org
> Hey glad to see an attempt at knowledgebase...
>
> I need to include some other tables in xar...database.
> So do i need to squirrel away some adodb abstraction in existing controls
or
> use something like PostWrap?

There are three choices that you have.

1) If the tables do not need to be accessible at all by Xaraya and only by
other applications, you can use the same database and simply use a different
prefix or a seperate database.

2) If the tables need to be accessible through another application, not by
Xaraya directly, but you intend on wrapping the application is some form or
method, then the tables also should use a different prefix or a seperate
database.

3) If you intend to use the tables with Xaraya, then the tables should be
built using a module xarinit.php file.  We use abstraction to create, call,
use, and call the tables so that they can be more accessible to other
databases besides MySQL.  For an example of the xarinit.php please reference
the example module in /html/modules/example.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.