Tagged articles
10 articles
Page 1 of 1
大转转FE
大转转FE
Jun 30, 2025 · Mobile Development

How a Custom Android Image Editor Boosts Warehouse Efficiency

This article details the design and implementation of a native Android image‑editing component built for warehouse quality‑inspection, covering business motivations, core features such as multi‑image batch editing, matrix‑based transformations, a command‑pattern undo/redo system, technical architecture, key challenges, and future extension plans.

AndroidCommand PatternCustom View
0 likes · 29 min read
How a Custom Android Image Editor Boosts Warehouse Efficiency
Test Development Learning Exchange
Test Development Learning Exchange
Oct 25, 2023 · Fundamentals

Understanding the Command Pattern with Python Examples

This article explains the Command design pattern, describes its key participants and advantages, and provides five Python examples demonstrating command encapsulation, undo/redo functionality, file operations, shopping‑cart management, and menu handling to illustrate how the pattern decouples request senders from receivers.

Command PatternDecouplingDesign Patterns
0 likes · 9 min read
Understanding the Command Pattern with Python Examples
Test Development Learning Exchange
Test Development Learning Exchange
Jul 7, 2023 · Fundamentals

Understanding the Command Pattern with Python Examples

The article introduces the Command design pattern, explains its key roles such as Command, ConcreteCommand, Receiver, Invoker, and Client, outlines its advantages, and provides multiple Python code examples demonstrating light control, undo operations, file handling, shopping cart management, and menu actions.

Command PatternDesign PatternsObject-Oriented
0 likes · 10 min read
Understanding the Command Pattern with Python Examples
Code DAO
Code DAO
Apr 30, 2022 · Backend Development

Building an Extensible Node.js CLI Tool Using the Command Pattern

The article walks through creating a lightweight, extensible Node.js command‑line utility without third‑party libraries, covering the command‑pattern design, implementation of split, upper, and word‑count commands, dynamic command loading, and best practices for modular, maintainable CLI development on Linux.

CLICommand PatternCommander
0 likes · 12 min read
Building an Extensible Node.js CLI Tool Using the Command Pattern
Architect
Architect
Dec 30, 2021 · Backend Development

Avoiding the Distributed Monolith Trap: Combining Command and Event Patterns in Microservice Architecture

The article explains how the misconception of treating distribution as the whole of microservices leads to a distributed‑monolith trap, and shows how mixing command‑driven and event‑driven communication can decouple services, improve reliability, and guide a smooth migration from monolith to microservices.

Command PatternEvent-drivenMicroservices
0 likes · 11 min read
Avoiding the Distributed Monolith Trap: Combining Command and Event Patterns in Microservice Architecture
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 8, 2021 · Frontend Development

How IoT Studio Implements Undo/Redo with Command and Snapshot Patterns

This article explains the design and implementation of undo and redo functionality in the IoT Studio visual builder, comparing snapshot and command (operation) approaches, detailing transaction handling, a doubly‑linked‑list history manager, and exploring hybrid solutions such as immutable.js and Git‑style diff storage.

Command PatternRedoUNDO
0 likes · 9 min read
How IoT Studio Implements Undo/Redo with Command and Snapshot Patterns
Programmer DD
Programmer DD
Sep 13, 2020 · Mobile Development

How iOS Implements Undo/Redo with Command & Observer Patterns

This article explains how iOS keyboards achieve undo and redo functionality by combining the Command and Observer design patterns, illustrates their class structures, and shows how the NSUndoManager leverages these patterns to manage undo and redo stacks in Cocoa Touch applications.

Command PatternDesign PatternsMobile Development
0 likes · 5 min read
How iOS Implements Undo/Redo with Command & Observer Patterns
Programmer DD
Programmer DD
Jun 7, 2020 · Fundamentals

Master the Command Pattern: Decouple Actions for Flexible Software Design

Learn how the Command pattern separates request issuance from execution, introducing roles like Command, ConcreteCommand, Receiver, Invoker, and Client, and see real‑world analogies and examples such as Hystrix and Java’s ThreadPoolExecutor that illustrate its widespread use in modern software.

Command PatternDecouplingSoftware Architecture
0 likes · 4 min read
Master the Command Pattern: Decouple Actions for Flexible Software Design