Live data from Hacker News

Ask HN: What do I move on to from Django?

news.ycombinator.com

11–20 of 20 posts

Re: Ask HN: What do I move on to from Django?

#11
If you like python but have mixed feelings about django and other opinionated frameworks, maybe try a project where you mix and match libraries instead of using a framework?

Have you tried using flask? I think you’ll find it closer to your experience with express.

Re: Ask HN: What do I move on to from Django?

#13
Ive been wondering for a while now -- tell me, do we really need specialized server logic for every little functionality?

In my last project, almost half the server code is really just converting REST to SQL. Why don't we just use SQL on the client directly?

If its just about authorisation, why not write an auth system for SQL and be done with all this unnecessary server code, once and for all?

I mean graphql sounds so stupid in this context because it's just cruft over SQL.

Re: Ask HN: What do I move on to from Django?

#14
post #7

i'd be curious to hear more about how you've built a career around something as specific as django (if i'm understanding you correctly). does not seem a broad enough skillset for the sorts of places i've worked, and it makes me wonder if i'm being spread too thin.

My first 5 years were spent in IT services and a product company, both of which used Django for backend. I had tried out Flask and Laravel etc in my free time, but not on company's dime. The current place I work at, however, uses Node+Express.

Re: Ask HN: What do I move on to from Django?

#15
post #4

Django is fine for web applications but I can understand wanting to learn other things after 7 years. You can try Go which seems to be very popular as a Python replacement for backends. Another option could be Elixir which is very popular here. Also you can try Deno which is written by the creator of NodeJs.

I've been wanting to try out the Erlang/Elixir ecosystem. Guess this weekend's going to be spent doing a few tuts on those.

Re: Ask HN: What do I move on to from Django?

#16
post #13

Ive been wondering for a while now -- tell me, do we really need specialized server logic for every little functionality? In my last project, almost half the server code is really just converting REST to SQL. Why don't we just use SQL on the client directly? If its just about authorisation, why not write an auth system for SQL and be done with all this unnecessary server code, once and for all? I mean graphql sounds…

There's a lot of good reasons why you shouldn't just connect straight to the database from client-side code. [1] So you'll always need some form of server sitting in between. Maybe you could store it in a new database system built entirely for this, which handles all of the nuances. However, you nearly always have more complicated logic and constraints that need to be enforced beyond what can be specified in a database schema, and you can't rely on clients maintaining that.

[1]: https://security.stackexchange.com/q/229954

Re: Ask HN: What do I move on to from Django?

#17
post #7

i'd be curious to hear more about how you've built a career around something as specific as django (if i'm understanding you correctly). does not seem a broad enough skillset for the sorts of places i've worked, and it makes me wonder if i'm being spread too thin.

[deleted]

Re: Ask HN: What do I move on to from Django?

#18
post #7

i'd be curious to hear more about how you've built a career around something as specific as django (if i'm understanding you correctly). does not seem a broad enough skillset for the sorts of places i've worked, and it makes me wonder if i'm being spread too thin.

regarding downvote- apology if tone came off wrong . was genuinely seeking advice on this

Re: Ask HN: What do I move on to from Django?

#19
post #16
post #13

Ive been wondering for a while now -- tell me, do we really need specialized server logic for every little functionality? In my last project, almost half the server code is really just converting REST to SQL. Why don't we just use SQL on the client directly? If its just about authorisation, why not write an auth system for SQL and be done with all this unnecessary server code, once and for all? I mean graphql sounds…

There's a lot of good reasons why you shouldn't just connect straight to the database from client-side code. [1] So you'll always need some form of server sitting in between. Maybe you could store it in a new database system built entirely for this, which handles all of the nuances. However, you nearly always have more complicated logic and constraints that need to be enforced beyond what can be specified in a databa…

I agree that direct connection to a database might not be the best idea, but I dont see anything particularly wrong with sending SQL over the wire.

I'm suggesting something like a hassura that isn't based on graphql, but works directly on SQL.

And ofcourse for specific logic, you can always run a traditional server in tandem.

Re: Ask HN: What do I move on to from Django?

#20
post #4

Django is fine for web applications but I can understand wanting to learn other things after 7 years. You can try Go which seems to be very popular as a Python replacement for backends. Another option could be Elixir which is very popular here. Also you can try Deno which is written by the creator of NodeJs.

I've been wanting to try out the Erlang/Elixir ecosystem. Guess this weekend's going to be spent doing a few tuts on those.

It's not that hard - if you get stuck with any of the concepts my email is in my bio. Cheers.
Post reply on HN