Module: Ea::Spa

Defined in:
lib/ea/spa.rb,
lib/ea/spa/shard.rb,
lib/ea/spa/output.rb,
lib/ea/spa/lazy_ref.rb,
lib/ea/spa/skeleton.rb,
lib/ea/spa/generator.rb,
lib/ea/spa/projector.rb,
lib/ea/spa/package_tree.rb,
lib/ea/spa/search_entry.rb,
lib/ea/spa/search_index.rb,
lib/ea/spa/configuration.rb,
lib/ea/spa/skeleton_entry.rb,
lib/ea/spa/output/strategy.rb,
lib/ea/spa/package_tree_node.rb,
lib/ea/spa/output/single_file_strategy.rb,
lib/ea/spa/output/sharded_multi_file_strategy.rb

Overview

Ea::Spa is the SPA consumer adapter — a one-way projection of Ea::Model into view-shaped artifacts (Skeleton, Shard, SearchIndex, PackageTree) suitable for a browser frontend.

Projection vs. modeling: the SPA does not redefine what a Class is. It owns view-shaped types that refer to model elements by id and add browsing-specific metadata (shard URLs, lazy refs, search content, navigation tree position).

Output strategies (single-file vs sharded) live under Ea::Spa::Output and project the same artifacts to disk.

Defined Under Namespace

Modules: Output Classes: Configuration, Generator, LazyRef, PackageTree, PackageTreeNode, Projector, SearchEntry, SearchIndex, Shard, Skeleton, SkeletonEntry