Project

General

Profile

Arhitecture Patterns » History » Version 1

Tomislav Pleše, 10/11/2025 08:47 PM

1 1 Tomislav Pleše
# Arhitecture Patterns
2
3
4
Key Architectural Patterns
5
6
1. State Management: Centralized in HomeScreen with callbacks to update UI
7
2. Manager Pattern: Separate managers for different concerns (Thread, Shard, Point, Context, TreeView)
8
3. Immutable Updates: Points are copied with modifications, original data preserved
9
4. Tree Flattening: 3D tree structure flattened to 1D list for rendering
10
5. Lazy Loading: Only visible items rendered via SliverList.builder
11
6. Error Handling: Try-catch blocks throughout with fallbacks to prevent crashes
12
7. Reactive UI: setState() triggers rebuild only when data changes