Wednesday, December 25, 2002


@%@%#$!^#*$@

I just launched two copies of TJ by accident and it trashed one of my files. Crap! Dammit. I was just about to back that stuff up and was just calling it up to look at in one more time. Son of a bitch. I haven't lost source in, hell, I don't know how long. I think I might have a backup on my web site somewhere but I better look. Crap. Dammit. Now I gotta reconstruct that whole file.
1:06:24 PM    


Association-centric modelling.

I've been really pleased over the last few days with the general association model I constructed. It's pretty clean to program with -- much of the bookkeeping is centralized. It also seems that for certain types of programs, starting with the notion that there will be associations between objects as a first step makes things easier. One problem is that conventional modeling tools like TJ don't support this. I ended up creating a "conventional" model first and keeping that as a reference. I then copied that model, pushed in the associations classes, then knocked out the TJ associations one by one, converting them into appropriate equivalents.

Some of the advantages:

  • Central, consistent handling of all associations.
  • Easy persistence.
  • Simple object lifecycle.
  • Fast alteration of association types when a design changes.

  • 9:20:18 AM