logo       

Re: Common Last Index Method: msg#00024

Subject: Re: Common Last Index Method
On Fri, Aug 27, 2004 at 05:23:55AM -0400, T. Onoma wrote:
> > I think it would be reasonable also for DBI to abstract some common
> > operations: e.g.
> 
> My first inclination (and I expect everyone elses too), after reading over 
> your excellent suggestions, was for DBI to gain some new high-level methods. 
> But then it dawns on me, your examples almost suggest that DBI define its own 
> superset of SQL -- now that's interesting. Perhaps even worth a fork, or a 
> subproject that sits, AOP style, on top of "core" DBI.

That's one possible approach. However, I think you'd probably end up with a
bunch of different object (sub)classes - one handling Mysql instances, one
handing Sqlite instances, etc. By the time you've done that, it might turn
out to be simpler just to use the native underlying APIs rather than doing
via DBDs. I'm not saying that's definitely the case, but certainly I came
very close to this when I was writing an application which tried hard to be
database-neutral; I was having to create separate object classes for each
database type, and the amount of underlying DBI layer I was using was little
more than do/execute/fetch.

Regards,

Brian.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe