THE TEACHER POINT

Architecture Overview

This page provides a deep, technical overview of the entire yoAnime system, including both the Standalone Animation Studio and the optional Integrated PowerPoint Mode.

It serves as the “master index” for all deeper documentation pages.


1. Dual‑Mode Application Design

yoAnime Studio operates in two distinct modes:

Standalone Mode

Integrated Mode (Optional)

Used when launched by the yoAnime PowerPoint Add‑in:


2. Single Instance Model

To avoid conflicts:

This makes the app stable when run by users, the Store, or PowerPoint.


3. Startup Pipeline

Phase A — Configuration & Logging Bootstrap

Phase B — Mutex & Single Instance Check

Ensures only one instance exists across:

Phase C — Host Builder (DI Container)

The app sets up a full .NET Generic Host:

Phase D — Mode Detection

Determines whether the app is:

Phase E — UI Initialization

MainWindow is constructed with:


4. Communication Layer

yoAnime uses two secure, local IPC channels:

A) Named Pipes

Used for:

Security:


B) WebSocket Bridge (Loopback Only)

Used for:

Security:


5. Window Parenting System (Integrated Mode Only)

One of the most advanced parts of the architecture.

Features:

Why this matters:

When integrated, yoAnime Studio’s window becomes a child of PowerPoint’s AppFrame window — seamlessly embedded in the PowerPoint environment.


6. Animation Studio (Standalone Components)

A) Lottie Import Layer

B) Preview Rendering

C) Export Pipeline

D) Project Management


7. Resilience, Crash Handling & Shutdown


8. Configuration System

Supports live reload for:

Values are debounced and compared with prior snapshots to avoid noisy restarts.


9. Security Model

Includes:


10. Architecture Diagram (Text Version)

      +---------------------------+
      |     yoAnime Add-in       |
      |  (Optional PowerPoint)    |
      +-------------+-------------+
                    |
          Named Pipes (Secure)
                    |
      +-------------v--------------+
      |        yoAnime WPF App     |
      |     (yoAnime Studio)       |
      +-------------+--------------+
                    |
      WebSocket Bridge (Localhost)
                    |
      +-------------v--------------+
      |   Panels, Overlays, UI     |
      +-----------------------------+
Exit mobile version