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
40
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
580
1 API - 3 Framework - 30 minutes
yakky
0
92
Building real time applications with Django and Channels 2 @ DjangoCon Europe
yakky
1
600
Building real time applications with Django and Channels 2 @ PyCon Italia
yakky
0
450
Building real time applications with Django
yakky
0
560
django knocker
yakky
0
55
django CMS application - A comprehensive approach
yakky
0
48
django CMS + Channels + DRF = ♥
yakky
0
310
django CMS @ DUTH - Exploiting Django for a good cause
yakky
0
390
Other Decks in Programming
See All in Programming
DROBEの生成AI活用事例 with AWS
ippey
0
130
GitHub Actions × RAGでコードレビューの検証の結果
sho_000
0
240
知られざるDMMデータエンジニアの生態 〜かつてツチノコと呼ばれし者〜
takaha4k
4
1.3k
定理証明プラットフォーム lapisla.net
abap34
1
1.7k
Honoとフロントエンドの 型安全性について
yodaka
4
250
AHC041解説
terryu16
0
590
Conform を推す - Advocating for Conform
mizoguchicoji
3
680
Rails アプリ地図考 Flush Cut
makicamel
1
110
Pythonでもちょっとリッチな見た目のアプリを設計してみる
ueponx
1
480
Spring gRPC について / About Spring gRPC
mackey0225
0
220
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
200
Linux && Docker 研修/Linux && Docker training
forrep
23
4.5k
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
35
1.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Statistics for Hackers
jakevdp
797
220k
A Modern Web Designer's Workflow
chriscoyier
693
190k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
114
50k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
GitHub's CSS Performance
jonrohan
1030
460k
How to Ace a Technical Interview
jacobian
276
23k
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