By Peter Bell

Working with Metadata

I think I finally realized on Monday night that my application generator was going well. I am doing a pretty big rewrite of the generator to fix a couple of design decisions I don't love and was trying to get a project done on the new code base. I had just completely changed my metadata model, so I had broken pretty much every line of code and with time running out I realized that I was never going to get the project done before my all day class on Tuesday. I took my metadata description for the project, entered it into the previous version of my framework and within 15 minutes I had a rich admin system with roles and authentication up and working for a bunch of custom objects.

I feel like I've solved the core problem of being able to generate rich applications using metadata (actually, I interpret the metadata using a framework rather than generating code right now, but the outcome is pretty much the same), but I don't feel like my system is flexible enough to handle big changes in the structure of my metadata or my approach to consuming it. The application knows much more than I'd like it to about how my meta model is structured and that's something I really want to fix . . .

[More]

Replacing Methods with Metadata

For someone who spends a good part of their time programming, I *really* don't like code. To me every time I add a line to a codebase I see that as a personal failure that I wasn't able to come up with a more elegant way of expressing my intent than actually encoding it into a specific 3rd generation language from which no known mechanism could retrieve my intent automatically (in the general case). I'm currently implementing a generalized approach across my in-house framework for replacing (most) methods with metadata . . .

[More]

BlogCFC was created by Raymond Camden. This blog is running version 5.005.