[size=x-large]3rd Party Recommendation[/size]
Homepage:
http://adodb.sourceforge.net/Sourceforge Download:
http://sourceforge.net/projects/adodb/Project Title:
ADOdb Database Abstraction Library for PHPRequirements: PHP 5.0 or later. There is a version available that works with PHP 4.1 to 5.2 also.
This class I have constructed tonight will allow XOOPS to talk to :: MySQL, PostgreSQL, Interbase, Firebird, Informix, Oracle, MS SQL, Foxpro, Access, ADO, Sybase, FrontBase, DB2, SAP DB, SQLite, Netezza, LDAP, andgeneric ODBC, ODBTP. The Sybase, Informix, FrontBase and PostgreSQL, Netezza, LDAP, ODBTP --- Database systems.
ADOdb is a workhorse when it comes to pdo libraries for Xoops. And it is all tested.. Bundling this with a small function similar to text sanitization for SQL Parsing between systems, so a module only has to come with one SQL file and convert it on the fly.
The full database system for XOOPS would with what I have envisaged is this sort of spectrum of support for databases, I think it should be adopted as the PDO for 3.0 as well.. then they will be cross compatible.
So far with
xoops2_class_database_adodb_0.10.zip - the pre alpha of this code the sessions and loggin on has crashed and burned.. but the database works fine.
Give it a test on mysql, seems to be runnin fine, replace your database directory with this one. The archive
xoops2_class_database_adodb_0.10.zip is a prealpha and contains the following paths and files:
^ docs
$ htdocs
^ docsdirlist.txt
^ docsINSTALL
$ htdocsclass
$ htdocsclassdatabase
$ htdocsclassdatabaseaccess_adodb.php
$ htdocsclassdatabaseado5_adodb.php
$ htdocsclassdatabaseadodb
$ htdocsclassdatabaseado_access_adodb.php
$ htdocsclassdatabaseado_adodb.php
$ htdocsclassdatabaseado_mssql_adodb.php
$ htdocsclassdatabaseads_adodb.php
$ htdocsclassdatabaseborland_ibase_adodb.php
$ htdocsclassdatabasecsv_adodb.php
$ htdocsclassdatabasedatabase.php
$ htdocsclassdatabasedatabasefactory.php
$ htdocsclassdatabasedb2oci_adodb.php
$ htdocsclassdatabasedb2_adodb.php
$ htdocsclassdatabasefbsql_adodb.php
$ htdocsclassdatabasefirebird_adodb.php
$ htdocsclassdatabaseibase_adodb.php
$ htdocsclassdatabaseindex.html
$ htdocsclassdatabaseinformix72_adodb.php
$ htdocsclassdatabaseinformix_adodb.php
$ htdocsclassdatabaseldap_adodb.php
$ htdocsclassdatabasemssqlnative_adodb.php
$ htdocsclassdatabasemssqlpo_adodb.php
$ htdocsclassdatabasemssql_adodb.php
$ htdocsclassdatabasemssql_n_adodb.php
$ htdocsclassdatabasemysqli_adodb.php
$ htdocsclassdatabasemysqlpo_adodb.php
$ htdocsclassdatabasemysqlt_adodb.php
$ htdocsclassdatabasemysql_adodb.php
$ htdocsclassdatabasenetezza_adodb.php
$ htdocsclassdatabaseoci805_adodb.php
$ htdocsclassdatabaseoci8po_adodb.php
$ htdocsclassdatabaseoci8_adodb.php
$ htdocsclassdatabaseodbc_adodb.php
$ htdocsclassdatabaseodbc_db2_adodb.php
$ htdocsclassdatabaseodbc_mssql_adodb.php
$ htdocsclassdatabaseodbc_oracle_adodb.php
$ htdocsclassdatabaseodbtp_adodb.php
$ htdocsclassdatabaseodbtp_unicode_adodb.php
$ htdocsclassdatabaseoracle_adodb.php
$ htdocsclassdatabasepdo
$ htdocsclassdatabasepdo_adodb.php
$ htdocsclassdatabasepdo_mssql_adodb.php
$ htdocsclassdatabasepdo_mysql_adodb.php
$ htdocsclassdatabasepdo_oci_adodb.php
$ htdocsclassdatabasepdo_pgsql_adodb.php
$ htdocsclassdatabasepdo_sqlite_adodb.php
$ htdocsclassdatabasepostgres7_adodb.php
$ htdocsclassdatabasepostgres8_adodb.php
$ htdocsclassdatabasepostgres_adodb.php
$ htdocsclassdatabaseproxy_adodb.php
$ htdocsclassdatabasesapdb_adodb.php
$ htdocsclassdatabasesqlanywhere_adodb.php
$ htdocsclassdatabasesqlitepo_adodb.php
$ htdocsclassdatabasesqlite_adodb.php
$ htdocsclassdatabasesqlutility.php
$ htdocsclassdatabasesybase_adodb.php
$ htdocsclassdatabasesybase_ase_adodb.php
$ htdocsclassdatabasevfp_adodb.php
$ htdocsclassdatabaseadodbadodb-active-record.inc.php
$ htdocsclassdatabaseadodbadodb-active-recordx.inc.php
$ htdocsclassdatabaseadodbadodb-csvlib.inc.php
$ htdocsclassdatabaseadodbadodb-datadict.inc.php
$ htdocsclassdatabaseadodbadodb-error.inc.php
$ htdocsclassdatabaseadodbadodb-errorhandler.inc.php
$ htdocsclassdatabaseadodbadodb-errorpear.inc.php
$ htdocsclassdatabaseadodbadodb-exceptions.inc.php
$ htdocsclassdatabaseadodbadodb-iterator.inc.php
$ htdocsclassdatabaseadodbadodb-lib.inc.php
$ htdocsclassdatabaseadodbadodb-memcache.lib.inc.php
$ htdocsclassdatabaseadodbadodb-pager.inc.php
$ htdocsclassdatabaseadodbadodb-pear.inc.php
$ htdocsclassdatabaseadodbadodb-perf.inc.php
$ htdocsclassdatabaseadodbadodb-php4.inc.php
$ htdocsclassdatabaseadodbadodb-time.inc.php
$ htdocsclassdatabaseadodbadodb-xmlschema.inc.php
$ htdocsclassdatabaseadodbadodb-xmlschema03.inc.php
$ htdocsclassdatabaseadodbadodb.inc.php
$ htdocsclassdatabaseadodbadodb5
$ htdocsclassdatabaseadodbcontrib
$ htdocsclassdatabaseadodbcute_icons_for_site
$ htdocsclassdatabaseadodbdatadict
$ htdocsclassdatabaseadodbdocs
$ htdocsclassdatabaseadodbdrivers
$ htdocsclassdatabaseadodblang
$ htdocsclassdatabaseadodblicense.txt
$ htdocsclassdatabaseadodbpear
$ htdocsclassdatabaseadodbperf
$ htdocsclassdatabaseadodbpivottable.inc.php
$ htdocsclassdatabaseadodbreadme.txt
$ htdocsclassdatabaseadodbrsfilter.inc.php
$ htdocsclassdatabaseadodbserver.php
$ htdocsclassdatabaseadodbsession
$ htdocsclassdatabaseadodbtests
$ htdocsclassdatabaseadodbtoexport.inc.php
$ htdocsclassdatabaseadodbtohtml.inc.php
$ htdocsclassdatabaseadodbxmlschema.dtd
$ htdocsclassdatabaseadodbxmlschema03.dtd
$ htdocsclassdatabaseadodbxsl
$ htdocsclassdatabaseadodbcontribtoxmlrpc.inc.php
$ htdocsclassdatabaseadodbcute_icons_for_siteadodb.gif
$ htdocsclassdatabaseadodbcute_icons_for_siteadodb2.gif
$ htdocsclassdatabaseadodbdatadictdatadict-access.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-db2.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-firebird.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-generic.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-ibase.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-informix.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-mssql.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-mssqlnative.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-mysql.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-oci8.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-postgres.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-sapdb.inc.php
$ htdocsclassdatabaseadodbdatadictdatadict-sybase.inc.php
$ htdocsclassdatabaseadodbdocsdocs-active-record.htm
$ htdocsclassdatabaseadodbdocsdocs-adodb.htm
$ htdocsclassdatabaseadodbdocsdocs-datadict.htm
$ htdocsclassdatabaseadodbdocsdocs-oracle.htm
$ htdocsclassdatabaseadodbdocsdocs-perf.htm
$ htdocsclassdatabaseadodbdocsdocs-session.htm
$ htdocsclassdatabaseadodbdocsdocs-session.old.htm
$ htdocsclassdatabaseadodbdocsold-changelog.htm
$ htdocsclassdatabaseadodbdocsreadme.htm
$ htdocsclassdatabaseadodbdocstips_portable_sql.htm
$ htdocsclassdatabaseadodbdocstute.htm
$ htdocsclassdatabaseadodbdriversadodb-access.inc.php
$ htdocsclassdatabaseadodbdriversadodb-ado.inc.php
$ htdocsclassdatabaseadodbdriversadodb-ado5.inc.php
$ htdocsclassdatabaseadodbdriversadodb-ado_access.inc.php
$ htdocsclassdatabaseadodbdriversadodb-ado_mssql.inc.php
$ htdocsclassdatabaseadodbdriversadodb-ads.inc.php
$ htdocsclassdatabaseadodbdriversadodb-borland_ibase.inc.php
$ htdocsclassdatabaseadodbdriversadodb-csv.inc.php
$ htdocsclassdatabaseadodbdriversadodb-db2.inc.php
$ htdocsclassdatabaseadodbdriversadodb-db2oci.inc.php
$ htdocsclassdatabaseadodbdriversadodb-fbsql.inc.php
$ htdocsclassdatabaseadodbdriversadodb-firebird.inc.php
$ htdocsclassdatabaseadodbdriversadodb-ibase.inc.php
$ htdocsclassdatabaseadodbdriversadodb-informix.inc.php
$ htdocsclassdatabaseadodbdriversadodb-informix72.inc.php
$ htdocsclassdatabaseadodbdriversadodb-ldap.inc.php
$ htdocsclassdatabaseadodbdriversadodb-mssql.inc.php
$ htdocsclassdatabaseadodbdriversadodb-mssqlnative.inc.php
$ htdocsclassdatabaseadodbdriversadodb-mssqlpo.inc.php
$ htdocsclassdatabaseadodbdriversadodb-mssql_n.inc.php
$ htdocsclassdatabaseadodbdriversadodb-mysql.inc.php
$ htdocsclassdatabaseadodbdriversadodb-mysqli.inc.php
$ htdocsclassdatabaseadodbdriversadodb-mysqlpo.inc.php
$ htdocsclassdatabaseadodbdriversadodb-mysqlt.inc.php
$ htdocsclassdatabaseadodbdriversadodb-netezza.inc.php
$ htdocsclassdatabaseadodbdriversadodb-oci8.inc.php
$ htdocsclassdatabaseadodbdriversadodb-oci805.inc.php
$ htdocsclassdatabaseadodbdriversadodb-oci8po.inc.php
$ htdocsclassdatabaseadodbdriversadodb-odbc.inc.php
$ htdocsclassdatabaseadodbdriversadodb-odbc_db2.inc.php
$ htdocsclassdatabaseadodbdriversadodb-odbc_mssql.inc.php
$ htdocsclassdatabaseadodbdriversadodb-odbc_oracle.inc.php
$ htdocsclassdatabaseadodbdriversadodb-odbtp.inc.php
$ htdocsclassdatabaseadodbdriversadodb-odbtp_unicode.inc.php
$ htdocsclassdatabaseadodbdriversadodb-oracle.inc.php
$ htdocsclassdatabaseadodbdriversadodb-pdo.inc.php
$ htdocsclassdatabaseadodbdriversadodb-pdo_mssql.inc.php
$ htdocsclassdatabaseadodbdriversadodb-pdo_mysql.inc.php
$ htdocsclassdatabaseadodbdriversadodb-pdo_oci.inc.php
$ htdocsclassdatabaseadodbdriversadodb-pdo_pgsql.inc.php
$ htdocsclassdatabaseadodbdriversadodb-pdo_sqlite.inc.php
$ htdocsclassdatabaseadodbdriversadodb-postgres.inc.php
$ htdocsclassdatabaseadodbdriversadodb-postgres64.inc.php
$ htdocsclassdatabaseadodbdriversadodb-postgres7.inc.php
$ htdocsclassdatabaseadodbdriversadodb-postgres8.inc.php
$ htdocsclassdatabaseadodbdriversadodb-proxy.inc.php
$ htdocsclassdatabaseadodbdriversadodb-sapdb.inc.php
$ htdocsclassdatabaseadodbdriversadodb-sqlanywhere.inc.php
$ htdocsclassdatabaseadodbdriversadodb-sqlite.inc.php
$ htdocsclassdatabaseadodbdriversadodb-sqlitepo.inc.php
$ htdocsclassdatabaseadodbdriversadodb-sybase.inc.php
$ htdocsclassdatabaseadodbdriversadodb-sybase_ase.inc.php
$ htdocsclassdatabaseadodbdriversadodb-vfp.inc.php
$ htdocsclassdatabaseadodblangadodb-ar.inc.php
$ htdocsclassdatabaseadodblangadodb-bg.inc.php
$ htdocsclassdatabaseadodblangadodb-bgutf8.inc.php
$ htdocsclassdatabaseadodblangadodb-ca.inc.php
$ htdocsclassdatabaseadodblangadodb-cn.inc.php
$ htdocsclassdatabaseadodblangadodb-cz.inc.php
$ htdocsclassdatabaseadodblangadodb-da.inc.php
$ htdocsclassdatabaseadodblangadodb-de.inc.php
$ htdocsclassdatabaseadodblangadodb-en.inc.php
$ htdocsclassdatabaseadodblangadodb-es.inc.php
$ htdocsclassdatabaseadodblangadodb-esperanto.inc.php
$ htdocsclassdatabaseadodblangadodb-fa.inc.php
$ htdocsclassdatabaseadodblangadodb-fr.inc.php
$ htdocsclassdatabaseadodblangadodb-hu.inc.php
$ htdocsclassdatabaseadodblangadodb-it.inc.php
$ htdocsclassdatabaseadodblangadodb-nl.inc.php
$ htdocsclassdatabaseadodblangadodb-pl.inc.php
$ htdocsclassdatabaseadodblangadodb-pt-br.inc.php
$ htdocsclassdatabaseadodblangadodb-ro.inc.php
$ htdocsclassdatabaseadodblangadodb-ru1251.inc.php
$ htdocsclassdatabaseadodblangadodb-sv.inc.php
$ htdocsclassdatabaseadodblangadodb-uk1251.inc.php
$ htdocsclassdatabaseadodblangadodb_th.inc.php
$ htdocsclassdatabaseadodbpearAuth
$ htdocsclassdatabaseadodbpearreadme.Auth.txt
$ htdocsclassdatabaseadodbpearAuthContainer
$ htdocsclassdatabaseadodbpearAuthContainerADOdb.php
$ htdocsclassdatabaseadodbperfperf-db2.inc.php
$ htdocsclassdatabaseadodbperfperf-informix.inc.php
$ htdocsclassdatabaseadodbperfperf-mssql.inc.php
$ htdocsclassdatabaseadodbperfperf-mssqlnative.inc.php
$ htdocsclassdatabaseadodbperfperf-mysql.inc.php
$ htdocsclassdatabaseadodbperfperf-oci8.inc.php
$ htdocsclassdatabaseadodbperfperf-postgres.inc.php
$ htdocsclassdatabaseadodbsessionadodb-compress-bzip2.php
$ htdocsclassdatabaseadodbsessionadodb-compress-gzip.php
$ htdocsclassdatabaseadodbsessionadodb-cryptsession.php
$ htdocsclassdatabaseadodbsessionadodb-cryptsession2.php
$ htdocsclassdatabaseadodbsessionadodb-encrypt-mcrypt.php
$ htdocsclassdatabaseadodbsessionadodb-encrypt-md5.php
$ htdocsclassdatabaseadodbsessionadodb-encrypt-secret.php
$ htdocsclassdatabaseadodbsessionadodb-encrypt-sha1.php
$ htdocsclassdatabaseadodbsessionadodb-sess.txt
$ htdocsclassdatabaseadodbsessionadodb-session-clob.php
$ htdocsclassdatabaseadodbsessionadodb-session-clob2.php
$ htdocsclassdatabaseadodbsessionadodb-session.php
$ htdocsclassdatabaseadodbsessionadodb-session2.php
$ htdocsclassdatabaseadodbsessionadodb-sessions.mysql.sql
$ htdocsclassdatabaseadodbsessionadodb-sessions.oracle.clob.sql
$ htdocsclassdatabaseadodbsessionadodb-sessions.oracle.sql
$ htdocsclassdatabaseadodbsessioncrypt.inc.php
$ htdocsclassdatabaseadodbsessionold
$ htdocsclassdatabaseadodbsessionsession_schema.xml
$ htdocsclassdatabaseadodbsessionsession_schema2.xml
$ htdocsclassdatabaseadodbsessionoldadodb-cryptsession.php
$ htdocsclassdatabaseadodbsessionoldadodb-session-clob.php
$ htdocsclassdatabaseadodbsessionoldadodb-session.php
$ htdocsclassdatabaseadodbsessionoldcrypt.inc.php
$ htdocsclassdatabaseadodbtestsbenchmark.php
$ htdocsclassdatabaseadodbtestsclient.php
$ htdocsclassdatabaseadodbtestspdo.php
$ htdocsclassdatabaseadodbteststest-active-record.php
$ htdocsclassdatabaseadodbteststest-active-recs2.php
$ htdocsclassdatabaseadodbteststest-active-relations.php
$ htdocsclassdatabaseadodbteststest-active-relationsx.php
$ htdocsclassdatabaseadodbteststest-datadict.php
$ htdocsclassdatabaseadodbteststest-perf.php
$ htdocsclassdatabaseadodbteststest-pgblob.php
$ htdocsclassdatabaseadodbteststest-php5.php
$ htdocsclassdatabaseadodbteststest-xmlschema.php
$ htdocsclassdatabaseadodbteststest.php
$ htdocsclassdatabaseadodbteststest2.php
$ htdocsclassdatabaseadodbteststest3.php
$ htdocsclassdatabaseadodbteststest4.php
$ htdocsclassdatabaseadodbteststest5.php
$ htdocsclassdatabaseadodbteststestcache.php
$ htdocsclassdatabaseadodbteststestdatabases.inc.php
$ htdocsclassdatabaseadodbteststestgenid.php
$ htdocsclassdatabaseadodbteststestmssql.php
$ htdocsclassdatabaseadodbteststestoci8.php
$ htdocsclassdatabaseadodbteststestoci8cursor.php
$ htdocsclassdatabaseadodbteststestpaging.php
$ htdocsclassdatabaseadodbteststestpear.php
$ htdocsclassdatabaseadodbteststestsessions.php
$ htdocsclassdatabaseadodbteststest_rs_array.php
$ htdocsclassdatabaseadodbteststime.php
$ htdocsclassdatabaseadodbteststmssql.php
$ htdocsclassdatabaseadodbtestsxmlschema-mssql.xml
$ htdocsclassdatabaseadodbtestsxmlschema.xml
$ htdocsclassdatabaseadodbxslconvert-0.1-0.2.xsl
$ htdocsclassdatabaseadodbxslconvert-0.1-0.3.xsl
$ htdocsclassdatabaseadodbxslconvert-0.2-0.1.xsl
$ htdocsclassdatabaseadodbxslconvert-0.2-0.3.xsl
$ htdocsclassdatabaseadodbxslremove-0.2.xsl
$ htdocsclassdatabaseadodbxslremove-0.3.xsl