Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:26Length:4.8 hours
  • Overview
  • Transcript

4.5 Creating Repositories and a Service Layer

At this point, we could definitely just start to use our Context class to access all of our data throughout our API, but that will get a little messy and difficult to maintain and understand as our project gets larger. In this lesson, I propose that we introduce a couple of patterns to ease our pain later on. Welcome to the Repository and Service Layer patterns.