this post was submitted on 23 Oct 2023
6 points (87.5% liked)

Programming

17354 readers
250 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

I basically want to make a small personal website that probably won't get any attention. It will also be somewhat simple. Is Django overkill and I should use Flask or something else or is it okay? I tried learning JS and using ExpressJS but JS overall feels very loosely typed and I don't like it. I've been using Python for over 3 years now.

top 6 comments
sorted by: hot top controversial new old
[–] Turun@feddit.de 8 points 1 year ago

No, you should use whatever you want instead.

Seriously, don't worry about it. You want to use Django? Use Django! You want to use flask? Use flask!

[–] silas@programming.dev 5 points 1 year ago

Yes! If you’re comfortable with Django, that’ll definitely work, not overkill at all.

If you’re down to get your hands dirty with JS, Astro is really easy to learn and can be extremely powerful if needed. TypeScript or JSDoc will give you the types in JavaScript you’re looking for, and that’s built-in to Astro too. SvelteKit is similar to Astro’s syntax but has more powerful server-side tools built-in and is my personal favorite.

Up to you, really just depends on how much you want to learn.

[–] foenkyfjutschah@programming.dev 3 points 1 year ago (1 children)

What about HTML? Or a tool that renders such from Markdown?

[–] Asudox@lemmy.world 2 points 1 year ago

I need a dynamic website

[–] miguelw@programming.dev 1 points 1 year ago
[–] CameronDev@programming.dev -3 points 1 year ago

Do you want a website or a webapp? Website, just stick with nginx + wordpress or something. If you actually want to write a webapp, then django should be fine. I have also used fastapi which was very easy to start with. If it's a personal web app, then the performance will never really be a problem (unless it grows into something more). So I would pick whatever you can find example code for, and just run with it.