Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Django Powered Mobile Apps

Django Powered Mobile Apps

Django is a great platform for developing the infrastructure for mobile apps. This talk covers API design, prototyping, and writing excellent documentation.

Tim Kuehlhorn

July 28, 2013
Tweet

Other Decks in Programming

Transcript

  1. The Scenario Your team is developing a mobile app. You’re

    responsible for the server it talks to.
  2. The App • Native mobile client (iOS, Android, etc.) •

    Mobile Web Application • All of the above (and more?)
  3. By developing the app and API in parallel, you get

    a complete picture of your platform.
  4. Why Django? • Get started on design right away •

    Lends itself to iterative development • Wealth of existing packages
  5. Django gives us an ORM and middleware, but doesn’t help

    you communicate with the mobile app.
  6. ViewSets allow you to define the set of all possible

    actions on a given resource. Routers generate a consistent URL structure from your ViewSets.
  7. Don’t stop at just listing all of your endpoints. Write

    docs that explain how to use the API.
  8. You can also use your Sphinx docs like a living

    spec. Big changes can be sketched out quickly for review.