Placeholder Image

字幕列表 影片播放

  • Good morning, everyone.

  • Okay, I do assure you are not sleeping.

  • Okay?

  • I'm actually, uh I should refer to stop Ah, with my college to person talks, but his still sleep when I We're not.

  • Yeah, it's not feeling well.

  • Some When when I will I was walking here.

  • Um, I stumble upon the gravity on on the alley near Pero para crowed So if I just took it two hours ago And I think Ah, descriptive so provoking for me and its return it with my talks often first.

  • Okay, I'm on time from my new I work for if history it's it was a night to start up Ah, in a pop culture's monsters domain.

  • Um, I don't know if I have any one off you.

  • I first see this kind off stream ponds.

  • Do you know where your screams come from?

  • Your luxury seafood dinner?

  • This this stream points and it's wonderful spawns.

  • And what is Ah, what us?

  • They do the usually feeding their face recently by this bust if it human and discussing a lot off, um, don't side for them because overfeeding cold cause his death and it happens in just one night offer Ah, a fit west.

  • We'll go down there upon and it will release the ammonia and ammonia kills the fist.

  • So we will.

  • The product like this and I do some hardware.

  • I do some software.

  • I do some data, but most of the time I do nothing.

  • I just talk with people.

  • And actually, we are practicing extra programming.

  • We caught by the pond.

  • Literally.

  • Excellent programming.

  • Okay.

  • Anyway, um, I chose my title talks to simple development rep.

  • It doesn't really mean simple, but simple can help us record.

  • And it was kind off.

  • Absolute title, often.

  • First weapon.

  • It wept, but off land first.

  • So what's on the menu?

  • We are talking with often first.

  • Ah, existing apart going out there, My on solution.

  • My, um And then we're talks.

  • Ah, with an other walks in this kind of area.

  • So just like everybody else before.

  • Can you please raise their hand if you have ever heard off line first, OK, Majority like 80% haven't heard off.

  • Line of first before.

  • Okay, so I first noticed terms off a friend first.

  • Like two years ago, we are building a new application and android application for her to be exact, and it's not working for our customers.

  • And we found this sites is it's like kind of movement is like a cult organization with its little community that talks anything libraries, lighting technology can that can walk into countries.

  • So this it's like more design, actually descent of frauds for reeling application.

  • So it's more like a paradigm.

  • It's not, um, after concept is like paradigm howto build application.

  • And so, while you still can always whistled care first thing brutal every s, um yesterday, um, speakers from India.

  • Chris Now our treat.

  • Now talk about rural areas, India.

  • So why?

  • Because they were marginalized by technology?

  • I don't know if, um, we are creating things looking for a rural areas, B stat, nonprofit organization and social calls in Africa or anything.

  • And this one, Ah, rural areas is one off our customers in Indonesia on Look out there that look off reds.

  • It wa ce no Internet connection, almost no Internet connection on the seashore, so that one is in, not off Java.

  • If you have hurt Jeff or before Indonesia, not just barley, I often get people and where you come from, Indonesia.

  • Nobody really know nobody.

  • I'm from London.

  • But in addition yes, Vanessa.

  • Okay.

  • And this is data come from 2016.

  • We have three billions, Internet user, but just one billion get access for high speed Internet.

  • It just look 1/3 off total users and the others Still living with connection.

  • But no not necessary.

  • Good connection.

  • The 1st 1 is India, China and Indonesia.

  • My country comes to so wait way caused this World Wide web.

  • But we just, um, make it photo with wealthy Western whip.

  • It's not my quotes, It's from Bruce Lawson.

  • So it is not bias from me, but yeah, I agree with with him.

  • So did some.

  • What, like Webster be incorrect more and white people.

  • By 2050 we will have population boom I'm in for Yeah, a lot off.

  • Um, people going multiplied, marry.

  • It's have kids every year, every day.

  • But it will be an unconnected world because India, China and Indonesia we'll have a message for collision.

  • But I don't know if our infrastructure technology, your network of friends, real cats up really fast by 2050.

  • And maybe it was their first entrant in direction by smartphone.

  • Um, I have story One of our customers, um, they just know it was a smartphone.

  • They thought it was a small remote control at first month.

  • Ah, he only spent like, ah, two gigabits quarter.

  • But next year, when we come back again, his son use things much fun and spend more than 20 gigabits.

  • What?

  • That I think.

  • Okay.

  • Ah, we thought we give them access.

  • And no, they are gonna shoot more Internet, but with 20 gibbet quota node histon playing drawn playing drums in rural areas because she knows that this one drone and where Where can I buy it?

  • After day after she knows Internet connection, he can learn much faster.

  • You can learn, um, know anything.

  • Bye, connectivity.

  • Okay, that's good.

  • But it comes with Ah Trebek.

  • Smartphone user.

  • We are leaving in two.

  • Then 20 years before we are firsts exposed to Internet by next application.

  • And there's another bury.

  • Its Barris is the settling gets.

  • I can't and anything.

  • It doesn't work with our users because they know they first interaction, but smartphone.

  • So they don't know what hum burger I can s what the home icon is.

  • They just written packs.

  • That's another Berries and next availability.

  • You wouldn't have connectivity to senior.

  • Rather.

  • So we have to remember this.

  • And I took it from the distributed system network.

  • Fellas, this network is your enemy.

  • The network has never really able.

  • So if you thing that network is forever, then you can have 21 off, fellas, this in disputed system.

  • Okay, so I already, um, so to you, what's the problem?

  • What's the ah, Michelle costs and how today's technology approach This problem, you know, to traditional kinds of immortals, and this one is often forced.

  • Modo So with the traditional pensive promoters, we are for, um, really have to access their clout to get the pits.

  • But in the often for smallville, the data, the assess, anything should be under high inside.

  • Well, it's coming.

  • Progressive weapons comes within solution.

  • We have seen that.

  • It looked like we have service worker.

  • We have bigger and sing, and you need just to create a manifest that can catch your, um, assets.

  • You know, you have that work cats that you, uh you can intercept the network requests.

  • So is it progress of what ups?

  • Enough.

  • How about that s increases in Harvard confidence to listen When your users online, you can translate data.

  • Um, real time.

  • But when you're US user off line and your users mutate or modified to data Hoblit Winder coming online Hubbard to sing this data It was weird.

  • Progressive collapse toe check the network.

  • We have a natural casing, but the other evolution it's not a revolution.

  • The others ah, movement of progress is is how to sing the data.

  • Um, based on my experience, there's two type off synchronization document State and common state.

  • If you use what books?

  • Um, yeah, yesterday that it was a progressive where perhaps walks upright.

  • Ah, if you use workbooks and use network, um, vagrancy and at work Ah, you can sing your application that groan.

  • Bye.

  • Comment by storing the What's the request and a secure after you are online?

  • It was Ah, it is a comments that sing.

  • So let's hear about the documents state I burned from the trail or a single isn't our protector And it was the first time I ever learned about synchronization and you cut the depend on several logic has to be implemented in the client, and they only send Delta's off the data modification.

  • It was a document state.

  • So you have ah, prior to command and your current document and you're standing the Delta state.

  • It was a different state.

  • And how about the comments that there's another libraries really screwed up off line?

  • Um, basically, it was right.

  • Your requests toe store it and then if you are coming on line, it will execute your, um, breakfast requests.

  • Second silly.

  • And it's and I was, um, using this kind of approach, okay, But it's it's treatable.

  • If I used this the comments that seeing and currents that saying I saw implement onto a big inside the single is a mechanism how to conflict resonating with ah uses data and it all it was all handled under a big inside.

  • It's ah, it's a cumbersome and really not good experience for me and then, you know, re my off Google close by, sir, it is a big enough.

  • The surface it comes with reactive synchronizes, and it comes with, um off lan support.

  • But it takes your many way to fuss.

  • Yeah, to fuss.

  • Um, I would have ah little prototype when I when fire storages comes out one years to go.

  • I think I know what.

  • A year ago Ah, I did some but but architecture are bad implementation and it took $20 for Ah, tow weeks application that's better.

  • And iPhone courts TV It is It isn't all documents that are best.

  • It's come before Mangal TB become well known.

  • It's but it comes with the port city be It's an implement and sent off course Libyan JavaScript clients.

  • So the positively will were called live in your application where javascript it with a little or who?

  • A bit little size And it it has ah approximate must multi master notes.

  • So actually that the abyss replication the database not only on the clock, but your device is also a database and it comes with a head ct p protocol for replication.

  • So no need.

  • You're You don't have to create another sing mechanism because it was ready by the design.

  • Okay, so what?

  • Actually, what do we trust?

  • Actually, for all off our self levels, we need some requirement.

  • We need to a weapon.

  • If it already went to mobile development ready and time to implement faster.

  • I don't put any economical constraint here, and I just watch TV and push to be with react.

  • Why would three?

  • Um yeah, because I we're We are familiar with react and react native That's way.

  • And because react Ah, contract up.

  • Already implemented Surface broke already.

  • So you just ah uncommon or sorry.

  • You just remove toe words there and register changed the register and that's we got our friend first Web app, But it's not.

  • We're a simple development.

  • You got who You have a lot off Brother Platt and you have to make a lot of abstraction with courts and possibly be.

  • And we are coming with the another ideas.

  • How dowe.

  • What if we create direct if rendering for ports and coats?

  • So your your application cool rendered by, um instantly.

  • Yeah.

  • How did you get with Rex?

  • Um, we think like it's that container.

  • What if we recruit like I stepped on your toe interfacing?

  • Um, what's with rates?

  • Ah, Century site.

  • And this was a classic approaching.

  • We're So you have surfer.

  • We have component render and this couple in ST.

  • And if we introduce offline first they're using, it's going off thinking if we use Redox, we have global step three ducks that that hold with local stories that that, um, interact with san for interact with a company in.

  • And if we designed it without Redox, you only Ah, I need a local story.

  • It's the story that I stayed And if you remember this one from a channeler, I think we gotta use the often first without Redox, because it's much more similar with what other people already had.

  • And we want take another step to reinvent the wheel.

  • So we're creating that container interfacing with that doesn't bonuses in.

  • We call it what you store It wasn't Proxim ready yet, but we use it for our Internet trolls and we have, ah, story for chest or example And it was it.

  • It is a to do list because nothing to trail in the world that came with out a to do list simple up.

  • Okay, this is how we in is the last store which you just need toe Saturday.

  • Are you every what conflict?

  • And they are, uh, or to the case.

  • And if it's ah off label and this one is for the company's site, um, you know, when the company amount, you have to subscribe.

  • The the FBI to render to render your pets proactively.

  • And if you want to add some item, you just cause they're at item FBI and for gelato, you could just call it the Della item.

  • So we obstructed more off.

  • Ah, what's called a port reminiscent to at and to daylight item.

  • And if you want to, that's the data you could just called.

  • It got, the better.

  • It contains your data.

  • You can play with it because this one is our door looks like in detail.

  • You have local local TV remote TB, and it will replicate from and synchronize s from look, look on and clot.

  • Um, Pacha.

  • And it was It is What's your It was what's in your that the changes.

  • So basically, you are your application will read from the memory, not from the local store.

  • It's and it comes with crude FBI cross mitosis ready.

  • So you don't have to create another boilerplate if you will lines off.

  • Good.

  • Um, we are reporting for fun for Iraq.

  • Different dreams.

  • But how about the record of support?

  • Because we want to make your belly flop on ready also.

  • Um, but star puts application puts libraries use Index Devi and it will fall back to weapons Calif Ah, there isn't a next TV.

  • But how about rag native?

  • What?

  • Miss Kael and escape.

  • Ah, what's use Women scare Grigg native can use escalate.

  • We're not create an actor for reignited for escalate adapter and we stumble upon cardiovascular store It's way just what you fight.

  • Ah, record for striking active commendation by Forget it.

  • I think so.

  • Red spacing start to use the escape that store, right Why we escalate store It's because it's much larger and much bigger.

  • Next, Debbie can can hold about 50 to 60 mega But I think I forgot the exact number and escalate caused also.

  • Hi.

  • Okay, so we got a single development often.

  • First weapon up with director friend Ring on its it iss thinking that on land this one from Web and this one from mobile you can upload it and if it goes off line you can use your app as is well and we were playing with the data and we can sing directly after it has a connection.

  • So no need to Ah, kryptonite about it, Brad.

  • But we still have problem with the rustling medicine about next connection on.

  • We still have a basic features to employment and other selected filtering.

  • And my lesson Most Most conclusion is Do not create your own Sing Reaganism.

  • It's It's the nightmare to create your own single organism.

  • And for other books you had, you could see the others, like Gandhi be looking for Suffered by Martin Clubman.

  • You saw Ah, really about Martin Glickman.

  • Okay, I think the half off the stocks, like, become a lecture because it was too technical.

  • But I wantto have a talk with Open first and Yeah, you can thank me if you want.

  • Thank you.

Good morning, everyone.

字幕與單字

單字即點即查 點擊單字可以查詢單字解釋

B1 中級

線下第一數據同步的快速發展,由Anshori Syuhada主持|JSConf.Asia 2019 (Rapid Development on Offline First Data Sync by Anshori Syuhada | JSConf.Asia 2019)

  • 1 0
    林宜悉 發佈於 2021 年 01 月 14 日
影片單字