As mentioned in the previous post, I kinda adore the sequence diagram. For me, it's the single piece that really allows one to translate the idea of a program into code. It's not exactly where the rubber meets the road, but more like the rim the tire is mounted on. Let's segue away from that odd analogy to the diagram in question.
Setting aside the fact I'm still not 100% on entity framework and have serious questions about how to implement it, I know what's going on here. I can see what gets input by the user, how it gets passed to the controller, where it goes from there, and at what point the entity gets converted to a domain model (is that a service function, or an interactor function? Hm...) and then a view model. I could sit down and write out almost everything based just on this png file right here.
The trick is keeping the sequence, or unit, simple. Otherwise, you can't really break it apart and see it so clearly. Which ties in nicely with the unit testing piece. Which, shockingly enough, is where I'm heading with this next.
![]() |
Lookit that. The simplicity. The beauty. |
Setting aside the fact I'm still not 100% on entity framework and have serious questions about how to implement it, I know what's going on here. I can see what gets input by the user, how it gets passed to the controller, where it goes from there, and at what point the entity gets converted to a domain model (is that a service function, or an interactor function? Hm...) and then a view model. I could sit down and write out almost everything based just on this png file right here.
The trick is keeping the sequence, or unit, simple. Otherwise, you can't really break it apart and see it so clearly. Which ties in nicely with the unit testing piece. Which, shockingly enough, is where I'm heading with this next.
Comments
Post a Comment