Hacker News new | past | comments | ask | show | jobs | submit login

Try to consider other way around.

Native application is:

1. HTML - declaration of UI structure (think about accessibility here to).

2. CSS - declaration of how that UI structure shall be presented to the user.

3. script - declaration (too, sic!) of how UI structure (a.k.a. DOM) shall be updated in response to user events and application events/state.

4. Native code of application - generates events for UI, provide data to be presented, consumes UI events data updates from UI.

I mean that native languages in Sciter/Rust, Sciter/C++, Sciter/Go applications are talking more with script rather than to particular UI objects. And that script plays a role of declarative/configurational layer translating linear application logic into asynchronous UI concepts. UI and business logic talk with each other in terms of messages - loosely coupled layers, separation of concerns and memory organization, all that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: