This comprehensive video tutorial will take you from a beginner-level programmer and teach you everything you need to know to get productive with Node. Fundamental concepts are illustrated with brief examples and many sample projects that help grasp the complex functionality in an easy manner.
With a primer on modules and npm, you'll understand how to work with building blocks of Node and publish your own creations. Accelerated development with frameworks like Express will make your app more responsive with caching and real-time communication.
This course is an indispensible guide to building a Node app, whether from the ground up or with the help of higher-level frameworks.
Get a Node server running and import modules into your Node project.
The mechanics of a Node server may not be obvious at first. Get familiar with some essential techniques for running an HTTP server.
Understand the composition of Node modules so that you can write your own.
Get to know the different types of module files and the variety of ways in which modules can be imported.
Modules often have dependencies. Use best practices to avoid conflicts.
npm offers a wealth of commands. Get familiar with a selection of the most useful ones.
The package descriptor serves many purposes. Learn the key settings to get the most out of your Node project.
Node programs use the event loop to manage control flow. Learn how to use it to the maximum effect.
Callbacks are everywhere in Node. Use them to advantage of event-driven I/O.
Node relies on many conventions to ensure predictability among modules. Learn how to avoid common pitfalls.
Many modules communicate through events. Generate and respond to the modules with EventEmitter.
Building a network application from scratch used to be unheard of. Now you can easily create a custom server with Node.
Negotiating the minutiae of HTTP can be time consuming. Speed up development by taking advantage of middleware.
Serving static files is a common networking task. Use Connect's middleware components to handle uploads
Getting the most out of your server is critical. Connect offers some handy optimizations.
Rather than reinventing the wheel, reuse the framework code.
Data persistence is complex, but sessions provide a simple (yet limited) solution.
Apps aren't much of use if they can't receive user data. Store values from a submitted form into the session.
Improve debugging by generating log files and capturing exceptions.
There are many template engines to choose from these days. Make an informed decision by understanding the key differences among them.
The HTML markup should be separated from the rest of your app. Use templates to keep the presentation code in its proper place.
Complex apps often require a sophisticated presentation layer. Learn how to make your templates smarter and more reusable.
Add highly scalable, long-term storage to your app with MongoDB.
Keep your code clean by encapsulating the database connection logic.
Utilize Mongoose's data modeling environment to define models and enforce validation.
Manage documents in a database with ease using Mongoose methods.
Complex data relationships are often necessary. Use subdocuments to define parent-child relationships between models.
Users prefer apps that update content dynamically. Socket.IO provides a unified API for implementing real-time features in Node.
Users want to know when new content is available. A notification can prompt users to reload the page when the content is added.
Users would rather not click to see new data. Show updated content in real time with SocketIO.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.