Working with JavaScript Modules

When writing web applications, JavaScript code can rapidly become difficult to maintain and understand. In this course, you will learn how to use modules to break up your code into manageable pieces that are easier to work with.
Course info
Level
Beginner
Updated
Oct 8, 2019
Duration
46m
Table of contents
Description
Course info
Level
Beginner
Updated
Oct 8, 2019
Duration
46m
Description

At the core of JavaScript is a thorough knowledge of Modules. In this course, Working with JavaScript Modules, you’ll learn how to break your code out into modules in a logical way and use those modules in your application. First, you’ll learn what modules are and why you should use them. Next, you’ll explore how to import and export code from modules. Finally, you’ll discover how to use those modules in a real-world application. When you’re finished with this course, you’ll have a foundational knowledge of modules that will help you as you move forward to build easier to maintain JavaScript applications. Software required: JavaScript.

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
[Autogenerated] Hi, everyone. My name's Jonathan Mills and welcome to my course, working with JavaScript modules. Now I'm a technology advisor worldwide Technologies in a frequent speaker on JavaScript, topics around the globe. And sometimes working with javascript can feel unwieldy. You're awkward and especially if you're doing it in just your HTML files or in a vanilla JavaScript application. And sometimes even outside of that are JavaScript can evolve into just a massive spaghetti code That's really _____ and hard to deal with in our annul of our jobs rip files. Now, in this course, we're gonna talk about how to break that up a little bit and start breaking code into smaller, usable pieces using the new E S X module syntax and this course we're gonna talk about what modules are and why in the world we would even use them. We're gonna talk about creating modules and then exporting individual pieces of that module out for the rest of your application. And once you're exporting code, now you're going to need to import that code. So we're gonna talk about the import keyword and how to use that appropriately, we'll do all of this in the context of a real world example, so you can see the mechanics of it as we go. By the end of this course, you'll have put both import and export into practice and understand how to start breaking up your own applications into modules. Now, before beginning this course, you should be familiar with JavaScript in general. But you won't need any freemark knowledge no reactor, angular or anything like that. Yet you will apply this to those, but you don't need to know those in orderto understand modules. Now I hope you'll join me on this journey to learn about building reusable and maintainable JavaScript code with the working with JavaScript modules course here applause site.