Book Image

JavaScript Design Patterns 20 Patterns for Advancing Your JavaScript Skills [Video]

By : Ben Fhala
Book Image

JavaScript Design Patterns 20 Patterns for Advancing Your JavaScript Skills [Video]

By: Ben Fhala

Overview of this book

<p>Design patterns are intelligent, reusable strategies for solving common development problems faced by developers. For Web developers working with JavaScript, design patterns provide a tested, methodical plan of attack for tackling challenges that arise in real-world application development.</p> <p>JavaScript Design Patterns 20 Patterns for Advancing Your JavaScript Skills&nbsp;will immerse you in the world of intelligent JavaScript programming, demonstrating to Web developers how to mobilize design patterns and presenting key programming concepts and common solutions to frequently occurring programming problems.</p> <p>Exploring 20 different design patterns, this video course demonstrates the internal logic of each, while providing examples and real-world scenarios that developers can adopt and implement when programming in JavaScript.</p> <p>The course opens by introducing the conceptual logic behind design patterns: what they are; what they are not; what makes a pattern; major pattern types; and what role they play in the bigger picture of Web development. We then dive straight into a real-world case study, building a mock application with in-built issues that design patterns can solve.</p> <p>Following on from this introduction, the course quickly expands into exploring the core design patterns underlying the major pattern types: Creational, Structural, and Behavioral patterns. With the knowledge delivered throughout the course, developers will come away from JavaScript Design Patterns 20 Patterns for Advancing Your JavaScript Skills armed with a powerful arsenal for solving a wide array of different JavaScript programming problems.</p> <h1>Style and Approach</h1> <p>This course adopts a problem-solution approach, demonstrating how to solve a wide array of real-world JavaScript programming problems using different design patterns. Replete with code examples and detailed explanations of the logic at play, the course helps viewers understand and practice the lessons taught.</p>
Table of Contents (5 chapters)
Chapter 1
My First Design Patterns
Content Locked
Section 5
The Module Reveal Pattern
While the Module design pattern is very powerful, it has a few limitations and they are related mainly to the fact that we have to treat public and private members differently. Moreover, this split has made it hard for us to call and use the public members from the private areas of our code. The Module Reveal Pattern comes to our rescue to solve this issue. - See how we treat private and public members differently - Ensure private members can't interact with public ones - Add complexity to our core structure