For this first example, Kyle begins by adding some code into 1.js. He demonstrates the way Node provides a hosting environment for the JavaScript code it compiles.
(uptempo music)…- [Instructor] We're going to start where everybody starts…when they learn something, we're going to start…with a Hello World, okay?…But we're going to get progressively more and more…throughout the rest of…Today we're going to get…progressively more and more sophisticated…about our Hello World.…So, what I want you to do, we're mostly done with the…slides by the way at this point.…There's a few more on WebRTC but the slides are…pretty unimportant from here on out.…So, switch over to your favorite code editor…and inside of that exercises folder,…or wherever you're going to work…from if you've made a copy of it.…
Inside of that folder you should see an empty file…called one dot JS and I want you to open up that…in your editor.…You can see there that I put in a comment that says…we're finally going to write some node.…So every time I go somewhere and I teach this…class or I talk to people about node, I hear this…common thing where people say, oh yeah yeah, I know…about node.…Oh yeah, yeah, I've seen it,…
Author
Released
1/30/2017Accelerate your development efforts by learning how to work with HTML5 APIs for real-time communications using Node.js. Join JavaScript expert Kyle Simpson in this course as he conducts a comprehensive Node.js workshop. Kyle introduces several APIs including Storage, Canvas, getUserMedia, and requestAnimationFrame, explaining the benefits and uses of each. Then, he demonstrates how developers can implement these solutions, showing how to use the command line to communicate with HTML5 in real-time through asynchronous code. He also covers file input and output, publishing modules, making socket connections, and more.
- HTML5 facades
- Using APIs
- File I/O
- The asynquence library
- Publishing npm modules
- Grunt and Gulp
- Node as a web server
- Simulating asynchronicity
- Making a socket connection
- User-triggered messaging
- WebRTC
- RTCPeerConnection
- Signaling and data channels
Skill Level Intermediate
Duration
Views
Related Courses
-
Node.js: Build Your First Microservice
with Daniel Khan2h 9m Intermediate -
Building a Website with Node.js and Express.js
with Ray Villalobos3h 16m Intermediate -
Bootstrap 4 First Look
with Ray Villalobos1h 13m Intermediate -
Node.js: Test-Driven Development
with Alexander Zanfir33m 13s Intermediate
-
1. HTML5 APIs
-
Introduction3m 52s
-
Into Node.js6m 26s
-
HTML5 facades4m 17s
-
Storage API9m 33s
-
Canvas API5m 10s
-
getUserMedia API4m 33s
-
requestAnimationFrame API7m 29s
-
WebSockets10m 26s
-
-
2. Node.js
-
Node.js observations16m 25s
-
Hello, world7m 33s
-
Accepting input10m 5s
-
Adding help9m 33s
-
File I/O and modules11m 27s
-
Asynchronous file I/O10m 26s
-
The asynquence library11m 35s
-
Using asynquence3m 47s
-
Kickstarter survey4m 54s
-
Creating npm modules11m 5s
-
Publishing npm modules9m 52s
-
Extending modules6m 16s
-
Grunt and Gulp2m 44s
-
File streams7m 39s
-
Piping streams6m 20s
-
Node as a web server11m 11s
-
Handling requests7m 15s
-
Framework discussion7m 20s
-
Simulating asynchronicity5m 13s
-
Adding asynquence7m 34s
-
Serving static files11m 38s
-
-
3. Socket.IO
-
Setting up Socket.IO9m 35s
-
Making a socket connection8m 38s
-
Sending messages4m 47s
-
User-triggered messaging16m 36s
-
Broadcasting mouse movement9m 13s
-
Socket.IO wrap-up3m 8s
-
-
4. WebRTC
-
WebRTC introduction10m 2s
-
Real-world WebRTC demo7m 34s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Hello, world