Transcript from the "Asynchronous Browser Features" Lesson
>> Peter: Typically in a browser.
>> Adam: Like dev tools?
>> Will Sentance: Sure, yeah, absolutely, honestly, yeah, dev tools, let's put it in dev tools, console, yeah, absolutely, what other things, Matt?
>> Matt: Web sockets?
>> Will Sentance: Yeah, sure, sockets.
>> Will Sentance: What other thing?
>> Matt: Rendering.
[00:02:15] Document Object Model, it's a model, a simplified version in an object style format of what's on the document, which is the visual of the page. Yeah, all these features we cannot code for directly, they're written in whatever the browser is written, in C++. Or whatever other languages, the browser is written in, do we write for these directly?
[00:03:29] And we get labels for each of these features, let's hope are perfectly aligned to the name, that'll be very nice, right? If they were perfectly aligned to the name instead, Kayla what do you think our label for timer would be?
>> Kayla: Timer?
>> Kayla: Set time out.
>> Braydon: That would be nice.
>> Will Sentance: That'd be nice, what is it instead?
>> Braydon: I don't know.
>> Peter: Document.
[00:04:50] Anyone know? Dan you know?
>> Dan: Is it get?
>> Will Sentance: Not quite, that's the one which we used to kind of, that was a wrapper for the feature.
>> Dan: TCP UDP.
>> Will Sentance: What did we have?
>> Dan: TCP UDP.
>> Will Sentance: Not directly.
>> Kayla: Fetch?
>> Will Sentance: Fetch, Kayla's spot on, that's our sort of newer name for it, but we used to have a different name for it, everyone remember?
>> Kayla: AJAX.
>> Will Sentance: No, it was something it was xhr, everyone remember xhr? Though, by the way, look how consistent our names are with the underlying feature, okay, console, this one's a little bit more reasonable, what's the label for console, Jeff?
>> Jeff: Console.
>> Will Sentance: Console, hold on Jeff, excellent, Jeff landed that perfectly, and we have other features here like local storage, IndexedDB, all of those.
[00:06:35] It's a board wipe downtime, so turn to your partner, turn to your neighbor and start trying to navigate and verbalize what this code is doing. Give it a shot, we don't have the tools yet to do this, but given that we know set timeout, is gonna be a label for timer in the web browser.
[00:06:53] Have a think what might be happening here, and have a think about how one might explain Braden. And Ethan's instincts around what the order of execution here might be, try and get ahead of it.