My talk on JSON Web Tokens at DjangoCon US 2014

I had a great time at DjangoCon US 2014. Lots of first times. First time at DjangoCon First time speaking at DjangoCon First time speaking in front of “large” crowd. First time visiting the west coast First time visiting Portland Special thanks to Blimp for enabling me to do this. Thanks to the DSF’s grant which… Continue reading My talk on JSON Web Tokens at DjangoCon US 2014

Django REST framework Sprint at DjangoCon US 2014

This’ll be my first time attending and speaking at DjangoCon US. I’ll be talking about JSON Web Tokens, Django, and Django REST Framework. I’ve been talking about working on a Sprint for Django REST Framework with Tom Christie on Twitter. Tom pointed out a list of decent candidates to work on if we get some people together. We’ll have a… Continue reading Django REST framework Sprint at DjangoCon US 2014

The easiest way to add WebSockets to Django

TL;DR – I came up with a very simple solution to handle WebSockets in Django apps. You just install django-websocket-request, run a script and you have WebSockets for your Django app. The cool thing is that this solution makes Django believe its getting a (somewhat) normal HTTP request so you can reuse almost all of you… Continue reading The easiest way to add WebSockets to Django

Auth with JSON Web Tokens

When it comes to implementing authentication on web apps, one solution you’ll definitely hear about first are cookies. Cookie-based authentication uses a server side cookies to authenticate the user on every request. This means that you’ll need to keep a session store, whether it’s on a database or on something like Redis. A solution you’ll… Continue reading Auth with JSON Web Tokens

Ember.js + Django

Quick deck about how easy it was to switch an Ember.js app from using localStorage adapter to using an adapter for Django REST Framework. To show the simplicity of it, I took the simple Markdown Editor I built a couple of days ago, Poe, and switched the localStorage adapter with one that works with Django… Continue reading Ember.js + Django