Bluehost.com Web Hosting $6.95

Please help: need ideas on database adaptors

This is a discussion on Please help: need ideas on database adaptors within the MySQL Database forums, part of the Database Forums category; Hi All! I develop a project that uses MySQL database as a data storage. I have gotten a request from ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-30-2006
dev2
 
Posts: n/a
Default Please help: need ideas on database adaptors

Hi All!

I develop a project that uses MySQL database as a data storage. I have
gotten a request from my manager to investigate the possibility to
create an adaptor that will utilize virtually any database instead of
mysql built-in. It will cover the case if customer wants to retain his
database as data storage but still use our software. I am thinking
about creating set of GUIs and APIs which will map tables, queries and
relations... It's quite challengeable. Is it possible? Did somebody
face this problem before?
Any ideas are highly appreciated!

Thank you.

Reply With Quote
  #2 (permalink)  
Old 11-30-2006
Geoff Muldoon
 
Posts: n/a
Default Re: Please help: need ideas on database adaptors

vainb1@yahoo.com says...
> Hi All!
>
> I develop a project that uses MySQL database as a data storage. I have
> gotten a request from my manager to investigate the possibility to
> create an adaptor that will utilize virtually any database instead of
> mysql built-in. It will cover the case if customer wants to retain his
> database as data storage but still use our software. I am thinking
> about creating set of GUIs and APIs which will map tables, queries and
> relations... It's quite challengeable. Is it possible? Did somebody
> face this problem before?
> Any ideas are highly appreciated!


Look at the work done in the web/PHP environment done by AdoDB.

Geoff M
Reply With Quote
  #3 (permalink)  
Old 12-01-2006
Michael Austin
 
Posts: n/a
Default Re: Please help: need ideas on database adaptors

dev2 wrote:

> Hi All!
>
> I develop a project that uses MySQL database as a data storage. I have
> gotten a request from my manager to investigate the possibility to
> create an adaptor that will utilize virtually any database instead of
> mysql built-in. It will cover the case if customer wants to retain his
> database as data storage but still use our software. I am thinking
> about creating set of GUIs and APIs which will map tables, queries and
> relations... It's quite challengeable. Is it possible? Did somebody
> face this problem before?
> Any ideas are highly appreciated!
>
> Thank you.
>


In reality, you can only use the database engine for which the SQL was coded.

SQL != SQL != SQL (just like unix != unix != linux)

Oracle, DB2, SQL Server and MySQL (to list some of the more well known) all
implement different procedures and functions and unless you have an exhaustive
list and try to determine which db engine you are using - dynamically, I would
say this is a futile task.

--
Michael Austin.
Database Consultant
Reply With Quote
  #4 (permalink)  
Old 12-01-2006
Jerry Gitomer
 
Posts: n/a
Default Re: Please help: need ideas on database adaptors

dev2 wrote:
> Hi All!
>
> I develop a project that uses MySQL database as a data storage. I have
> gotten a request from my manager to investigate the possibility to
> create an adaptor that will utilize virtually any database instead of
> mysql built-in. It will cover the case if customer wants to retain his
> database as data storage but still use our software. I am thinking
> about creating set of GUIs and APIs which will map tables, queries and
> relations... It's quite challengeable. Is it possible? Did somebody
> face this problem before?
> Any ideas are highly appreciated!
>
> Thank you.
>

If you are using only the basic CRUD functionality in the
database and using your own software for the more complex
processing you can achieve your goal by using a language that
already has a data base interface package that talks to several
RDBMS. If your customers will be using PCs to run your software
and access the database just use ODBC?

HTH
Jerry
Reply With Quote
  #5 (permalink)  
Old 12-01-2006
onedbguru
 
Posts: n/a
Default Re: Please help: need ideas on database adaptors


Jerry Gitomer wrote:
> dev2 wrote:
> > Hi All!
> >
> > I develop a project that uses MySQL database as a data storage. I have
> > gotten a request from my manager to investigate the possibility to
> > create an adaptor that will utilize virtually any database instead of
> > mysql built-in. It will cover the case if customer wants to retain his
> > database as data storage but still use our software. I am thinking
> > about creating set of GUIs and APIs which will map tables, queries and
> > relations... It's quite challengeable. Is it possible? Did somebody
> > face this problem before?
> > Any ideas are highly appreciated!
> >
> > Thank you.
> >

> If you are using only the basic CRUD functionality in the
> database and using your own software for the more complex
> processing you can achieve your goal by using a language that
> already has a data base interface package that talks to several
> RDBMS. If your customers will be using PCs to run your software
> and access the database just use ODBC?
>
> HTH
> Jerry


While this is indeed true, I REALLY hate those because they tend to try
to retreive the entire database (select * from x) and then try to
process it locally for every call - extremely inefficient. The most
difficult piece of trying to do this is the hodge-podge of datatype
definitions (as we have recently seen). Even though they say there is
a standard, there really isn't a standard. Most databases/applictions
try to use the date functions and those are so different from engine to
engine, it is enough to make ones head spin.

M.

Reply With Quote
  #6 (permalink)  
Old 12-04-2006
dev2
 
Posts: n/a
Default Re: Please help: need ideas on database adaptors

Jerry Gitomer wrote:
> dev2 wrote:
> > Hi All!
> >
> > I develop a project that uses MySQL database as a data storage. I have
> > gotten a request from my manager to investigate the possibility to
> > create an adaptor that will utilize virtually any database instead of
> > mysql built-in. It will cover the case if customer wants to retain his
> > database as data storage but still use our software. I am thinking
> > about creating set of GUIs and APIs which will map tables, queries and
> > relations... It's quite challengeable. Is it possible? Did somebody
> > face this problem before?
> > Any ideas are highly appreciated!
> >
> > Thank you.
> >

> If you are using only the basic CRUD functionality in the
> database and using your own software for the more complex
> processing you can achieve your goal by using a language that
> already has a data base interface package that talks to several
> RDBMS. If your customers will be using PCs to run your software
> and access the database just use ODBC?
>
> HTH
> Jerry


Thank you for all replies, I will keep it posted as the work progresses.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:14 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0