
Mastering JavaScript Design Patterns
Write reliable code to create powerful applications by mastering advanced JavaScript design patterns
Simon Timms(Author)
Packt Publishing
2nd Edition
Published on 29. June 2016
Book
Paperback/Softback
290 pages
978-1-78588-216-6 (ISBN)
Description
Write reliable code to create powerful applications by mastering advanced JavaScript design patterns
Key Features
[*] Learn how to use tried and true software design methodologies to enhance your JavaScript code
[*] Discover robust JavaScript implementations of classic and advanced design patterns
[*] Packed with easy-to-follow examples that can be used to create reusable code and extensible designs
Book DescriptionWith the recent release of ES-2015, there are several new object-oriented features and functions introduced in JavaScript. These new features enhance the capabilities of JavaScript to utilize design patterns and software design methodologies to write powerful code.
Through this book, you will explore how design patterns can help you improve and organize your JavaScript code. You'll get to grips with creational, structural and behavioral patterns as you discover how to put them to work in different scenarios. Then, you'll get a deeper look at patterns used in functional programming, as well as model view patterns and patterns to build web applications.
This updated edition will also delve into reactive design patterns and microservices as they are a growing phenomenon in the world of web development. You will also find patterns to improve the testability of your code using mock objects, mocking frameworks, and monkey patching. We'll also show you some advanced patterns including dependency injection and live post processing.
By the end of the book, you'll be saved of a lot of trial and error and developmental headaches, and you will be on the road to becoming a JavaScript expert.
What you will learn
[*] Harness the power of patterns for tasks ranging from application building to code testing
[*] Rethink and revitalize your code with the use of functional patterns
[*] Improve the way you organize your code
Build large-scale apps seamlessly with the help of reactive patterns
[*] Identify the best use cases for microservices
[*] Get to grips with creational, behavioral, and structural design patterns
[*] Explore advanced design patterns including dependency injection
Who this book is forThis book is ideal for JavaScript developers who want to gain expertise in object-oriented programming with JavaScript and the new capabilities of ES-2015 to improve their web development skills and build professional-quality web applications.
Key Features
[*] Learn how to use tried and true software design methodologies to enhance your JavaScript code
[*] Discover robust JavaScript implementations of classic and advanced design patterns
[*] Packed with easy-to-follow examples that can be used to create reusable code and extensible designs
Book DescriptionWith the recent release of ES-2015, there are several new object-oriented features and functions introduced in JavaScript. These new features enhance the capabilities of JavaScript to utilize design patterns and software design methodologies to write powerful code.
Through this book, you will explore how design patterns can help you improve and organize your JavaScript code. You'll get to grips with creational, structural and behavioral patterns as you discover how to put them to work in different scenarios. Then, you'll get a deeper look at patterns used in functional programming, as well as model view patterns and patterns to build web applications.
This updated edition will also delve into reactive design patterns and microservices as they are a growing phenomenon in the world of web development. You will also find patterns to improve the testability of your code using mock objects, mocking frameworks, and monkey patching. We'll also show you some advanced patterns including dependency injection and live post processing.
By the end of the book, you'll be saved of a lot of trial and error and developmental headaches, and you will be on the road to becoming a JavaScript expert.
What you will learn
[*] Harness the power of patterns for tasks ranging from application building to code testing
[*] Rethink and revitalize your code with the use of functional patterns
[*] Improve the way you organize your code
Build large-scale apps seamlessly with the help of reactive patterns
[*] Identify the best use cases for microservices
[*] Get to grips with creational, behavioral, and structural design patterns
[*] Explore advanced design patterns including dependency injection
Who this book is forThis book is ideal for JavaScript developers who want to gain expertise in object-oriented programming with JavaScript and the new capabilities of ES-2015 to improve their web development skills and build professional-quality web applications.
More details
Edition
2nd Revised edition
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
US School Grade: College Graduate Student
Edition type
Revised edition
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 16 mm
Weight
546 gr
ISBN-13
978-1-78588-216-6 (9781785882166)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Simon Timms
Mastering JavaScript Design Patterns
Write reliable code to create powerful applications by mastering advanced JavaScript design patterns
E-Book
07/2025
2nd Edition
Packt Publishing
from
€33.59
Available for download
Person
Simon Timms is a developer who works in the oil and gas industry in Calgary, Alberta. He has a BSc in Computing Science from the University of Alberta and a Masters from Athabasca University. He is interested in distributed systems, visualization, and the acquisition of ice-cream.
This is his first book, but he blogs frequently on diverse topics such as code contracts and cloud computing at blog.simontimms.com. He is involved in the local .NET and JavaScript community, and speaks frequently at conferences.
Contacted by Shweta Pant on 28-8-2017 for the third edition of Mastering JavaScript Design Patterns book
This is his first book, but he blogs frequently on diverse topics such as code contracts and cloud computing at blog.simontimms.com. He is involved in the local .NET and JavaScript community, and speaks frequently at conferences.
Contacted by Shweta Pant on 28-8-2017 for the third edition of Mastering JavaScript Design Patterns book
Content
Table of Contents
Designing for Fun and Profit
Organizing Code
Creational Patterns
Structural Patterns
Behavioural Patterns
Functional Programming
Reactive Programming
Application Patterns
Web Patterns
Messaging Patterns
Microservices
Patterns for Testing
Advanced Patterns
ES6 Solutions Today and the Road Ahead
Designing for Fun and Profit
Organizing Code
Creational Patterns
Structural Patterns
Behavioural Patterns
Functional Programming
Reactive Programming
Application Patterns
Web Patterns
Messaging Patterns
Microservices
Patterns for Testing
Advanced Patterns
ES6 Solutions Today and the Road Ahead