Re: Proposed updates and extensions to the MySQL extension
| From: | Phil Driscoll | Date: | Fri, 04 Jan 2002 09:24:33 +0000 |
| Subject: | Re: Proposed updates and extensions to the MySQL extension | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75854@lists.php.net to get a copy of this message | ||
On Thursday 03 January 2002 11:08 pm, Zak Greant wrote:
> > > Why?
> >
> > Because not everyone wants to use *(#$&ing objects in a simple script!
>
> No one will be forced to use the wrapper! :)
Whilst this is true, and I know that you are thoughtful and conciencious
enough to make sure that any new stuff available via OO would also be
available via a procedural interface, I fear that this might be the start of
a trend which would spoil PHP.
If you are a web applications developer, there are plenty of mainstream
options if you like OO. There are fewer if you prefer procedural code, and
PHP is certainly the natural home for those of us in the latter camp. The
further PHP moves into the OO camp, the less appealing it becomes for the
procedural people. Once we have an OO interface to such a mainstream
extension as mysql (probably *the* most important php extension?), it sends
an important message to users and developers alike. Then, a couple of years
down the line, PHP is just another OO toy for those who don't like to be in
control of their own switch statements :)
Cheers
--
Phil Driscoll