my notes on post-DjangoCon 2011

It’s so amazing the differences and similarities between the ruby and the python community. The railsconfs are always full of “rockstars” but the django conf seems like real people doing web. It was a great conference full of very good technical talks. Here there’s a resume of the ones I was able to attend.

Testing with Letucce and Splinter

by @varud
his blog http://tech.yipit.com/author/adam-nelson/
nice tutorial about lettuce (basically a copy of Cucumber for django) : Lettuce Documentation.

Confessions of Joe Developer

by @pydanny
slides on http://www.slideshare.net/pydanny/confessions-of-a-joe-developer
It was a funny presentation where he tried to do what is so important for inclusiveness, to put everybody in the same level. He explained his idea of “smart way of doing things” versus “stupid way” favoring the last one… One of the useful advices he mentioned is not to use copy and paste for code. Always write down the code that you find in the web from smarter people. He also had a few slides advocating for more inclusion and promoting pyladies explaining how to participate in the LA python’s group.
He writes this blog and takes great notes at readthedocs.
For the Django Hosting Panel I got a little lost and started hacking on my own things. Although I  know that DotCloud was participating :-)

Testing: the developer strikes back

“Code not tested is broken by design” – Jacob Kaplan-Moss
by @sandymahalo
slides on https://docs.google.com/present/view?id=0AVthC0Z3iw8DZGRrdnFzeGdfN2c5bWJ6d2Y1&hl=en_US
It was a really good talk about testing. She was not advocating for TDD thinking that it is not usually what you want to start doing when you get passionate about a project and want to build a quick prototype. Althought she was totally advocating for well tested code.  Pydanny’s notes about her presentation.

A summer in the Wild

by @alex_gaynor
his blog is http://alexgaynor.net/
The last talk I attended for the first day was Alex Gayner‘s about PyPy on Quora. I’m getting a kind of fan of him cause his talks are always so clear and good. This one was not the exception. He mentioned things that Django is doing really right. And of course one koan people were mentioning once and again through the conference for deploying: “Automate everything!”

Real world Django deployment using Chef

by @kantrn
slides on http://www.slideshare.net/coderanger/real-world-django-deployment-using-chef
chef cookbook at https://github.com/coderanger/djangocon2011

Making the Django ORM Multilingual

by @ojiidotch
notes on http://pydanny-event-notes.readthedocs.org/en/latest/DjangoCon2011/multilingual-orm.html
He mentioned the different ways on that people are resolving this problem and why they all have their cons (and pros). At the end there was a call to everybody trying to resolve this issue in Django to meet and try to start something about i18n.

Stop Tilting at Windmills – Spotting Bottlenecks

by @yml and @bkonkle
It was a talk on performance but I didn’t take notes … and I didn’t find the slides. They mention the tools that are in the description of the talk.

Best Practices for Front-End Django Developers

by @webdevgirl
slides on http://www.slideshare.net/cosecant/best-practices-for-frontend-django-developers
I’m amazed on how many designers were giving (good) talks.

Advanced security topics

by @paulrmcmillan
slides on http://subversivecode.com/talks/djangocon-us-2011
He recommended to get the book The Web Application Hacker’s Handbook: Discovering and Exploiting Security Flaws

Y’all Wanna Scrape with Us? Content Ain’t a Thing : Web Scraping With Our Favorite Python Libraries

by @kjam
slides on http://dl.dropbox.com/u/19508576/djangocon_slides/src/scraper_talk.html
All about scraping with recommendations for tools at the end.

Cache rules everything around me

by @jacobburch and @noah256
notes here: http://pydanny-event-notes.readthedocs.org/en/latest/DjangoCon2011/cache.html
This talk was awesome. Everything you needed to know about cache invalidation and more.. Cool.

And here @pydanny’s notes on the Django Core Dev Panel: http://pydanny-event-notes.readthedocs.org/en/latest/DjangoCon2011/django-core-dev-panel.html

Django is not gonna migrate to GIT and is not gonna be in python 3 in the next few months.

Reviewing bugs in Django

// first time only
- confirm you have all the requirements (git, python, pythonbrew)
- git checkout django
- set the sitepackage path to that one

// for each ticket
- get the ticket (assign it to yourself)
- setup django in the ticket’s version (git checkout version_number)
- setup python in the ticket’s version (pythonbrew use version_number)
- install whatelse the ticket is using
- reproduce the ticket
- if it is a bug confirm it and go to fix it if you wish
- if it is not a bug then change the ticket’s status

doc source use for this process
- Getting started with Django http://www.djangobook.com/en/2.0/chapter02/
- Getting started contributing to Django https://docs.djangoproject.com/en/dev/internals/contributing/new-contributors/#first-steps
- On Reports and Easy Tickets https://code.djangoproject.com/wiki/Reports
- Git Repository http://github.com/django/django

DjangoCon US 2011

Hey! Although I have been more actively around Ruby for the last two years and I’m still doing some more stuff with Rails, I’m getting up to speed with the python world. I’m quite excited that I will be able to go to DjangoCon this week in Portland, OR. Django and its community has been maturing a lot in the last couple of years. There are a lot of libraries and a lot of things happening around it. One of the cool projects is Nose and django-nose; it makes easy to run and write tests looking for TestCase subclasses in your project’s tree.