Florian Demmer - www.floriandemmer.com
... examples and thoughts
Django Friends Meetup, 2015-08-06
kind of like Software as a Service
We want a centralized accounts service!
MongoDB + Flask = REST API
We want to send a newsletter!
let's buy <some SoA>
use it with Celery tasks and requests
does the problem really fit the solution?
We want to keep the Internet out of our office CRM/CMS/...!
2x Django + Celery (Redis)
# frontend service: webservice.py
@shared_task
def update_or_create_user(username, password):
...
# backend service: tasks.py
from celery import signature
update_or_create_user = signature('webservice.update_or_create_user')
# backend service: signals.py
from tasks import update_or_create_user
ref_id = update_or_create_user(username, make_password(password))
slides.com/fdemmer
flickr.com/fdemmer
@fdemmer