← Back to context

Comment by rbanffy

2 years ago

> GUIs are simple when you don't need to do any styling

Styling should be provided by the host, not the app. The app should give, at most, hints to the system - that this button is the default, what the tab key navigation order is, etc.

> Web front-end are a completely different game in that regard

They shouldn’t be. The API is different, because the presentation layer leaks all over the place into the app logic. With runtimes such as VB’s the UI elements see and react to events, while the runtime takes care of pushing those events either to the host software or to the event handlers that are part of the app.