(Short 5 minute talks at the 2012-01-18 Dutch Django meeting)
Coffeescript also allows classes, including constructors, and inheritance.
Django-coffeescript integrates the compiling into Django. And you can even put inline coffeescript in your template. But normally you’ll just point at external files.
Bonus tip: django-less. Less is css + variables + nesting + inheritance. Integrated in the same way as django-coffeescript.
“Django-fluent-dashboard - a fresh dashboard for your admin interface” was the title.
Django is a bit technical. His thought: how to make the Django admin more usable as a CMS that’s friendly? Another core thing in his thinkwork was the idea of reusable apps.
If you look at the current admin, you directly see the huge number of apps. Not nice.
Somebody made Django admin tools. Nice. A good solution. It gives the admin a nicer layout and even a menu bar that helps you find things.
The core idea: django-fluent-dashboard only modifies the first page of the admin: instead of the big list of apps you get friendly, grouped, icons.
He made a modification (or plugin, or newer version, I don’t know) that looks even nicer. More dashboard-based. See the example on the documentation site.
In the end, he hopes to turn it into a full CMS. There’s already a django-fluent-contents and django-fluent-pages on github. But they’re separate projects. django-fluent-dashboard works just fine with Django Fiber, for instance.
A small teaser for a bigger talk at next month’s Dutch python meeting.
Logbook is nicer logging for python than the standard library’s default logging module.
And for Django: whatever logging module you use, use django-sentry to get a website that collects your various site’s logs. He made a version that works especially nice with logbook, as logbooks gives you all logs of a web request if something goes wrong: it doesn’t only give you just the last traceback. So use debug logging liberally, it will help you debug.
http://30loops.net/ is a Python and Django hosting platform, located in Amsterdam (and a bit in Berlin since he moved recently).
They have years of experience in sysadmin and hosting, so they’re building yet another django/python/wsgi hosting platform. What you normally get at such a “platform as a service:
They differ on two major points:
They actually abstracted away quite a lot, so you can run your apps on 30loops’ own hardware, but also on other cloud providers. Handy if you have to deploy to multiple physical locations.
You can access all logs and metrics with REST: you own all your data.
They’re also on github: https://github.com/30loops
You can sign up for private beta now, btw.
Asking around gave the usual list of “good tools”, “passion” and “emacs”. He mentioned:
Why all these questions? Reason: there is a big need for professional software developers. You see lots of mails on the mailinglist asking for personell.
Would it be a good idea to start a “django academy”? Certification? Learning about acquiring clients? Create a network for supply and demand of professional developers?
There was quite some discussion afterwards (and I didn’t agree with some of the points, for the record).
Django fiber is a simple, user friendly CMS for your Django projects. It is getting bigger and bigger. 11k downloads since April 7, 2011. That’s about 1250 downloads per month. That’s only counted on pypi, though. Django CMS has 60k downloads since the beginning of time, as a comparison. So it is turning out to be pretty big!
What did we do since early 2011?
And... they build a lot of sites and apps with it (he said to me they build some 60 sites!)
They are realizing that they need to build a community around it if they want to get it off the ground further:
Nice: a couple of days ago, Luke Plant mentioned some big db optimizations for Django. They will look at that tomorrow, too.
(I wrote about an earlier 30 minute talk he gave on Django Fiber for if you want more information.)
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):