We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
理想的な構成としては、 messageは単なる器でモデルにとどまるべき。 storeは名前とDBというかモデルをどう構造化して可能するかに注力するべき(repositoryってやつ)。 generatorはstoreからmessageなどのモデルを適宜取り出して、HTMLを作ることに注力すべき。
なのにいまはそれぞれがお互いの責任境界を越えていらんことしてる。 そのため、たとえばmessageがチャンネルのメッセージデータを読むときに スレッドを構築しているため日付順にファイルを読まないとならない みたいなおかしな制約が存在している。
ちなみにこれは store に message を突っ込むときに store が構造化の面倒をみるべきはなし。
これらをちゃんとあるべきところに分解してやる必要がある
The text was updated successfully, but these errors were encountered:
No branches or pull requests
理想的な構成としては、
messageは単なる器でモデルにとどまるべき。
storeは名前とDBというかモデルをどう構造化して可能するかに注力するべき(repositoryってやつ)。
generatorはstoreからmessageなどのモデルを適宜取り出して、HTMLを作ることに注力すべき。
なのにいまはそれぞれがお互いの責任境界を越えていらんことしてる。
そのため、たとえばmessageがチャンネルのメッセージデータを読むときに
スレッドを構築しているため日付順にファイルを読まないとならない
みたいなおかしな制約が存在している。
ちなみにこれは store に message を突っ込むときに
store が構造化の面倒をみるべきはなし。
これらをちゃんとあるべきところに分解してやる必要がある
The text was updated successfully, but these errors were encountered: