Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://621428]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2023-03-24 06:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?