Jessica Lam 👩🏻💻👩🏻🎨 on Nostr: npub1gqn4m…q0pj6 i see what you mean, i think it’s also cause “controller” is ...
npub1gqn4mglfftd6292303jp2r060qwy69mpgdfprlumsuhf68wft27sxq0pj6 (npub1gqn…0pj6) i see what you mean, i think it’s also cause “controller” is inherently ambiguous. I guess i see “data flow” as a side effect of encapsulation and not necessarily a controller responsibility.
I would also consider action solely on data NOT part of the model. Models should be purely “essential data”, avoid mutation / computation until the very last step before it’s needed.
Do you have an example in mind? Talking in abstract here probably have some assumptions from each of us
Published at
2023-10-05 00:19:26Event JSON
{
"id": "9860842cb2bbdaeab629e267c77dc1dfedab6811435a208ec32e1d8c065dbef6",
"pubkey": "866194e5670ab311ef45ed9e6aaa3861b8db359e4205c04a2b7c2e60b47e7e89",
"created_at": 1696465166,
"kind": 1,
"tags": [
[
"p",
"40275da3e94adba515517c64150dfa781c4d1761435211ff9b872e9d1dc95abd",
"wss://relay.mostr.pub"
],
[
"p",
"9bddd4578b658620bdbf06f97fb8f978c08b641d1d0248a613f552d7ef7f709a",
"wss://relay.mostr.pub"
],
[
"e",
"51ea3ee08758c337b2193d45b58b08d74427dbef1ea461436f69931bec50231a",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/kangaroo5383/statuses/111179541154032597",
"activitypub"
]
],
"content": "nostr:npub1gqn4mglfftd6292303jp2r060qwy69mpgdfprlumsuhf68wft27sxq0pj6 i see what you mean, i think it’s also cause “controller” is inherently ambiguous. I guess i see “data flow” as a side effect of encapsulation and not necessarily a controller responsibility.\n\nI would also consider action solely on data NOT part of the model. Models should be purely “essential data”, avoid mutation / computation until the very last step before it’s needed.\n\nDo you have an example in mind? Talking in abstract here probably have some assumptions from each of us",
"sig": "55ecafe3388da79f3496412e9bdb13a1f2e0b051089c83dc93c3e03e488b1c56c15eeef96c946a9ebcfd35ff462a425134823bac46f233c274bc41431fdf1d6b"
}