django's role

in the polyglot web

by David Gouldin / @dgouldin

django-polyglot.herokuapp.com

a brief history

django's 10th birthday

django is not a cms

(but it was built for one)

"perfectionists with deadlines"

the web

2005-2015

we've moved from this

to this

er, this

expectations

web "site" 🆚 "app"

django's

strengths

python

"perfectionists with deadlines"

orm & migrations

from django.contrib import admin

django rest framework

celery

django's

weaknesses

c10k

js client integration

example problems

push to web clients

django solution

polyglot solution

async task results

django solution

polyglot solution

server side js rendering

django solution

¯\_(ツ)_/¯

subprocess.call(['node', 'render.js'])

polyglot solution

React.renderToString(BaseElement)

shared authentication

django.contrib.auth

access token

authentication service

conclusions

say no to full stack python

http is your friend

(when it's not, pubsub is)

web browsers are service consumers

Heroku is hiring

and we have employees all over the world

heroku.com/careers

Questions?