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
36
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
420
1 API - 3 Framework - 30 minutes
yakky
0
69
Building real time applications with Django and Channels 2 @ DjangoCon Europe
yakky
1
480
Building real time applications with Django and Channels 2 @ PyCon Italia
yakky
0
280
Building real time applications with Django
yakky
0
450
django knocker
yakky
0
46
django CMS application - A comprehensive approach
yakky
0
36
django CMS + Channels + DRF = ♥
yakky
0
290
django CMS @ DUTH - Exploiting Django for a good cause
yakky
0
240
Other Decks in Programming
See All in Programming
CQRS/ES avec Symfony, c’est (trop) bien !
jeremyfreeagent
1
630
元気予報
suu_mire0726
0
850
ADRを一年運用してみた/adr_after_a_year
hanhan1978
7
2.2k
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
160
pixivアプリでマルチモジュールを実現するまで
gatosyocora
1
130
Semantic search with Django and pgvector
pauloxnet
0
230
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
22
15k
AWS Application Composerで始める、 サーバーレスなデータ基盤構築 / 20240406-jawsug-hokuriku-shinkansen
kasacchiful
1
250
Folding Cheat Sheet #3
philipschwarz
PRO
0
110
OpenTelemetry のサービスという概念について
azukiazusa1
2
1.1k
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
250
ドメイン・ファーストで考える問題解決に役立つモデル設計 / Domain First Model Design
suzushin54
2
2.1k
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
288
19k
Building Your Own Lightsaber
phodgson
97
5.7k
For a Future-Friendly Web
brad_frost
171
8.9k
Robots, Beer and Maslow
schacon
PRO
154
7.9k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
It's Worth the Effort
3n
180
27k
Fashionably flexible responsive web design (full day workshop)
malarkey
397
65k
How to train your dragon (web standard)
notwaldorf
71
5.1k
How GitHub (no longer) Works
holman
304
140k
Happy Clients
brianwarren
91
6.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
225
51k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
240
1.2M
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