Live data from Hacker News

Getting Started with Django REST Framework and AngularJS, Part 2

engineroom.trackmaven.com

11–20 of 34 posts

Re: Getting Started with Django REST Framework and AngularJS, Part 2

#11
post #2

Neither Django Rest Framework nor AngularJS is actually used in this post..

This reminds me of the kickstarter to build django tutorials. Lots of talks and finally halting halfway ... That's the difference between Django and Rails (and now Node). Ressources are scarce and unreliable ...

Re: Getting Started with Django REST Framework and AngularJS, Part 2

#12
I use DRF with Angular at work, so I'm interested in seeing where this series goes.

Tangentially, I can't imagine using Django without DRF. It makes setting up RESTful(ish) APIs so easy. Even if you don't care much about the RESTful aspects, it provides a much nicer way to organize your code than default Django IMO. I especially like how serialization works versus Django forms.

Re: Getting Started with Django REST Framework and AngularJS, Part 2

#13
post #4

It's shocking to me how something that should be so easy becomes so complicated. Why does the file structure need to be re-configured? What the heck are the __init__ files?? Virtual environments? I sort of know the answers but remain unsatisfied. And then the author sets up a needlessly overcomplicated data model situation.

pretty standard stuff if you're familiar with python...

Re: Getting Started with Django REST Framework and AngularJS, Part 2

#15

Aww, what a tease. This is exactly what I'm diving into right now. Since part one was written in November, I'm guessing part three might show up around March? Anyone have any worthwhile Django learning resources to share? (Other than Django's own docs, which are great.)

Yup - this course for using Django with AngularJS is by far one of our most popular: https://thinkster.io/django-angularjs-tutorial

Re: Getting Started with Django REST Framework and AngularJS, Part 2

#16

Aww, what a tease. This is exactly what I'm diving into right now. Since part one was written in November, I'm guessing part three might show up around March? Anyone have any worthwhile Django learning resources to share? (Other than Django's own docs, which are great.)

There's a book called Django by Example by Antonio Mele that I think is pretty good. People love Two Scoops of Django as well. The former consists of a series of tutorials and the latter explains best practices to consider when writing Django apps.

Do either of those talk about Django and scalability/duplication? The two biggest problems I've run into looking for other resources are:

1. Versions -- a lot of printed materials are just old by the time they come out.

2. None of them talk about large-scale projects, only smaller-scale personal blogs etc. as a first project. Or, put another way, many of the resources I find target beginners instead of intermediate/advanced learners.

Re: Getting Started with Django REST Framework and AngularJS, Part 2

#17
post #11
post #2

Neither Django Rest Framework nor AngularJS is actually used in this post..

This reminds me of the kickstarter to build django tutorials. Lots of talks and finally halting halfway ... That's the difference between Django and Rails (and now Node). Ressources are scarce and unreliable ...

I would recommend tangowithdjango.com (Django Only) as the first step.

Re: Getting Started with Django REST Framework and AngularJS, Part 2

#18
post #4

It's shocking to me how something that should be so easy becomes so complicated. Why does the file structure need to be re-configured? What the heck are the __init__ files?? Virtual environments? I sort of know the answers but remain unsatisfied. And then the author sets up a needlessly overcomplicated data model situation.

can I ask a serious question? are you possibly not the intended audience of this article? have you done any non-beginner work using Python and/or Django in a production environment?

Re: Getting Started with Django REST Framework and AngularJS, Part 2

#19
post #12

I use DRF with Angular at work, so I'm interested in seeing where this series goes. Tangentially, I can't imagine using Django without DRF. It makes setting up RESTful(ish) APIs so easy. Even if you don't care much about the RESTful aspects, it provides a much nicer way to organize your code than default Django IMO. I especially like how serialization works versus Django forms.

I found the best thing about DRF was how well it conforms to Django conventions. Model serializers work very like model forms and the class based views are almost the same.

Re: Getting Started with Django REST Framework and AngularJS, Part 2

#20

Aww, what a tease. This is exactly what I'm diving into right now. Since part one was written in November, I'm guessing part three might show up around March? Anyone have any worthwhile Django learning resources to share? (Other than Django's own docs, which are great.)

There's a book called Django by Example by Antonio Mele that I think is pretty good. People love Two Scoops of Django as well. The former consists of a series of tutorials and the latter explains best practices to consider when writing Django apps.

I am about a third of the way through Django By Example and would also recommend it for someone who has gone through the Django Tutorial and is looking for more.

I've found books by Packt Pub to be of variable quality, and DbE does have some typoes/errors, but the content so far has been quite good.

Post reply on HN