Confirmed users
230
edits
| Line 296: | Line 296: | ||
== Interactions == | == Interactions == | ||
=== Front-End / Back-End === | |||
This schema represents how the front-end and the back-end collaborates together. | |||
[[File:Gaia Architecture Proposal App Architecture Foreground No WebAPIs.png|600px]] | |||
=== Front-End / Back-End with main-thread-only WebAPIs === | |||
It happens that a Worker needs to access a main-thread-only API. In such cases a server capsule will be introduced in the front-end content wrapper, and the worker will use it as a server to access the main-thread-only API. | |||
[[File:Gaia Architecture Proposal App Architecture Multi Windows.png]] | [[File:Gaia Architecture Proposal App Architecture Foreground With WebAPIs.png|600px]] | ||
=== Front-End / Back-end. Multiple Windows === | |||
While on low-end devices most of the application will be shutdown when the application is in background, on high-end devices memory is not the big bottlenext anymore and so we can favor the user experience. | |||
In such cases, if the application is already opened in the background, and the user opens a bookmark to a specific panel, starts a WebActivity resolving to the app, etc.., there is no need to restart the whole application logic, the bridge will just connect the 2 windows in a transparent fashion. | |||
[[File:Gaia Architecture Proposal App Architecture Multi Windows.png|600px]] | |||
= Memory Management = | = Memory Management = | ||