Software:
News ToolsReg Shops |
The database abstraction framework strikes backPart 2: C++ Generic CodingPublished Wednesday 22nd November 2006 10:33 GMT The (potentially) finished framework starts here!So, here's the code we've generated, complete with a makefile and a vc project file. If you're not convinced, then compile the associated code and run it against a database! If people are interested, this is an open source project (available on SourceForge.net here), as I've implied already; and if anyone wants to help with the transition from a prototype to a real tool then let me know. The example implementations are in terms of the MySQL database, but they could equally well be implemented in terms of any other interface library, or a database independent interface library – the dependency on MySQL is hidden in the generated cpp files so the database dependency is localised. For the example project, we've submitted the generated code to cvs, but for a real project this would, of course, be questionable. The link to the Dbi generated source files is here and to the library support code here. There are some unanswered questions here because of space constraints, so if you find that any of the answers to those posed below would be interesting, please comment or email the author and let us know (comments are, usually, automatically published; emails to the author are only published with explicit permission). We'll probably make them part of future articles. Some possible issues are:
2 comments posted — Comment period finished You'll need refectionPosted: 16:45 22nd November 2006 A matter of trends?Posted: 00:41 25th November 2006
Track this type of story as a custom Atom/RSS feed or by email.
|
|
||||||||
Top 20 stories • All The Week’s Headlines • Archive • Search