Building Your First KOS Model – From Concept to Code
Learn how to create KOS models as digital representations of physical entities, understanding model structure, lifecycle methods, configuration properties, and device communication patterns.
Learn how to create KOS models as digital representations of physical entities, understanding model structure, lifecycle methods, configuration properties, and device communication patterns.
Learn how KOS container models efficiently manage collections of devices with automatic indexing, reactive updates, and the @kosContainerAware decorator.
Master the companion model pattern to extend KOS models with domain-specific functionality using decorators without modifying core model structures.
Understand how KOS's hierarchical context system enables type-safe data sharing across model trees without global variables or prop drilling.
Explore KOS's decorator-driven architecture for accessing framework services including logging, configuration, events, futures, troubles, and context injection with minimal boilerplate.
Master the KOS FSM decorator system with kosStateMachine, kosStateEntry, kosStateExit, and kosStateGuard for type-safe, observable application state management that eliminates boilerplate.