Re: JDBC? Was: [PHP] Hello! PHP
| From: | Julian Wood | Date: | Sat, 17 Mar 2001 21:07:58 +0000 |
| Subject: | Re: JDBC? Was: [PHP] Hello! PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44410@lists.php.net to get a copy of this message | ||
No - PHP has it's own drivers, just like perl has it's own (DBI), and java
has it's own (JDBC). As for PHP's abstraction layer, PHP comes built with
one for dbm style db's (http://www.php.net/manual/en/ref.dba.php), but not
for sql type db's. Several abstraction layer projects for sql db's have been
mentioned on the list - I have never used any of them - just the db-specific
API's. Try ADODB - there's a tutorial here:
http://php.weblogs.com/adodb_tutorial
J
on 3/17/01 1:10 PM, andrew at andrew@salamander.net wrote:
>
> actually, just wondering if PHP can use JDBC drivers to connect to
> databases. what is the 'abstracted db layer' that you mention?
>
> regards,
> andrew
>
>
> On 3/17/01 2:52 PM, "Julian Wood" <woodj@ucalgary.ca> wrote:
>
>>
>> I'm not quite sure what you mean. You use a JDBC driver to connect your java
>> program to an sql db. PHP has an abstracted db layer which parallels the
>> function of JDBC for the php environment. PHP also has db-specific API's,
>> which tend to be somewhat faster and can take advantage of specific db
>> features. Does that help?
>>
>> J
>>
>> on 3/16/01 7:36 PM, andrew at andrew@salamander.net wrote:
>>
>>>
>>> On a related noted, does PHP have JDBC support?
>>>
>>> I'm unable to find anything about this - anyone know if it's possible?
>>>
>>> regards,
>>> andrew
>>>
>>>
>> --
>> Julian Wood
>> Learning Technologies and Digital Media
>> University of Calgary
>>
>>
>
>
--
Julian Wood
Learning Technologies and Digital Media
University of Calgary