Re:RAD Basic – Compatible with Visual Basic 6 projects
by rco8786 on Friday May 06, 2022 @10:51AM
(#31285836)
You're not wrong - Electron has 2 processes per "app" (1 chromium 1 nodejs) that need to communicate w/ each other and they do that via the traditional network stack/local sockets.
That part won't change AFAICT, but you can imagine a reasonable abstraction over it as part of a "batteries included" ecosystem in which events from the UI (button press, keyboard capture, scroll event, etc) are mapped seemlessly via configuration to user-defined functions that happen to run within the nodejs process with an SDK that allows developers to interact back w/ the UI in a similar manner. Resulting in a developer experience very similar to what you got with VB6.
I think Angular has a way to intercept http calls but you would need to build a translation layer. None of this is obvious to someone picking this up for the first time.
The whole paradigm is a hack that requires a very experienced dev to navigate.
Maybe I'm missing something.