by Idan Gazit
Building sites which adapt gracefully to different screen sizes is no longer a domain reserved for crazy web experiments. With a suitable structure, you can provide multiple layouts targeted at different screen sizes for relatively little additional effort. Learn about the “why” of responsive design, how it works, and implementation strategies for your Django webapps.
Previous knowledge of Compass and the Less Framework are helpful—but not required.
We all know the golden rule of query optimisation: make one big query rather than lots of little ones in a loop. However, that's easier said than done when you're dealing with deeply nested data - there's a limit to what you can do with Django's own mechanisms like select_related. Often the only answer is to drop down to raw SQL, and in those cases we'd still like to have access to our models, rather than abandoning ORM entirely. This talk presents unjoinify, a helper module that can reassemble gnarly cross-table SQL resultsets back into template-friendly object trees.
6th–10th June 2011