Learn about logging, how web framework interprets the URL, and Python 3

This is a past event

201 people went

Location visible to members


Please save the date for the next python meetup on April 11. We will listen to 3 20-min talks. RSVP will begin on Friday April 6 at 1:00p PST.

**We are implementing this new RSVP policy because our meetups typically reach maximum capacity within days of announcement. But people's plan do change, and sometimes forget to change their RSVP so people on the waiting list can take their place. We hope that by posting the agenda earlier and making the tickets available later, people who really want to show up will have a better shot at getting in.

As usual, if you do have a ticket, come early and mingle with your follow sfpython members Enjoy pizza and drinks from Yelp, our venue sponsor. Talks will begin at 7:10p.

1. Understanding URL Resolution in Web Frameworks by Ben Bangert

One of the most common tasks in modern web frameworks is to ease the task of writing bits of code that are then called by the framework when a certain URL is hit.

How do frameworks do this?
What are the most common approaches to interpreting the URL?

This short talk will focus on several common URL resolution methods:
- Regular expressions
- Object-dispatch
- Traversal (Similar to Zope Acquisition)

Understanding how the framework interprets the URL's to find code to call helps us gain a deeper insight into web frameworks in general.

Ben Bangert is a San Francisco Bay Area programmer, best known for his open-source work creating and contributing to Python libraries such as Pylons, Beaker, and Routes.
He currently works at Mozilla

2. Advanced Logging Techniques In Python by Noah Gift

Logging is something that is often an afterthought, but is critical to the long term stability of a project. In this 20 minute I will go into a technical bootcamp on advanced logging techniques:

1. Configuring the Python logging library
2. Using logging decorators
3. Doing asynchronous logging via JSON and HTTP.
4. Setting debug levels

Noah Gift is the Director of Engineering at Loggly, which is a SaaS logging company built on Amazon EC2 and open source technologies like Python, Erlang, and Solr. He has M.S. in Computer Information Systems, and is an MBA candidate at UC Davis. In his not so distant past, he worked with a variety of different languages and industries throughout the United States and the world. He has done Erlang development at AT&T Interactive, Python development on the movie Avatar in New Zealand for Weta Digital, and Cocoa development for his own startup that sells through the Mac App store. Noah is the author of “Python for Unix and Linux Systems Administration” by O’Reilly, dozens of technical articles, and has done public speaking at many events around the United States and the world.

3. Epic Adventures in Python 3 by Aaron Maxwell

Great news! Many of us can FINALLY be coding in Python 3 for our daily work. Learn juicy details of how Mobile Web Up's core product has been coded entirely in Python 3 for over a year now... with fantastic success. As time allows, we'll cover the advantages of Python 3; different strategies for the 2 to 3 transition; what to do when a library you need only works in Python 2; who should NOT make the switch yet; practical tips and time-saving practices;
and more.

Aaron Maxwell is an author, speaker, and technical founder of Mobile Web Up, whose core product is implemented in Python 3. He has presented at Pycon and elsewhere; written for Mashable and others; authored and contributed to too many open source projects; and as a developer and engineer enjoys coding in many different languages... most of all, Python. Keep up with his antics at redsymbol.net (http://redsymbol.net/).

Questions? Suggestions? Feel free to ping me