I gave a 30 minute talk about Django 1.3’s great wonderful class based views. I don’t have a textual summary, but here are some of my articles that cover the same ground:
Oh, and we’re hiring again! Mail me if you’re interested. Great 9 person Django team in a 40 people company. Oh, but you’ll have to speak Dutch. Dead smack in the middle of Utrecht next to an ice cream stand.
The Dutch Django Association was started to organize the Amsterdam djangocon.eu, which was a wild success. There’s even some money left, so we can pass along some money to next year’s organizers. And there’s still left for helping organize future activities. At the meeting we brainstormed about such possible activities.
Become a member for just 10 Euro!
Oh, and this was his first Django project, so we’re waiting what his 10th project will look like :-)
Tom is here to take away our jobs :-) He works at west and they started experimenting with offshoring some Django work to Malaysia, one of the apparently up-and-coming IT countries. The conditions there are good.
Very important: the culture is relatively similar. They don’t mind asking questions, for instance.
Django’s documentation is really good. So they could basically point developers there at Django and told ‘em to build isolated chunks of functionality. Which works pretty well. Django’s documentation helps here.
Roald won a ticket to Djangocon US at the Amsterdam djangocon.eu, so here’s his trip report. Btw, the videos of that conference are at http://blip.tv/djangocon .
Some general impressions: documentation and testing were big topics. The team of core developers is growing: they’re mostly adding specialists.
Regarding tests: make tests.py a test/ package instead of a 6000 line file. Oh, and use Mock objects. Write more tests, as making code testable makes code better. Use coverage.py to look at your test coverage and make it into a game.
Russell talked about the Django software foundation (DSF). DSF owns the django trademarks and copyright. If you submit patches, you should sign a contributor agreement. (If you work for a company, your company should sign it, too). You can become a member of the DSF, but it isn’t clear what it means and they don’t have any members yet anyway.
A talk about django packages, about what makes it good. By the creator of http://djangopackages.com .
Some noticable verdicts from these criteria:
Best practices for front-end developers:
According ot Idan (“benevolent designer for life”), creating a site should start with design. He started https://ux.djangoproject.com/ to start a django user experience team.
The number one talk he’d recommend everyone to watch is Glyph Lefkowitz’ keynote: http://blip.tv/djangocon/keynote-glyph-lefkowitz-5573264
He demoed some REST api they developed. With urls in there that you can follow. So from a list of books to an author to a birth city. But that’s three hops. Someone asked them if it could be possible to turn it into somehting more django-model-like. So book.author.born_in or so.
He made a subclass of dict called RestObject that does some nice magic so that you can call attributes on it and it’ll traverse the REST “tree” for you. Limited amount of code and quite some fun.
The company he works for recently migrated a Lotus Notes application to a web-based one build on Django with Sencha (extjs) as a front-end. For computer, phone and tablet.
Their mobile version uses sencha touch. The desktop is based on sencha extjs. The application is for career counseling. One of the important things is email communication from and to the system. Those emails need to be logged. A job coach needs to be able to add/log/file emails to a client dossier.
Inbound emails can be forwarded to the application and then appear on the coach’s desktop for filing. Outgoing emails are bcc’ed to the application. Attachements are stored on S3 and are also added to a person’s dossier.
Once you deal with email on such an integrated scale, there are quite some requirements.
They looked at a couple of alternatives. www.smtp2web.com is a twisted app. CloudMailIn is a commercial offering, which was pretty good. In the end they made their own custom smtp service (“SMTPasso”) using twisted and a couple of other python libraries.
Just google sass: http://sass-lang.com/. A format that outputs css, but that uses a maintainable and readable and more object-oriented syntax as an input format.
Compass, the actual preprocessor, can be integrated/used in a Django project. http://compass-style.org/blog/2011/05/09/compass-django/
“Everything I hate about css is now gone!” was the comment from one of the attendees. “It is just awesome.”
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):