
FrontendMasters.com – Building Web Apps With Node.js [28 MP4]
English | Size: 1.46 GB (1,562,566,581 bytes )
Category: Tutorial
Kevin Whinnery, developer relations for Twilio, walks through the essentials to understand programming in the Node.js environment.
This course is ideal for those coming from other server-side languages looking to get into building web applications with server-side javascript in Node. It covers node modules, routing and templating with express, data persistence with MongoDB, realtime communication between server and client with socket.io, sharing code on client and server with Browserify, and covers additional resources to go even further.
Node.js Basics
0:00:00 – 0:07:52 Course Introduction Kevin Whinnery begins the course with a brief introduction of himself and an overview of what he’ll be covering.
0:07:53 – 0:14:57 Why Node.js One of the big reasons to use Node.js is that javascript is everywhere. Kevin talks about what Node.js does really well and gives some insight into where it can fall short.
0:14:58 – 0:21:47 What is Node.js Kevin demonstrates some of the foundational features of Node.js. He starts with Interactive Mode which is great for quick command line tests. He also codes a simple “Hello World” example using some of the basic libraries.
0:21:48 – 0:28:22 Basic Features of Node.js Kevin demonstrates some of the foundational features of Node.js. He starts with Interactive Mode which is great for quick command line tests. He also codes a simple “Hello World” example using some of the basic libraries.
0:28:23 – 0:33:32 Developing and Debugging When you are developing and debugging in Node.js, you can use the Supervisor or NodeMon modules to manage the processes and restart operations of the Node server when files are changed. You can also enabled the debugger by using the –debug flag
0:33:33 – 0:42:39 CommonJS Modules The implementation of CommonJS Modules in Node.js prevents pollution of the global scope when developing modules. Developers can define the public interface for their module and better encapsulate the core functionality.
0:42:40 – 0:54:20 NPM NPM is the package manager for Node.js that handles and resolves dependencies. NPM makes it easy to use third-party modules or package and deploy your own. Kevin demonstrates how to install a module using NPM and explains the package architecture.
0:54:21 – 1:00:48 Challenges 1 & 2 This course contains a number of challenges to test your Node.js knowledge. Kevin explains how the challenges work and how to get the source code used in each challenge.
– http://github.com/kwhinnery/node-workshop
1:00:49 – 1:09:24 Challenge 1 Solution Kevin explains a couple issues that can arise when using NPM and then walks through the solution for Challenge 1.
1:09:25 – 1:17:25 Challenge 2 Solution Kevin provides an explanation of the solution for Challenge 2
Routing and Templating with Express
1:17:26 – 1:23:50 Express Introduction Express has become the de facto framework for writing Node application. It’s unopinionated and supports a variety of middleware options. Kevin gives a brief overview of Express and mentions a few alternatives.
1:23:51 – 1:31:47 Routes Routes respond to HTTP requests with a callback. Routes have the ability to include variable placement for dynamic routing. Kevin demonstrates this by building a simple web application with express that utilizes routes.
1:31:48 – 1:40:28 Middleware Node.js contains some useful built-in middleware. This middleware can help with preprocessing of requests or authentication. You can also create your own middleware. Kevin gives a code demonstration on creating custom middleware in Node.js.
1:40:29 – 1:49:08 Challenge 3 Challenge three involves creating an Express application which responds to an HTTP GET request and renders an HTML page using the EJS template engine.
1:49:09 – 1:56:23 Challenge 3 Solution Kevin walks through the solution for Challenge 3.
Persistence
1:56:24 – 2:02:53 Node.js Persistence Options There are a number of libraries available for persisting data in Node.js applications. These libraries include support for Postgres, document stores, in-memory storage, etc. The first data store Kevin dives into is Mongoose.
2:02:54 – 2:09:52 Challenge 4 This challenge involves creating an Express application that saves a blog post to a MongoDB data store.
– http://github.com/kwhinnery/node-workshop, http://app.mongohq.com
2:09:53 – 2:26:50 Challenge 4 Solution Kevin walks through the solution to Challenge 4.
2:26:51 – 2:32:56 Challenge 4 Additional Questions Kevin fields a few additional questions about challenge 4 and clarifies some of the errors that can be expected when communicating with MongoDB.
Real-time Applications with Socket.IO
2:32:57 – 2:36:19 Socket.IO Overview Challenge five implements a simple chat application in the browser that uses Socket.IO to push chat messages to multiple client applications.
– http://github.com/kwhinnery/node-workshop
2:36:20 – 2:44:42 Challenge 5 Kevin walks through the entire solution for Challenge 5. He also talks about an extremely useful port-forwarding service ngrok.
– http://ngrok.com
2:44:43 – 2:54:01 Challenge 5 Solution Browserify allows developers to use the Node-style require functionality inside client-side code. It will package up dependencies into a single deployable file and push that to the browser. This makes client side code more modular and allows for sharing of code between the client and server.
Sharing Code with Browserify
2:54:02 – 3:04:26 Browserify Browserify allows developers to use the Node-style require functionality inside client-side code. It will package up dependencies into a single deployable file and push that to the browser. This makes client side code more modular and allows for sharing of code between the client and server.
– http://github.com/kwhinnery/node-workshop
3:04:27 – 3:09:43 Challenge 6 Kevin tangents away from the challenge to talk a little bit about the iOS 7 javascript APIs. These APIs allow javascript code to execute native code in iOS 7. Kevin describes the tool chain he developed to make this process easier.
3:09:44 – 3:19:45 javascript and iOS 7 Kevin explains the solution behind the Challenge six which incorporated Browserify.
3:19:46 – 3:29:23 Challenge 6 Solution Kevin explains the solution behind the Challenge six which incorporated Browserify.
Further Reading
3:29:24 – 3:36:56 Moving to Production Kevin ends this course by giving some additional Node.js resources and further readings. He covers some resources around using Node.js in production environments and some places to learn more about streams.
3:36:57 – 3:45:38 Audience Questions Kevin spends a little time at the end of the course answering audience questions. Questions: Do you ever use Node with something like Rails? Is there any integration between Node and Java? What’s your favorite real-world app that uses Node? Would you use separate Node API applications for a Web app and a Mobile app? What do you prefer for authentication?
DOWNLOAD:
http://rapidgator.net/file/584051840a40ccd6ceca81473f1c7f44/Frontend_Masters_-_Building_Web_Apps_With_Node.js.part1.rar.html
http://rapidgator.net/file/c4954a701828eb7a8704f7a602165bdc/Frontend_Masters_-_Building_Web_Apps_With_Node.js.part2.rar.html
http://rapidgator.net/file/7541f76501e75bd3d99fe32107b147a6/Frontend_Masters_-_Building_Web_Apps_With_Node.js.part3.rar.html
http://nitroflare.com/view/2F8C5E38D0C9468/Frontend_Masters_-_Building_Web_Apps_With_Node.js.part1.rar
http://nitroflare.com/view/ED3578694823A15/Frontend_Masters_-_Building_Web_Apps_With_Node.js.part2.rar
http://nitroflare.com/view/74A0F10385D8790/Frontend_Masters_-_Building_Web_Apps_With_Node.js.part3.rar
If any links die or problem unrar, send request to http://goo.gl/aUHSZc
Leave a Reply