Live data from Hacker News

Learn web development: Django Web Framework

developer.mozilla.org

11–20 of 54 posts

Re: Learn web development: Django Web Framework

#12

Oh man, this is far superior to the official Django tutorial I think. MDN really does a good job at holding your hand through the process. There are moments when going through docs where way too many assumptions are made about what I know. This is where prerequisites and objectives really help out. I know what I am getting into before grokking.

They also released a similar one about NodeJS + Express at https://developer.mozilla.org/en-US/docs/Learn/Server-side/E... both are very good at hand holding and helping you out.

The learning sites from MDN are very good. ;-)

Re: Learn web development: Django Web Framework

#15
If you're curious about how to set up a modern JS frontend on top of Django, I wrote up a tutorial recently. It might be helpful if you're debating between trying a Single Page App approach or some other design: https://medium.com/@theSquashSH/reconciling-djangos-mvc-temp...

Re: Learn web development: Django Web Framework

#16

If you're curious about how to set up a modern JS frontend on top of Django, I wrote up a tutorial recently. It might be helpful if you're debating between trying a Single Page App approach or some other design: https://medium.com/@theSquashSH/reconciling-djangos-mvc-temp...

And if you're going down the React + Redux + REST framework path and need a boilerplate to start off on, I'd highly recommend Seedstars': https://github.com/Seedstars/django-react-redux-base

Re: Learn web development: Django Web Framework

#18
post #17

Is Django restful in current version? Or I still need these if request.GET and if request.POST ?

So, there are a few ways to handle it. DRF gives you a REST-oriented paradigm to work with, but in standard Django, you can do class-based views with either get, post, etc methods, or you can use generics like "ListView" and just provide some stock methods like get_queryset to flesh it out.

Re: Learn web development: Django Web Framework

#19
post #16

If you're curious about how to set up a modern JS frontend on top of Django, I wrote up a tutorial recently. It might be helpful if you're debating between trying a Single Page App approach or some other design: https://medium.com/@theSquashSH/reconciling-djangos-mvc-temp...

And if you're going down the React + Redux + REST framework path and need a boilerplate to start off on, I'd highly recommend Seedstars': https://github.com/Seedstars/django-react-redux-base

Care to share why?

My apologies if you have street cred in the field, but I don't know you, so have no reason to trust your recommendation. Please tell me what makes this particular project better than any alternatives.

Re: Learn web development: Django Web Framework

#20
post #16

Earlier quoted context omitted.

And if you're going down the React + Redux + REST framework path and need a boilerplate to start off on, I'd highly recommend Seedstars': https://github.com/Seedstars/django-react-redux-base

Care to share why? My apologies if you have street cred in the field, but I don't know you, so have no reason to trust your recommendation. Please tell me what makes this particular project better than any alternatives.

No street card to offer --- just a developer passing on some knowledge. I've been using Django for the past two years and React + Redux for the past year. I've scoured around for boilerplates and that's the one that worked for me the best. YMMV
Post reply on HN