mercredi 3 octobre 2018

Are Repositories an old pattern in today's Laravel?

I'm trying to learn Laravel. I can see old docs and videos (from Laravel 5.4) speaking of Repositories and repository pattern, meaning classes to work with collections of data. But on the current (5.7) Laravel docs, I cannot find any reference to Repositories or the pattern itself. So I'm wandering: are still used (and thus I should study them) or maybe the 'new' ones are what it's called 'Collections'? Or maybe they are not at all related?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire