Skip to main content

Django

I arrived at PyCon in time to catch lunch and a repeat of the history of Python talk that Guido gave at Google NYC on Wednesday. The first regular talk I went to was Adrian Holovaty's talk on Django. Steve Holden posted a nice summary of the Django talk. I'm still getting caught up on email and finishing my slides so I'll limit myself to one or two additions to Steve's post.

I like the scheme for mapping URLs to Python functions that provide the implementation. There is a regex-based mapping scheme that allows you to change the implementation (call a different function) without changing the urls. Adrian observed that the mapping file is also a great catalog of the software running in the site.

The key components of Django are:
  • A URL dispatcher
  • A database wrapper
  • A template system
  • An admin framework
There's nothing particularly surprising about this list. I like the emphasis on modularity he described. You can use any of the components in isolation (or none of them at all). It's nice to keep the components independent in this way. Zope, for example, is less modular. There are deep entanglements between Zope and ZODB, some of which I never figured out. I'm less certain about Zope3. Can you use individual components without also using the component model?

More random comments on my personal blog.

Comments

Popular posts from this blog

Registration is Now Open!

The PyCon 2014 organizers are thrilled to announce the opening of registration for the April 9-17 conference, taking place at the Palais des congrès de Montréal in Montréal, Quebec, Canada. This event represents the first of two annual PyCons to take place in Montréal, following a hugely successful two-year run in Santa Clara, California.

As with years past, ticket prices remain unchanged, and value is ever increasing. At the close of talk and tutorial proposals last week, a record 565 talks were submitted -- over 100 more than for PyCon 2013. Reviewers have been hard at work to begin shaping the 2014 schedule, which is expected in December.

Quantity-based early bird rates are back for 2014, with the cap set at the first 800 tickets receiving the discounted rates. Total sales are initially being kept to 2,000 tickets. For an individual buyer, the regular $350 USD rate is cut 15% for during the early bird period to $300 USD. The $600 USD corporate rate is dropped to $450 USD during early…

Young Coder Tutorial Helps Daughter, Father Get Into Python

PyCon 2013’s “Change the Future” theme was a nod to Python’s growing use in education, and to devices like the Raspberry Pi and their targeted child audience. Before 2,500 attendees descended upon the Friday through Sunday conference, which gave each of them a Raspberry Pi, kids filled a lab for two days of free tutorials on the tiny computer that taught them the basics of Python. They, too, took home a Raspberry Pi.

Not only did the “Young Coder: Let’s Learn Python” tutorials lay the foundation for many children to go on and learn to program, they sent at least one father down that same path.

9-year-old Havana Wilson of Denver, Colo., made the trip to PyCon with her father, Bruce. After she showed interest in building video games, dad looked around the web for how to get her involved. “It was my job to turn her desire into action, so I did research on the most intuitive programming language that has the ability to produce games but also could be a wonderful gateway into programming,” h…

PyCon 2018 Registration is Now Open!

We’re thrilled to announce the opening of registration for PyCon 2018 in Cleveland, Ohio! The prior six PyCons have sold out, so prepare for another one and get your tickets early. The first 800 tickets sold are priced at an early bird discount, saving over 20% on corporate tickets and over 12% on individual tickets. Students save $25 if they purchase early!

To get started, create an account and head to https://us.pycon.org/2018/registration/ to get your tickets!

You get a package that is hard to beat when you register for PyCon. The conference itself is three days worth of our community’s 95 best talks, amazing keynote speakers each morning, and our famed lightning talks to close out each day, but it’s much more than that. It’s having over 3,000 people in one place to learn from and share with. It’s joining a conversation in the hallway with the creators of open source projects. It’s taking yourself from beginner to intermediate, or intermediate to advanced. For some, it’s getting st…