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
44
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
Django dalle trincee: pattern e pratiche dopo 15 anni di esperienza su Django
yakky
0
77
Writing Async Microservices in Python
yakky
0
890
1 API - 3 Framework - 30 minutes
yakky
0
100
Building real time applications with Django and Channels 2 @ DjangoCon Europe
yakky
1
860
Building real time applications with Django and Channels 2 @ PyCon Italia
yakky
0
680
Building real time applications with Django
yakky
0
830
django knocker
yakky
0
71
django CMS application - A comprehensive approach
yakky
0
55
django CMS + Channels + DRF = ♥
yakky
0
330
Other Decks in Programming
See All in Programming
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
150
15年目のiOSアプリを1から作り直す技術
teakun
0
580
手戻りゼロ? Spec Driven Developmentとは@KAG AI week
tmhirai
1
140
浮動小数の比較について
kishikawakatsumi
0
370
Event Storming
hschwentner
3
1.3k
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
860
nilとは何か 〜interfaceの構造とnil!=nilから理解する〜
kuro_kurorrr
3
1.6k
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
320
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
240
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
200
AI巻き込み型コードレビューのススメ
nealle
2
2.5k
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
110
Featured
See All Featured
The Language of Interfaces
destraynor
162
26k
Visualization
eitanlees
150
17k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
92
Agile that works and the tools we love
rasmusluckow
331
21k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Automating Front-end Workflow
addyosmani
1370
200k
It's Worth the Effort
3n
188
29k
Navigating Team Friction
lara
192
16k
Statistics for Hackers
jakevdp
799
230k
The SEO identity crisis: Don't let AI make you average
varn
0
400
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
330
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