DatabaseKit, the time has come the walrus said
Feb 20 2006, 09:54 AM
Joined: 25-July 05
Member No.: 167
It seems the time to start implementing the DatabaseKit has arrived. I've checked in the final(ish) copy of DB.CBD for you all to peruse at your leisure.
It'll all based around the VCL DB classes although I've taken out some of the BDE specific stuff. In terms of implementation I was thinking it would be based around base classes with no DB specific functionality and then subclass and implement the db specific stuff. So we would end up with
Database ---> FBDatabase
Dataset ---> FBQuery
Is lack of ORM an issue for anyone? I was leaning towards not using an intermediate library like DTL or DBStep because 1) it's an extra library that will need to be maintained if it's orphaned 2) it's not too hard using the native libraries for most of the DB's I can think of and 3) it doesn't offer much extra functionality that we would use. I suppose if it's a big problem then I can go back and redesign the kit or alternatively we could VCFify one of the DB libs. Otherwise I'll start coding!
|Lo-fi Version||: 18th May 2013 - 02:55 PM|