Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: MySQL, MS SQL, PostgreSQL - Common interface

by Tomte (Priest)
on Jun 15, 2007 at 10:01 UTC ( #621428=note: print w/replies, xml ) Need Help??


in reply to MySQL, MS SQL, PostgreSQL - Common interface

Well, I'd say if you're going to abstract from SQL up, abstract the whole way to an OO-View where you don't use SQL itself anymore - but if you are determined to write such a module - which could be very useful indeed - I suggest to take a look at the SQLFairy (SQL::Translator) - they have done such a thing already - you could use SQL::Translator on-the-fly, or at least prey upon it to reuse their effort.

regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus

  • Comment on Re: MySQL, MS SQL, PostgreSQL - Common interface

Replies are listed 'Best First'.
Re^2: MySQL, MS SQL, PostgreSQL - Common interface
by Jenda (Abbot) on Jun 15, 2007 at 14:09 UTC
    I'd say if you're going to abstract from SQL up, abstract the whole way to an OO-View where you don't use SQL itself anymore ...

    I could never understand why would anyone want to do that, but that's just me.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://621428]
help
Chatterbox?
[marto]: [id://1196212
[marto]: err same old song and dance I'm afraid

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2017-07-28 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (431 votes). Check out past polls.