Integrating Django and AngularJS

Nicolás Gonzálvez
August 25, 2014

Single Page Applications have been on the rise since the last few years. They are headed towards being the next standard for web applications. Because of this, a few weeks ago I decided to give a talk about how to structure SPAs using Django and AngularJS.

What is AngularJS?

It is a client-side MVC (Model-View-Controller) framework built with Javascript. It is open source and developed by Google. It offers two-way data binding, modularization, dependency injection, URL routing and custom HTML elements.

Why integrating them?

There are several reasons for doing it. These two frameworks have a really strong and active community. This is good for your project, because it means it will be more stable.

Also, building the backend with Django is a kids game. You can have your API working perfectly in a very short time. And the same goes for AngularJS. on the client side, since it provides a lot of pre-built, performant, already tested tools for you to work with.

Together, they allow you to invest your time in adding new features to your product, instead of having to waste a lot of time thinking about how to put all those features together.

Resources

The Github repo with the demo code showed in this talk: Github.

"Integrating Django and AngularJS" by Nicolás Gonzálvez is licensed under CC BY SA. Source code examples are licensed under MIT.

Image by sophilabs

Categorized under javascript / talks / django.

We are Sophilabs

A software design and development agency that helps companies build and grow products by delivering high-quality software through agile practices and perfectionist teams.