5
620hun
7y

I always feared databases, but Django makes it so comprehensible. I only have to define relationships, and everything else is taken care of under the hood. Love it!

Comments
  • 0
    Just keep your tables really small. Django does not like large, complex tables with lots of data.
  • 1
    I'm a DB guy, and having worked with Django I said to myself:

    This abomination needs to be annihilated from the face of the Earth.

    Few things have ever been so slow and so inefficient at dealing with data, as Django is.
  • 0
    Don't break it for me, this is going to be an exception 🤞
  • 2
    Doing things under the hood is great until shit goes tits up and you need to know what's actually happening to fix it.
  • 1
    @loopback I know what's going on, I just don't have to worry about it 😊
  • 0
    @apisarenco what's your alternative recommendation?
  • 0
    @badcopnodonuts something that's faster?

    Depends on what you need to do. Web apps often just have to be fast and allow the flexibility of controlling the app using the URL, and ease of using templates.

    I don't know why Django was so slow when testing locally on a simple DB schema, but really anything else would've been faster. PHP7 (maybe with Doctrine, maybe with just direct PDO); Express; Java+Hibernate; .NET Core with Dapper, or even ADO.NET. I've had huge databases work wonderfully fast with all of these technologies.

    I really had hopes for Django. I don't know why it sucked that much. Maybe I was doing something wrong, but I was following the official documentation to the letter, and there isn't really that much room where I could've done wrong, in such a simple application.
  • 1
    @apisarenco fair call but I meant as far as using Django goes as that was the rant but you've answered my question though.
    I'm no expert db guy but what do you call slow as far as query times?
  • 0
    @badcopnodonuts anything not sub-second.
  • 1
    @iAmNaN phew.. then my shit runs like a well oiled machine.
    So far... 😁
  • 1
Add Comment