Skip to main content

Tutorials

These tutorials walk you through the framework in progressive steps. Each tutorial builds on the previous one and introduces exactly one new concept.

Work through them in order on your first pass. If you're returning for a specific topic, the table below will get you there directly.

Learning path​

TutorialWhat you learn
First ApplicationThe three-file app pattern — service, module, bootstrap
Adding ServicesHow services reference each other through TServiceParams
Lifecycle HooksWhy lifecycle callbacks exist and when to use each stage
Typed ConfigurationDeclaring config entries and using typed values
Service ReturnsObject vs function return; getter pattern
Building a LibraryCreateLibrary, depends, and sharing code between apps
Testing BasicsTestRunner, the fluent builder, and teardown
What Next?Summary and where to go from here
Custom Config LoadersWrite a loader that reads config from any external source

If you've already read the Quickstart, the first tutorial covers the same material with more depth and a second service added. You can skip to Adding Services if you're comfortable with the basics.