Gene Sokolov wrote:
> I understand that midgard would not need a library, just a db interface
> definition. You could even say that the interface is libmysql (or whatever
> it's called). Then how about PHP? It supports a large number of databases in
> a reasonably consistent way. Midgard would probably need just a limited
> subset of these functions.
For the future, we need to create wrapper library which will hide all
differences between DBs. This library will be actually a hidden part of Midgard-
lib which is accessible from userland only by initialization function (i.e.
mgd_init_db(MGD_USE_MYSQL)). Functionality which needs to be provided is
described be Henri Bergius early on this week in Midgard-Dev list (use
http://marc.theaimsgroup.com/?l=midgard-dev to find exact message). Actually,
we'll need to have several such wrappers: one for DB, one for transport level
(HTTP/FTP/IRC/Mail, etc), one for inline scripting (I'm still dreaming about
Midgard integration with Perl for doing non-web based things like scientific
conference management which has not only Web but many other sides). There will
be also wrappers for utilites like searching, spell checking, markup converting
which correctly converts Midgard-specific tags like &(var); into form supported
by target format+scripting (really far from now idea), and many others which
create content management system.
--
Alexander
---------------------------------------------
This message was sent via BSPU MailMan server.
http://www.bspu.unibel.by/MailMan/
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]