Answer the question
In order to leave comments, you need to log in
Is it possible to write the interface of a desktop program in one language, and the logic in another?
Is it possible to write the user interface of a program in one language, let's say JavaScript, and write the functionality and logic in another, for example, C \ C ++?
Answer the question
In order to leave comments, you need to log in
In the case of C ++ back and JavaScript front, you can look towards Qt and QML. QML is a language for writing gui with embedded JavaScript. It is easy to make friends with the C++ part for heavy calculations.
Yes, there are plenty of applications with an interface in the browser.
Embed the Chromium or Firefox component into the IDE of the application's programming language of choice, and here's a full-fledged browser inside your application. Then - as usual: write (layout) html / css / js resources and assemble them together with the main project code.
PS: this is how I write in Lazarus (delphi)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question