Re: Re: PEAR DB abstraction layers
| From: | Martin Jansen | Date: | Mon, 19 Apr 2004 13:23:01 +0000 |
| Subject: | Re: Re: PEAR DB abstraction layers | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28019@lists.php.net to get a copy of this message | ||
On Mon Apr 19, 2004 at 03:0932PM +0200, Lukas Smith wrote:
> Aidan Lister wrote:
> >Is it more complicated to use? I'm looking at all this set-type stuff and
> >I'm thinking "ohh to hard". Is that optional? Is the API less complex than
> >DB?
>
> The type stuff is optional. The only difference when you dont want to
> use the types is that a few parameters will have to be set as "null".
This sounds potentially cumbersome to me and I believe that one of DB's
strengths is the straightforward API. So shouldn't we (resp. you)
consider to use the "no-types" style per default, so that people don't
need to perform wrenches like passing NULL values when using MDB?
--
- Martin Martin Jansen
http://martinjansen.com/