logo hsb.horse
← Back to tag index

Tags

#design-pattern

Blog posts, snippets, and glossary entries related to "design-pattern", gathered in one place.

Entries 4
  1. Snippets
    Cache-First, Live-Fetch Orchestration Pattern

    Orchestration combining a fast path from cache and a slow path from remote. Measures cache hit/miss, fetch latency, and final outcome as metrics, delegating side effects outward.

  2. Snippets
    Entity-Embedded Cooldown Warning Suppression

    A pattern that embeds repeated warning suppression logic within the quota entity itself. Properly controls frequent warnings like rate limit notices and billing alerts.

  3. Snippets
    Two-Phase Repository Walk with Byte Budget

    Split processing into path/size scan → structure analysis → read only needed chunks → parse to make memory limits controllable even for large repositories.

  4. Blog
    Consider strategy patterns when v-if branches increase in Vue

    When there are three or more patterns of conditional branching using v-if, consider implementing a strategy pattern to dynamically switch components. Improved readability and maintainability.