Structuring JavaScript Code
Offered By: Pluralsight
Course Description
Overview
This course walks through several key patterns that can be used to encapsulate and modularize JavaScript code. Throughout the course you’ll learn how closures and other techniques can be used to better organize your JavaScript code and make it easier to re-use and maintain in HTML5 applications.
With the rise of HTML5 more and more JavaScript code is being included in applications to leverage canvas, geolocation, local storage, and other key APIs. This course walks through several patterns that can be used to structure code in a way that’s more re-useable, more maintainable, and less susceptible to naming collisions. Learn about patterns such as the Revealing Module and Revealing Prototype patterns and see how they can be used to convert function spaghetti code into structured code that encapsulates variables and functions.
With the rise of HTML5 more and more JavaScript code is being included in applications to leverage canvas, geolocation, local storage, and other key APIs. This course walks through several patterns that can be used to structure code in a way that’s more re-useable, more maintainable, and less susceptible to naming collisions. Learn about patterns such as the Revealing Module and Revealing Prototype patterns and see how they can be used to convert function spaghetti code into structured code that encapsulates variables and functions.
Syllabus
- Why do we Need JavaScript Patterns? 28mins
- Prototype Pattern 22mins
- Module Pattern 20mins
- Revealing Module Pattern 20mins
- Revealing Prototype Pattern 39mins
Taught by
Dan Wahlin
Related Courses
Web-Engineering I: Grundlagen der Web-Entwicklungiversity Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity Desarrollo de Aplicaciones en HTML5 y para Dispositivos Móviles Firefox O.S.
Miríadax Web Engineering III: Quality Assurance
Technische Hochschule Mittelhessen via iversity Information and Communication Technology (ICT) Accessibility
Georgia Institute of Technology via Coursera