Ember Tutorial - Working with Services part 1

Опубликовано: 16 Февраль 2026
на канале: Scott Batson
5,271
97

In this video, I cover the basics of working with Services. I cover how to stub a session, redirect users if they are not logged in and direct them back once they have completed logging in. I also go over why services are important as we move away from controllers.

This is part 1. In part 2, I go over creating an "inactivity monitor" and how we can write a unit test to properly test our service.