this post was submitted on 23 Oct 2023
13 points (88.2% liked)

Programming

17024 readers
208 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 [email protected]



founded 1 year ago
MODERATORS
13
submitted 11 months ago* (last edited 11 months ago) by Asudox to c/[email protected]
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] abhibeckert 0 points 11 months ago* (last edited 11 months ago)

JS overall feels very loosely typed and I don’t like it

Yep, as someone with 20+ years of JS experience it's pretty bad. There are hoops you can jump through to improve things but they add complexity and don't really fix the fundamentals.

Django is an OK choice.

Personally I would go for Laravel and PHP. In my opinion the latest version of PHP is a better language than Python (that wasn't true with old versions of PHP) and I prefer Laravel over Django because it's more modular and generally easier to build exactly what you want, without being influenced by the framework. Laravel is only "opinionated" in areas that will not limit your project.

You will have to build your own back end/dashboard in Laravel though. That's not much work but in particular make sure you get your login system right.

Whichever way you go, I highly recommend paying for ChatGPT+ and using that instead of google/stack overflow/lemmy as the first place you go to look up how to do something. Here's an example where I asked for a basic hello world project, then asked to expand it with Eloquent and Blade (to fetch from a database and output a html page): https://chat.openai.com/c/60ef78f4-13a6-4e62-ab7c-da4603ffed52