So I’ve done a bunch of application development in windows in C# and Java, and while Java stuff is pretty similar in Linux with Swing I’m not as confident in C# there (not too familiar with Mono), but I also want to diversify a bit too. Any recommendations?

  • bruce965@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Good separation between business logic and UI without effort, cross-platform UI in any language, possibility to turn it into a web-accessible service in the future, great choice of UI frameworks and battle-tested components if you decide to go for a web framework and language.

    As an example of a successful software that followed this approach: Synchthing. All versions run a local web service in the background. The Desktop version just opens a browser on the index page. The Android version is a native app that calls the exposed REST API on localhost, bypassing the web UI.

    As an example of a much more complex software, albeit not FOSS: EasyEDA. It’s a web software, but it also comes as a desktop app (which I never tried) which I assume is not much more than a frame for the web view.

    My recommendation: write the UI with React on Vite in TypeScript, and write the business logic in your general purpose language of choice (mine would usually be C#).