Re: [GENERAL] interesting PHP/MySQL thread

From: Rory Campbell-Lange <rory(at)campbell-lange(dot)net>
To: Justin Clift <justin(at)postgresql(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Josh Berkus <josh(at)agliodbs(dot)com>, Joe Conway <mail(at)joeconway(dot)com>, "Advocacy (PostgreSQL)" <pgsql-advocacy(at)postgresql(dot)org>, Cornelia Boenigk <c(at)cornelia-boenigk(dot)de>
Subject: Re: [GENERAL] interesting PHP/MySQL thread
Date: 2003-07-31 11:56:51
Message-ID: 20030731115651.GB14574@campbell-lange.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-docs pgsql-general

Hi Justin

I'm writing to let you know that my availability to work on some new
documentation has moved somewhat, from now to the middle of August.

I have made contact with Connie (conversation noted at the end of this
mail) and it appears that work could usefully be done on providing
better examples and noting bugs on PHP postgres functions in the PHP
documentation.

I am happy to do this, and it might be the best way for me to contribute
to the Postgres advocacy initiative, particularly as I have little
experience of using MySQL and can hardly comment authoritatively on the
differences between the systems.

Another alternative is that I could write a newbie's gentle introduction
to using pl/pgsql. With Josh's initial encouragement I have recently
delivered a very successful project using Postgres functions.
Development speed was greatly assisted by providing consistent database
interfaces while the operations behind those interfaces could change.
The system uses a combination of php and postgres, so I could hit some
advocacy targets by describing the integration here!

I'd be grateful to know if one or other of these pieces of work are
desired/needed. Knowing who would review my work would also be useful.

Kind regards
Rory

On 25/06/03, Justin Clift (justin(at)postgresql(dot)org) wrote:
> Do you want to whip up an initial "improved" set of info to include in
> the PHP docs as you're mentioning?
>
> At least one of the PostgreSQL Community members (Conni) has write
> access to the official PHP Docs repository and has volunteered to
> commit improvements like this for us.

> Rory Campbell-Lange wrote:
> >I'm a Postgres and PHP newbie. I'm having a great deal of success with
> >my latest development effort having moved most of the logic from a
> >perl/php logic 'core' to postgres using plpgsql functions. (Thanks for
> >all that help, Josh).
> >
> >I have a few comments to make on the idea of introducing people, PHP
> >developers especially, to postgresql. I'm not commenting here on how
> >easy it is to use PHP with postgres (it was transparent for me using
> >Debian) or whether or not to advocate the use of advanced features to
> >general users. Rather, it appears to me, that the PHP/Postgres
> >documentation and feature set should be improved.
> >
> >1) PHP Documentation
> >
> > The postgresql "write up" in the PHP html documentation doesn't give
> > a very good picture of the capabilities of postgres. While the PHP
> > docs aren't obviously a good place to write up the benefits of
> > plpgsql functions, some mention should be made to help differentiate
> > between the capabilities of MySQL and Postgres.
...
> >2) PHP<->Postgres bugs
> >
> > Apart from the PGSQL_FATAL_ERROR problem above, it would be good to
> > find a more simple, PHP-like, approach to catch exceptions and the
> > like....

Conversation with Connie:

Date: Tue, 1 Jul 2003 08:12:32 +0100
From: Rory Campbell-Lange <rory(at)campbell-lange(dot)net>
To: Cornelia Boenigk <c(at)cornelia-boenigk(dot)de>
Subject: Re: PostgreSQL - PHP manual

Thanks for your mail.
I hope to put together some suggestions at the end of July. I would be
very grateful if you would have a look at them to see if there is
anything useful there.

All the best!
Rory

On 30/06/03, Cornelia Boenigk (c(at)cornelia-boenigk(dot)de) wrote:
> > Are you a contributor to the PostgreSQL/PHP
> > documentation?
> Something like that ;-)
> I am a member of the translation team but have write access to the
> whole repository.
>
> > My comments come from my
> > perspective of trying to explain clearly the advantages of Postgres,
> > while retaining the technical nature of the documentation.
> I share your ideas ;-)
> However if you are going to read the php-manual I think the decision
> which database to use is done.
>
> > What sort of hint? ;)
> e.g. for the description of the predefined constants.
>
> > I would be very happy if any of this
> > work would benefit the PHP documentation.
> Well there are a lot of really poorly documented functions. To improve
> the manual it is fine to get some examples or experiences from users.
> Or even bugs ;-)

--
Rory Campbell-Lange
<rory(at)campbell-lange(dot)net>
<www.campbell-lange.net>

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Justin Clift 2003-07-31 12:29:01 Re: [GENERAL] interesting PHP/MySQL thread
Previous Message Peter Eisentraut 2003-07-31 09:02:01 Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?

Browse pgsql-docs by date

  From Date Subject
Next Message Justin Clift 2003-07-31 12:29:01 Re: [GENERAL] interesting PHP/MySQL thread
Previous Message Bruce Momjian 2003-07-31 04:42:09 Re: Could you please apply to CVS and to web: Semi-updated Turkish

Browse pgsql-general by date

  From Date Subject
Next Message Csaba Nagy 2003-07-31 12:26:20 Re: Updating from update trigger
Previous Message Steffen Macke 2003-07-31 11:46:02 Correct Allocation of UNICODE string in C