L
Lars Eighner
Is there a procedural interface to mysql?
Is there a procedural interface to mysql?
What do you mean by "procedural interface"? I assume you know about DBI.
Yes.
What would a "procedural interface" give you that DBI doesn't?
In our last episode,
the lovely and talented Peter J. Holzer
broadcast on comp.lang.perl.misc:
No objects. So it would be faster, simpler, more intuitive, more easily
made to do what I want to do instead of what someone thinks I ought to want
to do.
Lars said:No objects. So it would be faster, simpler, more intuitive, more
easily made to do what I want to do instead of what someone thinks I
ought to want to do.
the lovely and said:Lars Eighner wrote:
Honestly, that would be such a negligible amount of overhead, and it's
pretty intuitive already. If you're worried about speed, you should
consider converting to C and compiling.
Lars said:I'm gathering, then, that I will have to write my own, because all
database acess in perl is through the OO DBI.
I'm gathering, then, that I will have to write my own, because all
database acess in perl is through the OO DBI.
I'm gathering, then, that I will have to write my own, because all
database acess in perl is through the OO DBI.
Back in the perl 4 days, there used to be Oraperl, a procedural (because
perl didn't do OO yet) interface to Oracle. As an interface it still
exists, but these days it just uses DBI in the background. So it won't
be any faster, and it doesn't look simpler to me (well it does, but
that's because it does a lot less - the functionality that Oraperl
provides is just as simple in DBI).
In our last episode,
<[email protected]>, the lovely and talented
Peter J. Holzer broadcast on comp.lang.perl.misc: *SKIP*
No objects. So it would be faster, simpler, more intuitive, more
easily made to do what I want to do instead of what someone thinks I
ought to want to do.
Eric Pozharski said:Would you like to point at any class that actually
inherits from B<DBI>
*points at a class I've written for a customer* Oh, and I found one
for you that's on CPAN:
<http://search.cpan.org/src/TIMB/DBI-1.607/lib/DBI/ProxyServer.pm> ->
@ISA = qw(RPC:lServer DBI);
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.