W3Conf 2013

Escribiendo para las páginas web offline

Parashuram Narasimhan  · 

Transcripción

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

hello can you guys hear me nice so before I start my talk I wanted to ask you guys a question how many of you here our database developers 12 okay either someone told me that I should probably start my talk with a joke the question is not a joke I'm seriously

asking you the question how many of you here are web developers nice so you know what talking about storage and databases to a web developer audience it's not always fun so i thought i'd add a little bit of Star Wars to it and here's the star wars

based theme for indexdb let me start with a simple story a long time ago in a galaxy not so far away there was this big problem called storage wars you know what when I was writing up the slide my wife told me that apparently there's a TV series called

storage wars and this has nothing to do with it I promise I don't know and I don't watch that so yeah so anyway this is story about storage wars and it's actually a very good time for html5 a lot of new things are happening by the way I put that

in PowerPoint it took a lot of effort but I just wanted to highlight that fact anyway so a lot of new things are happening a lot of people are building exciting websites websites are doing things that they were not supposed to and in fact oh wait what's

that blinking is anyone using the Jedi mind trick to point out the fact that that is not from Star Wars that's a Star Trek thing right amenia anyway what I want to highlight there is websites are going to places where they were never they've never

gone and a typically place is the mobile mobile or the tablet space so this talk who typically focus on how to write websites that work great and mobile that work great and tablets and of course work great on the rest of browsers so oh yeah before that I haven't

told you who I am so greeting Jedi loads my name is Parshuram I know it's a long name in fact my full name is partial ramen or semen which is like really really long so you can call me axe and if that's hard to remember how about this so that's

an axe with a lightsaber can't get cooler than that so yeah you can call me axe and I'm a web developer I like writing code like most of you and I like I I contribute to open source projects I write a lot of open source stuff I like hackathons in fact

I love hackathons I've been to disrupt I've been to photo hack they have been to multiple actions and it's kind of a fun fun thing to do and if my wife was listening in on the live life twitch she's probably agreeing to this but I play way

too much games I'm usually an engineer in Team Fortress 2 i'm usually a level 30 Hunter I'm still trying to level up i just started on world of warcraft so i play way too much games and yes I'm not that person in the slide there so I work for

Microsoft open technologies Microsoft open technologies give it some time okay it's a wholly owned subsidiary of Microsoft the company just started in june i guess la in 2012 and that's that john paul ii the guy who actually was a key part in doing

xml and that that pretty much shows you how much the openness comes in and Microsoft open deck actually has some really interesting projects Microsoft open Tek contributes to node.js we do phonegap we do couch we have jenkins running on azure and stuff like

that so there are actually a lot of pretty interesting projects and as I said it's a wholly owned subsidiary of Microsoft well if you have to build something big what we need is a plan and let's see what we will do for the next 30 minutes I guess I

just have 30 minutes so actually you know what let's not build a dead star because there's already a white house petition that was rejected there's also a Kickstarter project so let's not bitter that stuff let's do something simpler let's

let me first try to convince you that you should build a site that's mobile first and functions offline I know a lot of you are cringing here a lot of you are not not very comfortable with the fact but let me try convincing you once i have let me show

you how it can be built and then let me all try to bring it down as a pack of cards or must I say bring it down like the dead star so yep you are every one of us here wants to be a Jedi so as a Jedi let's choose our path I do not know what you want to

hear so you'll have to help me out with that you can either so at every point i will probably give you two choices not the dark or the light side but choice a and choice B and you have to tell me which way to go this effect will effectively will also let

me tell you what you want to hear so let's actually get started do you guys want to hear about sure I really convince you that you need websites that work offline how many want you to be convinced how many of you want to be convinced ok so you guys do

not believe that websites have to be built offline right ok that's actually how many think that it's ok we do need websites for offline functioning also that's a minority ok let's let me try convincing you so all of us agree that web apps are

for the Internet's but then you know what p near our websites work on this also is it true or not every time you build a website now we want to build a website on this in fact this image is this is actually a pretty beautiful image from the joe framework

which affect lee emphasizes that you can't just build websites for browsers on the desktop but you also need it for the mobile browsers today and when I say mobile browsers you have a browser like this or you have a mobile device like this and then you

get onto the airplane and this happens you suddenly lose connectivity what happens to all the web data what happens to all of the stuff you are browsing they are probably in memory but what if you close them and then open it again is it still going to work

well we don't know no one has really tested it that's probably one of the reasons why you should build it and web apps are not just for mobile phones web apps are for operating systems to I mean b2g actually uses HTML Javascript and CSS and that's

pretty much a web app and if you are able to build an offline support for that that's something you will want to because you cannot expect for or operating systems like this to be connected all the time in fact when I said operating systems I'm also

meaning things like this so that's one reason but then there are people who say that they don't care about the mobile in fact they actually believe that their internet is as fast as this how many of you believe that your internet is as fast as this

no one really okay so you know what this is not the truth the truth is actually this how many of you believe that your internet is as fast as this wow that's a lot of people okay you know I actually come from India and this is probably true about the connection

that I've been living with but then I I was hoping that the connections here are a lot faster looks like they are not so here are the typical use cases for building mobile applications jokes apart this is basically the crux of it why do you want to build

offline mobile applications you want to build it for mobile applications you want to build it for applications that are disconnected typically things like to do lists or say image processors or file processors and things like that you want to build offline

applications for applications that are partially connected how about say outlook.com or gmail com having a offlines having offline support so that you don't have to be online all the time to check your mail you probably wouldn't need a thick line at

[ ... ]

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