No such thing as a small change | |
PerlMonks |
Re: Has anyone ever written DBD::MockDBby jfroebe (Parson) |
on Apr 06, 2004 at 21:07 UTC ( [id://343122]=note: print w/replies, xml ) | Need Help?? |
Hi Steven, While I can see the use of a DBD::MockDB... I have a hard time determining if it would be worth the effort. Specifically because the various DBMS can be wildly different (GDBM, Sybase ASE, Oracle, Poet ODBMS, Postgres, etc.). Often you will find that you have to code queries and even algorythms specially coded for your desired DBMS. Simple dbms client applications can usually get away with DBMS neutral coding but if you are talking about enterprise-class applications, you usually end up choosing a DBMS and sticking with it, unfortunately. If you were simply talking about testing your code with a bare bones "get a record", "write a record", then I would go for the suggestions the others have mentioned (GDBM, DBM, xBase, etc.) hope this helps Jason No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1
In Section
Seekers of Perl Wisdom
|
|