Dynamic Object Model Success
Haven’t written a post in a while, I’ve been pretty busy kayaking. But since last time I’ve had a lot of new success with the dynamic object model idea. Originally we implemented it so that we could push new categories of objects down to the client at run time. But we’ve been refactoring our entire domain layer so that it is implemented entirely using dynamic objects. This lead to us being able to wipe hundreds (thousands?) of lines of repetitive code to handle validation, serializiation, comparisons and collections.
We have also had a good amount of success dynamically generating uis for dynamic objects. Another cool idea we had was adding a way to generate random objects for testing. This would help us get better code coverage, and would enable better load testing than keeping a database of testdata. Also, it would eliminate the task of maintaining the testdata, which becomes a huge chore as the system becomes more mature.