PyCon 2014

Utiliza notificaciones push con Python para mejorar el soporte de tus usuarios móviles

Juan Gomez  · 


Extracto de la transcripción automática del vídeo realizada por YouTube.

good afternoon everyone we're gonna get started with the next session I'd like to introduce Juan Gomez he's a mobile engineer at eventbrite he's we talking to us about push notifications this afternoon thanks so how's the OD good okay good

welcome to thanks for coming ah again my name is Juan Gomez I'm a mobile engineer at eventbrite and I'm going to be talking a little bit about push notifications and especially why our current model are not specifically arrest but our current web mall

model is just not enough for for mobile applications so first I'm going to talk about what the talk it's going to be about so that you know what you're in for so basically I'm going to give you a brief introduction to push notifications I'm

gonna tell you what they are I'm gonna tell you why you want to be using them and I'm gonna give you a brief rundown a very high level run down or how to implement push notifications in Python and how to leverage a couple of services that make it a

little easier in how to use some projects that will take a little bit of the pain away uh what I'm not going to be covering I'm not going to be covering the mobile side side so I'm not going to be speaking specifics about Android and iOS there's

there's a lot of stuff that's specific to Google and Apple that I'm going to be covering covering but from the server side not from the mobile side I'm also not going to be showing a lot of code I'm sorry to disappoint everybody but this

is labeled as a novice talk so I'm going to try to keep it as high level as as possible but when my objective is that when you leave here you know where to go how to start and where to find what you need to be successful and implement push notification

so although there's not going to be a lot of code you're going to know what to do once the session is done and then some other detail topics so I want to start with a question a lot of us have probably wasted hours of our live staring at this screen

for those of you not familiar with it is tracking UPS so when we have a package especially a package that we're excited about we just stare of the webpage incessantly hitting at five and and then waiting for finally seeing the the glorious delivery page

but sometimes when this happens I wonder if there's a better way of doing things why do I have to go into a web page and why do I have to be hitting at five every time if you be his nose when the package is delivered the person that delivers a package

has to scan it and put it on my door so they know that my package has been delivered why do I have to be checking on on a web page and and this is partly the model that we have for a long time on on the web it's we always we always use our browser and

a browser goes to the server and then obtains information mostly because limitations around how tcp/ip work but that's the model that we've been used to for years I just think that it's not very efficient it reminds me of some road trips that that

I took us a child we're asking my dad if we if we were there yet didn't make the trip go any faster so I think it's time to rethink things a little bit and especially in light of of developments on the mobile side as most of you know moles are

unfortunately not not growing the smartphone using the world is not growing a lot is exploding it's it's huge and the Wall Street Journal put some numbers about two weeks ago that really blew me away because and in granted social networks are a little

bit ahead of the curve but these are numbers on on the usage on social networks both on mobile and on the desktop and as you can see on most social networks than that the mobile usage is way higher than than the desktop usage except for some social networks

so as I said social networks are ahead of the curve but I think all of us if you're not gathering these numbers you probably should go back and try to do this all of us are seeing how our users are increasingly using our service in our website more and

more on their mobile device so I think we need to do more to give them a good experience on their devices because the the old web model they've been that we're so used to it's really not very efficient for mobile devices mostly because mobiles

are really restricted especially on memory on processing and and on battery life as well so the the model of having to be pulling the server every couple of seconds or minutes if you want to see if there's new data and most of the time there's not

new data it's really inefficient and and it gets it gets really evident on mobile where you're really depleting those precious resources like battery and and network and servers are smart just like UPS servers know when data is there so if there's

something that the server needs to give me the server knows when when that that event has happened and the mobile the the mobile phone polling the server every five seconds every 10 seconds is not going to make that happen any faster so there has to be a better

way there has to be a way that servers can tell the phone when they have data for them and that will make things more efficient and turn will make our service a lot more engaging and a lot more pleasant to use for our users so so how do we solve this problem

and and the answer of course is is push notifications and that's what I'm going to be speaking about so push notifications are just tiny little text messages to show up on your phone screen sometimes they have a beep or a vibration to call your attention

but mostly are small chunks of information that hopefully will be the liver on other relevant time so for instance if you're and and I was with some friends not too long ago and we were wondering we all have weather apps on our phones but your weather

[ ... ]

Nota: se han omitido las otras 2.888 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.