PHP UK Conference 2013

Aplicaciones web en tiempo real

Phil Leggetter  · 

Presentación

HTML (pincha para descargar)

Vídeo

Transcripción

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

everybody and so straight away there's a second screen kind of app that goes along on this so if you go on mobile phone or your laptop you could have at least a few of you do it so JDM p /p HP hi from UK I've got it open there as you see I'm not

a designer so it's just a jquery mobile app okay so that the point of this talk is to really talk about real the real time web kind of what is it the underlying technologies some examples of how people have used this sort of Technology and you know the

tech was that you guys can use and also some demos so that's the second screen out so we'll jump some other web pages for some demos too so this is me you don't really need to linger on that yeah so i'm phil liggett liggett on twitter I'm

I would for pusher hopefully you've enjoyed the hack space upstairs so we co-sponsored that with Julia okay so i've done my introduction i'm going to ask you to use the second screen up to do your introduction and then we'll talk about kind

of real-time web what it is start thinking about real time you know what do you have real-time data already can you use it talk about the technology is what you can build demos questions so hopefully here i'm connected which is a green bar at the top if

you go to your second screen up on them every day so I haven't done any validation on me up as well so like some invisible persons here beer is always a good one toaster I got taste when I got married its traditional okay Oh didn't like that the scrolling

so hopefully you get the idea I mean you're pushing information form from one application to another which is pretty cool now don't try and do cross yeah okay so what does a real-time web it's obviously quite an important question to answer so

real-time web technologies have been around for over 10 years I speak to a guy earlier I don't know he's here and he said he was using what I'd classes real-time technologies back in 1995 now I didn't even know computers are around them let

alone you know real-time web technologies but so originally financial companies wanted to instantly deliver data from know some sort of source of information financial stats to a client now web browsers even back in two thousand was still a great client it's

amazing that no matter what computer on you've got a web browser so to be able to instantly push information to web browsers was really cool and had a lot of benefit and especially in finance where the data the sooner you get that data the more you can

do with it the chances are to make some money so it's not surprised that finance was the focus of this but it's taken ten or more years for the term real-time web to go mainstream and initially marketing people jumped on it and everything was real

time and everything was real time web but fundamentally you know there are real technologies at using real-time web was very up real time web apps are using real-time web technologies so what do we mean by that and so what we mean is back in other than a few

years ago Robert Scoble was speaking about how something called friendfeed was potentially a Google killer or something similar and we met there is that for the first time when you published information you could go to a search engine and instantly find it

now we could do that on our own little apps where we got one database but we couldn't do a scale so you know we would post a message on even twitty nova semis we post a message and instantly someone could discover that information and the difference with

that and Google was that Google take ages to spider pages once we publish a blog post and we'd be waiting for no days for that dated be found and discoverable so that was the first thing and then the second thing is the ability to push information to people

who are interested so that technologies around now we've seen it with accomplice everything in Twitter because they don't use on the client they use polling but they do have streams available to connect to and have information push to you so there

are two things really the instant discoverability of data and then the instant delivery of data to people that are interested in it and obviously you could abused it and try to focus on delivering it to people who want it so it's one of the obvious question

all these things to say is it's not really real time you're pushing information over the web so it's not real time in the sense that i'm sitting on a car i apply my foot to a break I want the brakes to clamp down pretty quickly so I don't

crash into the car in front of me now that needs to be really fast when we're talking about a real time on the web it doesn't need to be that fast I mean so pusher as a technology we deliver stuff in about 300 milliseconds or less and that's fine

if you're building applications you know standard web things even even in finance sometimes you know them two milliseconds can be enough to see a change in a price and execute a trade and the interesting thing about I was going to do silly thing like slap

myself here but I'm not going to I'm not that good at talking yet so the other thing about this is within our apps we have a moment where data is generated so it could be we update our database a trigger fires or we delete something or we create something

now each of those things is an event within our application at the minute we probably just let that event happen it and you know update the database and leave it but each of these is this opportunity to actually publish that information to people who are interested

in receiving it so one of the things with the real-time web is some people are calling the evented web because things happen data generated we can deliver that to people so as long as the data that is received and it still has value then that's fine so

if I slap myself here went along through the next five slides and then went out he'd be going that was weird when he slapped himself he's just shutting our three slides later that our doesn't relate to the slap so when the data generated it needs

to be delivered within a time so that it has context it has value still something sense yep few nods okay so the thing about one of the things about real time is to start thinking in that sense so obviously delivering information quickly results an opportunity

in finance the sooner people receive news so sooner people receive bid and ask prices they can act on that and make lots of money also with with other types of data again the instant the sooner you receive it the more opportunity you have you know betting

just to be kind of nosy and in the know and be able to tell everyone first you know if you get information sooner than anyone else there's opportunity in that the next thing is pushed for the technology so you're delivering information to people are

already interested in it so they've registered their interest they don't have to do anything to get that new information so on your you've got a mobile phone you've got a phone number you don't have to open up your text message application

and keep pressing a button see we've got any texts or your phone call application keep pressing the button see if you've got an incoming phone calls you've got a number is identifies you information can be pushed to you which is like a you know

I phone call or a text message so it's the same with the web people in to register their interest in something soon as new information is available that is of interest then push it to them and then the next thing is when it becomes more than just this

push now we've all seen push notifications on mobile phones and they're a really big thing at the minute but the purpose of those in some cases is to just kind of tell you something the interestings happen then that's fine but the real opportunity

is to go something just happened go into the application and start interacting with application and then interacting with you know pieces of other pieces of software that automate interaction or interacting with other users and that kind of creates this engaging

experience within the application and that's the opportunity with this technology I think not just live content distribution but creating these interactive experiences so I think going back to the red slide you know within your applications I'm sure

that you do things where there's data and you don't do anything with it you kind of just go okay that's some data update the database leave it but I'm sure you know users within the system that would be interested in receiving that instantly

[ ... ]

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