Seeing this lack and being a wannabe developer , I decided that instead of complaining I would do something about it. So I’ve come up with a new project for myself. I want to make an Access add-in (*.mda database) that I can simply reference from my database projects and get similar tools as what I currently have for .Net development. In the process, though, I don’t want to reinvent the wheel too much. I want to be able to leverage existing tools as much as possible.
With all of that in mind, here are my initial goals I have for this project. Keep in mind that they are subject to change as I am starting off with only a limited idea of how much of this is actually possible.
- Export all objects from database to text files such as XML or DDL scripts. This will allow for putting all objects under source control with diff and blame support.
- Import text files that were previously exported to overwrite/add objects back in to the database. This is to allow for starting from a blank database and importing all objects of a previous source revision to recreate that version. I have no real intention of source controlling the databases themselves, only their structure.
- Import/Export all data in the database to XML. This will let me create pre-canned test data that I can easily access.
- Simple unit testing support. The idea being to have something akin to early versions of JUnit or NUnit. Fixtures will be modules (class modules?) that end with “Tests.” Tests will be public parameter-less procedures.
- Automated build support. I have a very specific process that I follow every time I build a new *.mde file from a database. I always update the current version, I compile all the modules, add a password if required (I never password protect the *.mdb as it slows me down too much), and I add the AllowBypassKey=False
property to ensure that others are not trying to get in to the database improperly. It would be nice to have this whole process (and maybe a few other things) automated. - Keyboard support. I try not to touch my mouse, or at least as little as possible. Some nice Visual Studio type keyboard shortcuts to activate each of the above features would be nice.
- Target Microsoft Access 2003 since that is the version of Office we use at work.
No comments:
Post a Comment