Mastering JavaScript Design Patterns /

Discover how to use JavaScript design patterns to create powerful applications with reliable and maintainable code In Detail Applying design patterns to JavaScript code creates more reliable and maintainable code. In this book, you will explore different design patterns and learn where and how to im...

Full description

Bibliographic Details
Main Author: Timms, Simon (Author)
Corporate Author: Safari, an O'Reilly Media Company
Format: eBook
Language:English
Published: Packt Publishing, 2014.
Edition:1st edition.
Subjects:
Online Access:Connect to this electronic resource
Description
Summary:Discover how to use JavaScript design patterns to create powerful applications with reliable and maintainable code In Detail Applying design patterns to JavaScript code creates more reliable and maintainable code. In this book, you will explore different design patterns and learn where and how to implement them with the help of detailed examples. In the first part of the book, we start off with an introduction to design patterns, and then move on to creating classical structures that are used to organize code. Next, we look at the creational, structural, and behavioral patterns. The second part of the book dives into patterns used for functional programming, model view patterns, patterns to build web applications, and messaging patterns. A number of very interesting advanced JavaScript patterns such as dependency injection and live postprocessing are also covered. By the end of this book, you will learn to identify places where a pattern would improve code readability and maintainability. What You Will Learn Organize your code with classes and modules Explore the original Gang of Four patterns and learn how to apply them to JavaScript Decrease the degree of coupling in applications and increase code reuse through creational patterns Rethink your coding through the use of functional patterns Master advanced JavaScript patterns such as dependency injection and live postprocessing Improve the testability of your code with mock objects, mocking frameworks, and monkey patching Discover the patterns that are the basis of modern JavaScript libraries such as Knockout.js, Angular.js, and Backbone.js
Item Description:Electronic resource.
Physical Description:1 online resource (290 pages)
Format:Mode of access: World Wide Web.