Live data from Hacker News

Getting Started with Django REST Framework and AngularJS, Part 2

engineroom.trackmaven.com

1–10 of 34 posts

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

#3
post #2

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

In the title:

> (Part 2)

Here is part 1:

> http://engineroom.trackmaven.com/blog/getting-started-drf-an...

And at the end of the article:

> A lot was covered in this post so this is a great point to end on. Look for the next post soon, covering API endpoint creation, including views, serializers, and URL routing for the Retail application.

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

#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.

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

#5
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.)

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

#6

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.

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

#7

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.)

two scoops of django is decent, but it doesnt talk about the DRF. I am going to be adding a blog post about this in a few days, Ill send you a link when I am done - drop me an email if you want me to email it you.

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

#8
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.

Django Rest Framework is hands down the easiest way to build an app I've ever seen. I can have a full API for most apps built in just a few hours.

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

#9

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.)

Part 3 will be coming out sooner than March I hope. The reason for the gap in releases was the holiday season, we should be able to get them out more reliable going forward.

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

#10
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.

With all due respect, this tutorial might be a little over your head, but a little bit of research will get you up to speed. __init__ files and virtual environments are not specific to Django or DRF. These are typical patterns used in python development. For example, using a virtual environment allows you to have a self-contained python environment (your choice of version) with package management through pip. This is enormously useful when writing apps--you've got python and dependencies all in one spot contained in its own environment.
Post reply on HN