Nathan wrote:
Matthew Tedder wrote:
Ok..

Maybe I am seeing how it works now.  I am not used to ODBC (usually, mysql,
postgresql, or mssql) and saw various examples under google searches
explicitly stating the database driver with such as "driver=..." in the odbc
connect statements.

Hi Matthew,

One PHP Dev to another, you can use the odbc functions:
   http://php.net/manual/en/book.uodbc.php

or you can use PDO with the ODBC drivers
   http://php.net/manual/en/ref.pdo-odbc.php

ODBC (Open Database Connectivity) can be used to connect to any database, not just Virtuoso - you can connect to MySQL through ODBC, Postgres through ODBC, and afaik virtually every other database out there.

Noted you've got a nice reply from Kingsley who's nailed all the facts, and honestly he's right - ODBC is a standardized API for DBMS solutions, if we all used ODBC rather than client specific connectors we'd have vendor portability and wouldn't need those 'clever' abstraction layers like PDO.

One additional comment. Nothing stops PDO sitting atop ODBC.

This page shows how pathetic things have become re. Open Data Access comprehension: http://www.php.net/manual/en/pdo.drivers.php :-(


Kingsley
Best & Good luck,

Nathan

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users



--

Regards,

Kingsley Idehen President & CEO OpenLink Software Web: http://www.openlinksw.com
Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca: kidehen





Reply via email to