You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Especially helpful for new comers, a best practices guide would collect random mind dumps from
Solnic & company from various sources, and compose them into several examples featuring the best and worst ways to use ROM.
It is my intention for this issue to remain open as to collect examples via comments until such time there is a sufficient number of examples to create the guide.
If you have found a pattern that you think works well PLEASE SHARE IT
Best Practices
Skinny Repos, Fat Relations
ROM repository methods should be as small as possible, instead move customization and queries into relation views.
Invalid Object Anti-Pattern
Objects should not be allowed to be created in an invalid state - Solnic notes
The text was updated successfully, but these errors were encountered:
Especially helpful for new comers, a best practices guide would collect random mind dumps from
Solnic & company from various sources, and compose them into several examples featuring the best and worst ways to use ROM.
It is my intention for this issue to remain open as to collect examples via comments until such time there is a sufficient number of examples to create the guide.
If you have found a pattern that you think works well PLEASE SHARE IT
Best Practices
Skinny Repos, Fat Relations
ROM repository methods should be as small as possible, instead move customization and queries into relation views.
Invalid Object Anti-Pattern
Objects should not be allowed to be created in an invalid state - Solnic notes
The text was updated successfully, but these errors were encountered: