Recent Posts

Django i18n

What does i18n mean?

i18n = i followed by 18 letters followed by n = internationalization

That is it, just a short hand. It isn't the name of standard governmental or otherwise.

When I watched the first videos about Django many years ago, they declared that Django had great internationalization support including a Welsh translation. It sounded great and I wanted to try to use it, but I was never involved in a project that really ...

Read More

Going Responsive

I was somewhat skeptical of responsive design. Grids add some additional HTML which is essentially for layout and I thought responsive design generally relied on Javascript, but after transforming my own website I found things are getting better.

Let's start with what my website used to look like.

Previous design of my website where most section were surrounded by a border.

Boxy and segmented, it was built for a specific width and not on a grid. It looked alright on mobile because I used the meta viewport ...

Read More

Go Open Data

What started as a brief conversation between myself and Michael Druker almost a year ago has come to life. On Saturday, May 11th people from Windsor to Ottawa are going to come together at the University of Waterloo School of Pharmacy for GO Open Data, a one day conference.

GO Open Data Conference

The conference aims to bring together people from across Ontario and across the various interests related to open data to enjoy 8 talks, 2 panels, and ...

Read More

Pjax vs JSON

At DjangoCon US 2012 I asked a question about performance after the BDFL keynote on Pjax. Asking about performance is never a good idea since it is never the most important thing. I was attempting to evaluate Pjax versus the plethora of Javascript based rendering that was being discussed.

A common idea was to use the same template language in Django as you use in Javascript. The Meteor keynote explained that just sharing a template ...

Read More

Function Based Views Are My First Love

There is something special about your first love. It is possible be too attached and not embrace the new hotness of say Class Based View (CBV). But after having a fling and then dating CBV for a while, I now know that Function Based Views will always have a special place in my heart, and I hope in Django.

Let's look at a FBV:

def foo(request, arg, template="foo.html"):
    # Do something
    return ...
Read More