num_pages: 290
description: Enhance your JavaScript code with this essential collection of design patterns. Discover an extensive range of techniques and strategies to successfully tackle complex JavaScript development problems and put them into practice by following detailed examples that demonstrate each design pattern at its most effective. Dive deeper into JavaScript and master these powerful design patterns for an innovative and cutting-edge approach to JavaScript that meets the demands of modern web development.  Explore how design patterns can help you improve your JavaScript code and get to grips with creational, structural behavioural patterns, as you discover how to put them to work in different scenarios. Then look deeper at patterns used in functional programming, as well as model view patterns, and patterns to build web applications. You will also find patterns to improve the testability of your code using mock objects, mocking frameworks and monkey patching along with some advanced patterns including dependency injection and live postprocessing.  Taking a complete and journey through the most valuable design patterns, and providing clear guidance on how to effectively use them in JavaScript, this JavaScript book gives you access to one of the best ways to learn JavaScript and use it to meet the demands of web development today.   Discover and use tried and tested design patterns for a more effective approach to JavaScript  Learn simple strategies for improving your code organization  Get to grips with creational, behavioural and structural design patterns  Rethink and revitalize your code with the use of functional patterns  Harness the power of design patterns for a range of development tasks from building an application to code testing  Explore advanced JavaScript design patterns including dependency injection 
language: English
title: Mastering JavaScript Design Patterns
publisher: Packt Publishing