Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Liveblogging using channels
Search
Iacopo Spalletti
March 31, 2016
Programming
0
39
Liveblogging using channels
Lightning talk at DjangoCon Europe 2016
Iacopo Spalletti
March 31, 2016
Tweet
Share
More Decks by Iacopo Spalletti
See All by Iacopo Spalletti
Writing Async Microservices in Python
yakky
0
560
1 API - 3 Framework - 30 minutes
yakky
0
92
Building real time applications with Django and Channels 2 @ DjangoCon Europe
yakky
1
580
Building real time applications with Django and Channels 2 @ PyCon Italia
yakky
0
430
Building real time applications with Django
yakky
0
540
django knocker
yakky
0
55
django CMS application - A comprehensive approach
yakky
0
46
django CMS + Channels + DRF = ♥
yakky
0
310
django CMS @ DUTH - Exploiting Django for a good cause
yakky
0
370
Other Decks in Programming
See All in Programming
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
420
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
100
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
190
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
210
HTML/CSS超絶浅い説明
yuki0329
0
190
Alba: Why, How and What's So Interesting
okuramasafumi
0
210
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
1.9k
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
1.9k
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
390
AHC041解説
terryu16
0
400
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
150
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
1.3k
Featured
See All Featured
A better future with KSS
kneath
238
17k
Making the Leap to Tech Lead
cromwellryan
133
9k
RailsConf 2023
tenderlove
29
970
Side Projects
sachag
452
42k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
500
We Have a Design System, Now What?
morganepeng
51
7.3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Transcript
LIVEBLOGGING USING CHANNELS
HELLO, I AM IACOPO Founder and CTO @NephilaIt @yakkys https://github.com/yakky
SO, CHANNELS New protocol interface for Django Asyncronous 'At most
once' queue system
SO, CHANNELS FUTURE (AND PRESENT) OF DJANGO Released for Djago
1.8, 1.9 In Django core starting 1.10 (hopefully)
I WANTED TO TINKER WITH IT And then, djangocms-blog.liveblog
DJANGOCMS-BLOG.LIVEBLOG Liveblogging in realtime with websockets
LIVE DEMO!
HOW DOES IT WORK? notification = { 'id': self.pk, 'content':
self.render(), 'creation_date': self.creation_date.strftime(DATE_FORMAT), 'changed_date': self.changed_date.strftime(DATE_FORMAT), } Group(self.liveblog_group).send({ 'text': json.dumps(notification), })
THANKS