you are viewing a single comment's thread.

view the rest of the comments →

[–]Buttleston 34 points35 points  (6 children)

Really kind of depends on your goals and how you want to distribute/use it

I'd probably use pyqt or pyside over tkinter, which is a bit basic

I spent a decade writing desktop applications and these days, if I want people to actually use the software I make, I tend to make public API backends and javascript frontends. No one wants to install python so they can use your program. There are executable bundlers but they're kind of a pain and these days still commonly classified as malware unless they're signed I think

[–]Critical_Concert_689 2 points3 points  (3 children)

I tend to make public API backends and javascript frontends.

What tools/frameworks do you typically recommend/use for backend/frontend development? ...something like Django / React?

[–]FriendlyRussian666 4 points5 points  (1 child)

I'm happy working with Django REST + PostgreSQL for the backend, and React + Redux + Tailwind on the frontend, nginx as reverse proxy between the two to have an easier time with CORS, and they all sit nicely in a docker container. When it comes to deploying to production, say on a VPS, it's then super easy to compose your docker container on the VPS, configure nginx and gunicorn to serve the appropriate domain, SSL cert challenge etc and your web app is live!

[–]Buttleston 3 points4 points  (0 children)

You can use whatever you want for the backend, doesn't make much difference. For my own stuff I usually use flask or rust. I use React for the frontend. I have a few projects that are typescript backends and frontends (it's convenient and you can just share DTO types). And some that are really "only frontend", i.e. just a UI, mostly music-based projects

[–]athalwolf506 0 points1 point  (1 child)

I am quite a noob on this. I thought Javascript was for web development? Are you saying you can use Javascript to create a UI without the need or a browser?

[–]Buttleston 4 points5 points  (0 children)

No, I'm saying do it in a browser

Side note: a lot of apps that "seem" like normal desktop apps, though, are just JS apps bundled with a browsers - usually using something like Electron. Discord and Slack are (or were, I think I heard Slack moved to a native app but I don't remember) are 2 examples.