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
42
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
67
Writing Async Microservices in Python
yakky
0
730
1 API - 3 Framework - 30 minutes
yakky
0
96
Building real time applications with Django and Channels 2 @ DjangoCon Europe
yakky
1
730
Building real time applications with Django and Channels 2 @ PyCon Italia
yakky
0
580
Building real time applications with Django
yakky
0
720
django knocker
yakky
0
59
django CMS application - A comprehensive approach
yakky
0
53
django CMS + Channels + DRF = ♥
yakky
0
320
Other Decks in Programming
See All in Programming
Navigation 2 を 3 に移行する(予定)ためにやったこと
yokomii
0
190
Improving my own Ruby thereafter
sisshiki1969
1
160
アプリの "かわいい" を支えるアニメーションツールRiveについて
uetyo
0
270
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
510
Design Foundational Data Engineering Observability
sucitw
3
200
Vue・React マルチプロダクト開発を支える Vite
andpad
0
110
Testing Trophyは叫ばない
toms74209200
0
870
基礎から学ぶ大画面対応(Learning Large-Screen Support from the Ground Up)
tomoya0x00
0
450
Oracle Database Technology Night 92 Database Connection control FAN-AC
oracle4engineer
PRO
1
440
もうちょっといいRubyプロファイラを作りたい (2025)
osyoyu
1
430
[FEConf 2025] 모노레포 절망편, 14개 레포로 부활하기까지 걸린 1년
mmmaxkim
0
1.6k
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
170
Featured
See All Featured
Building an army of robots
kneath
306
46k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Navigating Team Friction
lara
189
15k
Embracing the Ebb and Flow
colly
87
4.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
13k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
The World Runs on Bad Software
bkeepers
PRO
70
11k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Optimizing for Happiness
mojombo
379
70k
Speed Design
sergeychernyshev
32
1.1k
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