digitalmars.D - DBI Interface looking for comment
- Jeremy Cowgar (12/12) Apr 13 2005 Please see http://jeremy.cowgar.com/35.0.html ... This details the very
- Ant (9/21) Apr 13 2005 I have my own here are the docs (sorry, just part of my DDBC API)
- pragma (8/18) Apr 13 2005 You might want to check out the wiki page on database bindings. You're ...
- Carlos Santander B. (6/22) Apr 13 2005 I hope you can put it together in a very good way. As Eric said, writing...
Please see http://jeremy.cowgar.com/35.0.html ... This details the very simple interface right now. My idea is simple and stems from the need to access multiple types of databases. Currently it's limited because you must relink your program to access a diffrent database and you must also change 1 line of code. This is just an idea. I do have a working copy of it with a SQLite3 driver, but it's a quick hack and would need work before releasing. What I am looking for right now is community comment. I am a new D programmer so I may (and probably am) missing something big. Please tell me what you think and give feedback. Thanks! Jeremy
Apr 13 2005
In article <d3jeg8$1tab$1 digitaldaemon.com>, Jeremy Cowgar says...Please see http://jeremy.cowgar.com/35.0.html ... This details the very simple interface right now. My idea is simple and stems from the need to access multiple types of databases. Currently it's limited because you must relink your program to access a diffrent database and you must also change 1 line of code. This is just an idea. I do have a working copy of it with a SQLite3 driver, but it's a quick hack and would need work before releasing. What I am looking for right now is community comment. I am a new D programmer so I may (and probably am) missing something big. Please tell me what you think and give feedback. Thanks! JeremyI have my own here are the docs (sorry, just part of my DDBC API) I have two implementations: PostgreSQL and sqlite3. I'm thinking of looking at MySQL soon. http://dool.sourceforge.net/dool_sql_Connection_Connection.html http://dool.sourceforge.net/dool_sql_Statement_Statement.html http://dool.sourceforge.net/dool_sql_ResultSet_ResultSet.html All this is integrated with dool. Ant
Apr 13 2005
In article <d3jeg8$1tab$1 digitaldaemon.com>, Jeremy Cowgar says...Please see http://jeremy.cowgar.com/35.0.html ... This details the very simple interface right now. My idea is simple and stems from the need to access multiple types of databases. Currently it's limited because you must relink your program to access a diffrent database and you must also change 1 line of code. This is just an idea. I do have a working copy of it with a SQLite3 driver, but it's a quick hack and would need work before releasing. What I am looking for right now is community comment. I am a new D programmer so I may (and probably am) missing something big. Please tell me what you think and give feedback.You might want to check out the wiki page on database bindings. You're bound to find that a lot of the hard work (binding database libs to D) has already been done for you: http://www.prowiki.org/wiki4d/wiki.cgi?DatabaseBindings D really needs a common interface to all these bindings, so one can write database-neutral code. Its a good idea for a project. - EricAnderton at yahoo
Apr 13 2005
Jeremy Cowgar wrote:Please see http://jeremy.cowgar.com/35.0.html ... This details the very simple interface right now. My idea is simple and stems from the need to access multiple types of databases. Currently it's limited because you must relink your program to access a diffrent database and you must also change 1 line of code. This is just an idea. I do have a working copy of it with a SQLite3 driver, but it's a quick hack and would need work before releasing. What I am looking for right now is community comment. I am a new D programmer so I may (and probably am) missing something big. Please tell me what you think and give feedback. Thanks! JeremyI hope you can put it together in a very good way. As Eric said, writing database agnostic code would be great to have. -- Carlos Santander Bernal JP2, you'll always live in our minds
Apr 13 2005