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
66
Writing Async Microservices in Python
yakky
0
720
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
58
django CMS application - A comprehensive approach
yakky
0
53
django CMS + Channels + DRF = ♥
yakky
0
320
Other Decks in Programming
See All in Programming
Claude Codeで実装以外の開発フロー、どこまで自動化できるか?失敗と成功
ndadayo
3
1.8k
UbieのAIパートナーを支えるコンテキストエンジニアリング実践
syucream
2
790
奥深くて厄介な「改行」と仲良くなる20分
oguemon
0
120
🔨 小さなビルドシステムを作る
momeemt
2
630
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
630
パスタの技術
yusukebe
1
550
AIでLINEスタンプを作ってみた
eycjur
1
220
Updates on MLS on Ruby (and maybe more)
sylph01
1
170
Namespace and Its Future
tagomoris
6
680
RDoc meets YARD
okuramasafumi
4
160
A Gopher's Guide to Vibe Coding
danicat
0
200
速いWebフレームワークを作る
yusukebe
3
1.2k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
790
How GitHub (no longer) Works
holman
315
140k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Done Done
chrislema
185
16k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
For a Future-Friendly Web
brad_frost
179
9.9k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
KATA
mclloyd
32
14k
The Language of Interfaces
destraynor
160
25k
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