Thank you for this well presented article :)
I'm not a fan of repository pattern, but I recently do a kind of it by splitting Eloquent and Collection from the model.
I don't know if you are aware of it so I'm sharing it to you:
Thank you for this well presented article :)
I'm not a fan of repository pattern, but I recently do a kind of it by splitting Eloquent and Collection from the model.
I don't know if you are aware of it so I'm sharing it to you:
No, I wasn't aware about this, thanks for sharing the link. It looks neat and I hope to try it out soon.
I certainly see why it might be more popular in the Laravel community. In the end, the design decisions depend a lot on personal taste, the specific project and other factors. But whatever helps you structure your project is great!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello David,
Thank you for this well presented article :)
I'm not a fan of repository pattern, but I recently do a kind of it by splitting Eloquent and Collection from the model.
I don't know if you are aware of it so I'm sharing it to you:
I discovered this possibilty by reading this article
I appreciate your feedback very much!
No, I wasn't aware about this, thanks for sharing the link. It looks neat and I hope to try it out soon.
I certainly see why it might be more popular in the Laravel community. In the end, the design decisions depend a lot on personal taste, the specific project and other factors. But whatever helps you structure your project is great!