Public Courses

Temporal 101 with TypeScript (101_typescript)


Description
In this course, you will explore the basic building blocks of Temporal: Workflows and Activities. You’ll use these building blocks along with Temporal's TypeScript SDK to develop a small application that communicates with an external service. You'll see how Temporal helps you recover from failures and explore Temporal's execution model and event history. You'll use the Temporal Web UI and Temporal’s command-line tools to explore and interact with your Workflows, and you'll use what you've learned to add new features to your existing Workflow.

When you've completed the course, you'll be able to:

- Configure an environment for developing Temporal Applications
- Use Temporal to describe and implement a business process
- Interpret Temporal's Workflow execution model
- Use Temporal’s tooling to manage the lifecycle of your application

Prerequisites:

To be successful in this course, you should have experience writing backend applications that rely on external APIs.

This course uses the TypeScript programming language. Previous TypeScript experience is helpful, but not required.

Programming Language: TypeScript Number of hours: 2

Content
  • Chapter 1: About this Course
  • Welcome
  • Meet the Instructors
  • Format and Duration
  • Course Outcomes
  • Exercise Environment Orientation
  • (Optional activity) Setting up a local development environment
  • Course Conventions
  • Getting Help
  • Chapter 2: What is Temporal?
  • Chapter 2 Goals
  • Introducing Temporal
  • What is a Workflow?
  • Workflow Examples
  • Architectural Overview
  • Options for Running a Temporal Cluster
  • Integrating Temporal
  • Temporal SDKs
  • Temporal Command-Line Interface: tctl
  • Chapter 3: Developing a Workflow
  • Chapter 3 Goals
  • Generating a new Temporal Project
  • Writing a Workflow Definition
  • Input Parameters and Return Values
  • Initializing the Worker
  • Chapter 4: Executing a Workflow
  • Chapter 4 Goals
  • Executing a Workflow from the Command Line
  • Executing a Workflow from Application Code
  • Hands-On Exercise #1: Hello Workflow
  • Exercise #1 Recap: Hello Workflow
  • Chapter 5: Viewing Workflow Execution History
  • Chapter 5 Goals
  • Viewing Workflow History with tctl
  • Viewing Workflow History from the Web UI
  • Hands-On Exercise #2: Hello Web UI
  • Chapter 6: Modifying an Existing Workflow
  • Chapter 6 Goals
  • Making Changes to a Workflow
  • Chapter 7: Developing an Activity
  • Chapter 7 Goals
  • What Are Activities?
  • Registering Activities
  • Executing Activities
  • Using Appropriate Timeouts
  • Chapter 8: Handling Activity Failure
  • Chapter 8 Goals
  • How Temporal Handles Activity Failure
  • Activity Retry Policy Example
  • Hands-On Exercise #3: Farewell Workflow
  • Chapter 9: Understanding Workflow Execution
  • Chapter 9 Goals
  • About This Example
  • Code Walkthrough
  • Chapter 10: Conclusion
  • Chapter 10 Goals
  • Essential Points
  • Hands-On Exercise #4: Finale Workflow
  • Parting Words
  • For More Information
Completion rules
  • All units must be completed