Banalytics 2.0.0 architecture
Version 2.0.0 moves component user-interface ownership from the portal to agent modules. The portal becomes a generic management shell, while every module ships its backend and matching browser resources together.
What changed
Module-owned UI
JavaScript, CSS, icons, translations, and event views are packaged beside each Thing, Task, or Action.
Hashed synchronization
The browser downloads only missing or changed resources over the authenticated WebRTC environment channel.
Per-agent scope
UI classes are registered by environment UUID, so different module versions can coexist in one browser session.
Connection flow
Authenticate and connect
The user opens an environment through the portal and establishes the existing WebRTC connection.
Compare resource hashes
EnvironmentRegistry compares the agent resource catalogue with its IndexedDB path@hash cache.
Load changed resources
The browser registers translations and event renderers, scopes CSS, exposes icons, and compiles component classes for that environment.
Open the console
The portal loads hierarchy, configuration descriptors, events, and Remote API data through the normal channel.
Main architectural differences
| Area | 1.1.0 | 2.0.0 |
|---|---|---|
Component UI | Static catalogue in the portal | Delivered by each agent module |
Class scope | Global browser classes | Per environment UUID |
Cache invalidation | Portal deployment | Resource SHA-256 |
Dashboards | Stored and implemented by portal | Stored on agent; provider UI supplied by modules |
Event presentation | Portal must know event type | Module may contribute an event UI extension |
Connection code | Mostly callbacks | Promise / async flows |
Compatibility and operations
Agent-supplied JavaScript executes in the browser for owned and shared environments. Treat modules as trusted executable software and install them only from trusted release sources.