The basic idea is to synchronize object graphs (for instance messages on a bulletin board) in realtime from the server to the client. Pushing with long polling, perhaps they’ll move to sockets later.
The ingredients: django, gevent, “simple javascript inheritance” by John Resig, knockout.js.
He uses it for a game: http://kodexgame.com/beta/ .
Performance matters! In software, but also while coding. So also give your text editor some love!
He loves VIM.
Learn the cursor movement commands for start/end line/word/sentence/paragraph. Same for selection. Get your editor to understand the languages you work with (html, python, etc).
Nice VIM feature: you can pipe the current selection through a unix command
and paste it automatically back in. He demonstrated it with uniq
to filter
out duplicates.
Get completion of words to work.
Look at http://www.vim.org/scripts for scripts to extend VIM with.
He’s got his dotfiles on github, so also look there for his vim config files.
(Obligatory note: I use emacs, hah! But his points are super valid. And I need to check if emacs can do that pipe-your-selection-to-unix trick!)
My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):