Subscription Required

برای مشاهده این درس نیاز به خرید اشتراک دارید.

با خرید اشتراک به قابلیت نمایش آنلاین و دانلود بیش از 1500 جلسه آموزشی منتشر شده در وبسایت Laracasts دسترسی خواهید داشت.

درس قبلی
Simpler Code With UseCase Classes

Simpler Code With UseCase Classes

Simpler Code With UseCase Classes

قسمت 13
درس بعدی

درباره این درس

It's true that our tests are currently passing, but that doesn't mean the code is perfect. Not by a long stretch. Consider the fact that one of the core abilities of this application is to track stock. And, yet, if we browse the source code, is there a single point of entry we could visit to learn exactly what happens when this tracking takes place? The answer is unfortunately, "not really." What if we could change that by creating a TrackStock use case class that describes the important steps.

View the source code for this episode on GitHub.

دیدگاه های کاربران

× در حال پاسخ به: