RE: [PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-02-01 Thread Marc Boeren


Hi,

>I need to spend some time with the Zend API to see if it's really worth it
>for my time to go about doing it, but yes, I am very much considering
>turning it into C.

>I've really been hoping that someone was going to take an intermediately
>complex Zend extension and put together a how-to that would help beginners
>and advanced programmers alike.

I've managed to create a working module using the 'web application
development with php 4.0' book, lurking on this list, searching on the net
and nosing through the code. The module is able to use functions from the
compiled-in mysql-module and all seems ok, so I think the basic ingredients
to build a db-abstraction module are available...

>I think there is a real need for someone or a group of programmers to get
>together and write a step-by-step theory/implementation "cookbook" for the
>sake of the community. Should I reach that point, I'd be happy to do it,
but
>I tend to believe that the community could do it faster and better than I
>could right now, and that if if such a document were made publicly
>available, the community could build more and better core tools faster.

You could try www.zend.com/apidoc, which contains a part of the book I
mentioned and gives a nice intro/howto to developing php-extensions. It's
helped me, I know :-)

Cheerio, Marc.



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-02-01 Thread Marc Boeren


>  do a search on Google for SQL Relay ...

I have (just now), but it seems to do a great deal more than I have in mind
(plus it needs daemons running that only run on linux/unix-like systems) and
it uses it's own database functions instead of the modules that are already
available to PHP...

Cheerio, Marc.

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-01-31 Thread clayton collie

Marc,
  do a search on Google for SQL Relay ...


"Marc Boeren" <[EMAIL PROTECTED]> wrote in message
7BE0F4A5D7AED2119B7500A0C94C58AC094C46@DELLSERVER">news:7BE0F4A5D7AED2119B7500A0C94C58AC094C46@DELLSERVER...

> I know, but this is done in php-script, not as a php-module... wouldn't a
> php-module be more efficient (faster?) and less hassle to use for people
> (php compiled with dbal-module and eg mysql-module, users just type
> $handle=dbal_connect("MySQL", "dbname", "username", "pasword"); or
something
> and don't have to include the php-scripts on their own pages) ?
>
> Cheerio, Marc.
>
> --
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-01-31 Thread Marc Boeren


>there exists a db abstraction layer in the PEAR (pear.php.net)

I know, but this is done in php-script, not as a php-module... wouldn't a
php-module be more efficient (faster?) and less hassle to use for people
(php compiled with dbal-module and eg mysql-module, users just type
$handle=dbal_connect("MySQL", "dbname", "username", "pasword"); or something
and don't have to include the php-scripts on their own pages) ?

Cheerio, Marc.

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




AW: [PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-01-31 Thread Harald Radi

there exists a db abstraction layer in the PEAR (pear.php.net)

harald.

> -Ursprüngliche Nachricht-
> Von: Marc Boeren [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 31. Jänner 2001 16:57
> An: '[EMAIL PROTECTED]'
> Cc: 'Mark J. Hershenson'
> Betreff: [PHP-DEV] database abstraction layers [from: MySQL feature/bug]
>
>
>
> >I have been crafting my own database abstraction layer, and in doing so
> >create an array of the results of a query.
>
> Is this an db abstraction layer written in php (script), or written as a
> module for php (C)?
>
> I was thinking of writing an (open source) db-abstraction module
> (that uses
> existing db-modules, of course), which could then be used from
> php-script as
> well as from other modules that need db-functionality without
> committing to
> a specific database.
>
> Or, does such a module exist already and should I concentrate on using
> and/or co-developing that one?
>
> Thanks, Marc.
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-01-31 Thread Marc Boeren


>I have been crafting my own database abstraction layer, and in doing so
>create an array of the results of a query.

Is this an db abstraction layer written in php (script), or written as a
module for php (C)?

I was thinking of writing an (open source) db-abstraction module (that uses
existing db-modules, of course), which could then be used from php-script as
well as from other modules that need db-functionality without committing to
a specific database.

Or, does such a module exist already and should I concentrate on using
and/or co-developing that one?

Thanks, Marc.

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]