Description
Course info
Rating
(495)
Level
Intermediate
Updated
Apr 5, 2016
Duration
2h 40m
Description

If you've ever experienced problems in JavaScript but don't have the knowledge of how to fix them, this course is for you. In JavaScript Best Practices, you will learn best practices in several areas areas of JavaScript. First, you will look at syntax oddities in JavaScript, so you can understand the best way to write your JavaScript code, discovering where these issues arise and how to prevent them using strict mode. Next, you'll learn how to deal with callbacks (the most confusing and error-prone part of JavaScript) and how to deal with them in a low-maintenance way. Finally, you will close out the course with a look at Node.js production practices and issues that could crop up due to cross-platform differences. By the end of this course, you will have the skills needed to prevent common issues in JavaScript, saving yourself time and energy while coding.

About the author
About the author

Jonathan is a Pluralsight Author, Technology Advisor, and Business Leader. As a member of the Chief Digital Advisory team at World Wide Technology, Jonathan is able to leverage his unique experiences and skills to drive digital transformation for his clients. As a dedicated developer community leader, Jonathan serves on the board of directors for the Kansas City Developers Conference, is a Microsoft MVP, and is a regular speaker and keynote presenter at conferences around the globe.

More from the author
RESTful Web Services with Node.js and Express
Intermediate
2h 3m
Jan 24, 2019
More courses by Jonathan Mills
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hey everyone. My name's Jonathan Mills and welcome to my course to JavaScript Best Practices. As a consultant, I get to work with companies who are trying to adopt to the current stack of JavaScript technology such as angular or no-js. And in this course, we're going to talk about some of the struggles that developers run into when they start writing JavaScript. So in this course, what we want to do is look at some of the best practices around JavaScript. And instead of just telling you, "here's what you need to do. " We're going to take the time and I'll walk you through why you need to do the things that we're talking about. So we're going to approach this conversation from a couple of different directions. The first one being, we're going to talk about syntax best practices. And we're going to talk about things like semi colons and IIFEs and curly braces and those types of things to make sure that the code we write is being written in a way that makes sense. The next thing we're going to talk about is more behavioral, the way JavaScript behaves. And we're going to talk about the vis keyword or strict mode and what strict mode actually does. Then we're going to move into more structural components like callbacks and promises and the module pattern and things like that. So that we understand, not just the syntax that we write, but the bigger concepts of what we're trying to write when we write code. And we're going to end this conversation looking at mostly the server-side and how to set up no-js applications to be successful in a production environment. So by the end of this course, hopefully you would have picked up some tips on how to not only how to write better JavaScript but also have a clear understanding of why JavaScript is behaving the way it does in your code.