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

Djangocong Apps to Services

Djangocong Apps to Services

Craig Kerstiens

April 14, 2012
Tweet

More Decks by Craig Kerstiens

Other Decks in Programming

Transcript

  1. Project App A collection of configuration and apps for a

    particular Website. (per Django Project) Django
  2. Project App A collection of configuration and apps for a

    particular Website. A web application that does something. I.e. Weblog, Poll, Ticket system (per Django Project) Django
  3. REUSABILITY means faster features due to DRY (Don’t Repeat Yourself)

    REUSABILITY does not always mean SCALABILITY or MAINTAINABILITY
  4. Project App A collection of configuration and apps for a

    particular Website. A web application that does something. I.e. Weblog, Poll, Ticket system (per Django Project) Django
  5. Project App A collection of configuration and apps for a

    particular Website. A web application that does something. I.e. Weblog, Poll, Ticket system Django Service Method of communication over the web. Web APIs allow combination of multiple services
  6. App App App Support Knowledge Base Billing Apps Grow Marketing

    Analytics Mobile API Front End Social 3 Apps
  7. App App App Support Knowledge Base Billing Apps Grow App

    App App Marketing Analytics Mobile App App App API Front End Social 9 Apps
  8. In Python data = { ‘question’: “my question”, ‘source’: 123

    } requests.POST(os.environ[‘FAQ_API’] + ‘/create/’, data=data)
  9. Version Bump data = { ‘question’: “my question”, ‘source’: 123,

    ‘related’: [456, 789] } requests.POST(os.environ[‘FAQ_API’] + ‘/v2/create’, data=data)
  10. Version Bump data = { ‘question’: “my question”, ‘source’: 123,

    ‘related’: [456, 789] } requests.POST(os.environ[‘FAQ_API’] + ‘/v2/create’, data=data)
  11. Version Bump data = { ‘question’: “my question”, ‘source’: 123,

    ‘related’: [456, 789] } requests.POST(os.environ[‘FAQ_API’] + ‘/v2/create’, data=data) STILL VALID requests.POST(os.environ[‘FAQ_API’] + ‘/v1/create’, data=data)