Tag

Finite State Machine

0 views collected around this technical thread.

Go Programming World
Go Programming World
May 26, 2025 · Fundamentals

Using Finite State Machines in Go with the looplab/fsm Package

This article introduces the concept of finite state machines, demonstrates how to implement them in Go using the looplab/fsm library with practical code examples, explains the lifecycle callbacks, and shows how to apply FSMs to real‑world scenarios such as door state management.

Finite State MachineGoState Machine
0 likes · 17 min read
Using Finite State Machines in Go with the looplab/fsm Package
政采云技术
政采云技术
Jan 16, 2024 · Fundamentals

Understanding Finite State Machines: Definitions, Usage, Advantages, and Their Relation to Domain‑Driven Design

This article explains what a finite state machine (FSM) is, illustrates it with a car transmission example, outlines its components and diagramming, discusses its technical pros and cons, explores business benefits, and examines how state machines relate to domain‑driven design.

Domain-Driven DesignFinite State MachineState Machine
0 likes · 13 min read
Understanding Finite State Machines: Definitions, Usage, Advantages, and Their Relation to Domain‑Driven Design
Zhuanzhuan Tech
Zhuanzhuan Tech
Jul 13, 2022 · Fundamentals

Introduction to Finite State Machines and Their Application in Business Systems

This article introduces deterministic finite state machines, explains their core elements, discusses their advantages for code clarity and separation of concerns, and demonstrates a practical Java implementation for order processing in a commerce platform, including configuration, business logic, exception handling, and extensibility considerations.

Finite State MachineJavaState Machine
0 likes · 12 min read
Introduction to Finite State Machines and Their Application in Business Systems
Zhuanzhuan Tech
Zhuanzhuan Tech
Apr 20, 2022 · Backend Development

Transaction Middleware: FSM and Concurrency Model Practices and Exploration

This article examines the challenges faced by a transaction middleware platform, introduces a finite‑state‑machine (FSM) solution for order state flows, and compares traditional serial processing with future‑based staged concurrency and event‑driven concurrency models, highlighting their benefits and trade‑offs.

Finite State MachineFutureTransaction
0 likes · 11 min read
Transaction Middleware: FSM and Concurrency Model Practices and Exploration
vivo Internet Technology
vivo Internet Technology
Apr 6, 2022 · Backend Development

State Machine Design and Implementation for Marketing Automation Activities

To orchestrate multi‑channel marketing activities, the article explains how a finite‑state machine models status flows, compares conditional, state‑pattern, and DSL implementations, evaluates Spring Statemachine, Squirrel, and Cola frameworks, and showcases Vivo’s high‑performance DSL‑based FSM as a practical solution.

DSLFinite State MachineJava
0 likes · 18 min read
State Machine Design and Implementation for Marketing Automation Activities
Sohu Tech Products
Sohu Tech Products
Sep 22, 2021 · Fundamentals

Understanding Finite State Machines and Their Implementation in Swift

This article introduces finite‑state machines, explains their mathematical definition and classification, demonstrates a simple metro‑gate example, and provides two complete Swift implementations—one using object‑oriented design with protocols and classes and another using a functional style with generic transition structs and thread‑safe queues—followed by a real‑world keyboard‑state use case.

Finite State MachineFunctional ProgrammingSwift
0 likes · 18 min read
Understanding Finite State Machines and Their Implementation in Swift
ByteDance Web Infra
ByteDance Web Infra
Sep 3, 2021 · Frontend Development

Understanding XState Finite State Machines and Statecharts for Frontend Development

This article explains the challenges of managing UI state in modern web applications, demonstrates how incremental code examples lead to complex and coupled logic, and introduces XState finite state machines and statecharts as a structured solution with practical JavaScript examples and ecosystem overview.

Finite State MachineJavaScriptReact
0 likes · 9 min read
Understanding XState Finite State Machines and Statecharts for Frontend Development
58 Tech
58 Tech
Jan 18, 2021 · Backend Development

Design of a Marketing Automation System: Requirements, Architecture, and Engine Implementation

This article explains the need for marketing automation, analyzes requirements, proposes system capabilities, presents a four‑layer architecture inspired by IDE/JVM concepts, and details the FSM‑based engine model with trigger, action, and execution strategies for complex multi‑step marketing scenarios.

Finite State Machinebackend developmentmarketing automation
0 likes · 10 min read
Design of a Marketing Automation System: Requirements, Architecture, and Engine Implementation