Learning JavaScript Design Patterns (English, Paperback, Osmani Addy)

Learning JavaScript Design Patterns (English, Paperback, Osmani Addy) (English, Paperback, Osmani Addy)


Learning JavaScript Design Patterns (English, Paperback, Osmani Addy)  (English, Paperback, Osmani Addy)

56 Ratings & 4 Reviews
Hurry, Only 2 left!
Available offers
  • Bank Offer5% Unlimited Cashback on Flipkart Axis Bank Credit Card
  • Bank Offer10% Off on Bank of Baroda Mastercard debit card first time transaction, Terms and Condition apply
  • Bank Offer10% Off on First time ICICI Bank Mastercard Credit Card transaction, TnC Applicable
  • Bank Offer10% Off on First time ICICI Bank Mastercard Debit Card transactions, up to ₹50
  • Delivery
    Enter pincode
      Usually delivered in3 days
      Enter pincode for exact delivery dates/charges
    View Details
    Read More
    • Language: English
    • Binding: Paperback
    • Publisher: Packt
    • Genre: Computers
    • ISBN: 9789350238707, 9789350238707
    • 7 Days Replacement Policy
    • Cash on Delivery available
    Shroff Publishers
    • 7 Days Replacement Policy

    With Learning JavaScript Design Patterns, you’ll learn how to write beautiful, structured, and maintainable JavaScript by applying classical and modern design patterns to the language. If you want to keep your code efficient, more manageable, and up-to-date with the latest best practices, this book is for you.

    Explore many popular design patterns, including Modules, Observers, Facades, and Mediators. Learn how modern architectural patterns—such as MVC, MVP, and MVVM—are useful from the perspective of a modern web application developer. This book also walks you through modern module formats, how to namespace code effectively, and other essential topics.

    •     Learn the structure of design patterns and how they are written
    •     Understand different pattern categories, including creational, structural, and behavioral
    •     Walk through more than 20 classical and modern design patterns in JavaScript
    •     Use several options for writing modular code—including the Module pattern, Asyncronous Module Definition (AMD), and CommonJS
    •     Discover design patterns implemented in the jQuery library
    •     Learn popular design patterns for writing maintainable jQuery plug-ins

    "This book should be in every JavaScript developer’s hands. It’s the go-to book on JavaScript patterns that will be read and referenced many times in the future."—Andrée Hansson, Lead Front-End Developer, presis!

    About The Author
    Addy Osmani is a Developer Programs Engineer on the Chrome team at Google with a passion for JavaScript application architecture. He has created popular projects such as TodoMVC and contributed to other open-source projects such as Modernizr and jQuery. A regular blogger, his articles have been featured numerous times in JavaScript Weekly and Smashing Magazine, to name but a few. His current projects include Yeoman - an opionated workflow for modern web developers, Backbone Aura and jQuery UI Bootstrap. Addy maintains his popular blog on web development at http://addyosmani.com for those wishing to learn more about his work.

    Table of Contents

    Chapter 1 Introduction

    Chapter 2 What Is a Pattern?

    •     We Already Use Patterns Every Day

    Chapter 3 “Pattern”-ity Testing, Proto-Patterns, and the Rule of Three

    Chapter 4 The Structure of a Design Pattern

    Chapter 5 Writing Design Patterns

    Chapter 6 Anti-Patterns

    Chapter 7 Categories of Design Patterns

    •     Creational Design Patterns
    •     Structural Design Patterns
    •     Behavioral Design Patterns

    Chapter 8 Design Pattern Categorization

    •     A Brief Note on Classes

    Chapter 9 JavaScript Design Patterns

    •     The Constructor Pattern
    •     The Module Pattern
    •     The Revealing Module Pattern
    •     The Singleton Pattern
    •     The Observer Pattern
    •     The Mediator Pattern
    •     The Prototype Pattern
    •     The Command Pattern
    •     The Facade Pattern
    •     The Factory Pattern
    •     The Mixin Pattern
    •     Subclassing
    •     Mixins
    •     The Decorator Pattern
    •     Pseudoclassical Decorators
    •     Decorators with jQuery
    •     Advantages and Disadvantages
    •     Flyweight

    Chapter 10 JavaScript MV* Patterns

    •     MVC
    •     MVC for JavaScript Developers
    •     What Does MVC Give Us?
    •     Smalltalk-80 MVC in JavaScript
    •     MVP
    •     MVVM
    •     Pros and Cons
    •     MVVM with Looser Data Bindings
    •     MVC Versus MVP Versus MVVM
    •     Backbone.js Versus Knockout JS

    Chapter 11 Modern Modular JavaScript Design Patterns

    •     A Note on Script Loaders
    •     AMD
    •     CommonJS
    •     AMD and CommonJS: Competing, but Equally Valid Standards
    •     ES Harmony
    •     Conclusions

    Chapter 12 Design Patterns in jQuery

    •     The Composite Pattern
    •     The Adapter Pattern
    •     The Facade Pattern
    •     The Observer Pattern
    •     The Iterator Pattern
    •     Lazy Initialization
    •     The Proxy Pattern
    •     The Builder Pattern

    Chapter 13 jQuery Plug-in Design Patterns

    •     Patterns
    •     A Lightweight Start Pattern
    •     Complete Widget Factory Pattern
    •     Nested Namespacing Plug-in Pattern
    •     Custom Events Plug-in Pattern (with the Widget Factory)
    •     Prototypal Inheritance with the DOM-to-Object Bridge Pattern
    •     jQuery UI Widget Factory Bridge Pattern
    •     jQuery Mobile Widgets with the Widget Factory
    •     RequireJS and the jQuery UI Widget Factory
    •     Globally and Per-Call Overridable Options (Best Options Pattern)
    •     A Highly Configurable and Mutable Plug-in Pattern
    •     What Makes a Good Plug-in Beyond Patterns?
    •     Conclusions
    •     Namespacing Patterns
    •     Namespacing Fundamentals
    •     Advanced Namespacing Patterns

    Chapter 14 Conclusions

    •     Appendix References


    Read More
    • Packt
    Manufacturing, Packaging and Import Info
    Ratings & Reviews
    56 Ratings &
    4 Reviews
    • 5
    • 4
    • 3
    • 2
    • 1
    • 43
    • 9
    • 4
    • 0
    • 0

    Clearly the Best for Intermediates and Advanced Web Developers

    You will be surprised with the power of Javascript which was once considered puny and unstructured compared to the giants like Java.
    Its the most simplest yet powerful scripting language and simply put,
    The Design patterns although specific to Javascript can be applied to many of the modern programming languages like Dart.

    Happy Learning!

    And yes, Flipkart took just one day to ship the book to my address. Incredible!

    Satish Kumar Perumal

    Certified Buyer, Bengaluru

    Sep, 2014

    Report Abuse

    Step into the Advanced JavaScript Concepts

    In the recent years, JavaScript has secured a very big position in the web technologies. Nowadays we can use JavaScript for both the Front End and Back End. Chrome's V8 has simply revolutionized JavaScript implementation.

    I have spent a handsome time developing web apps based on LAMP Stack and recently moved to the MEAN Stack which is quite promising. This book is useful for someone who's thorough with JavaScript and OOP.

    Shubhamoy Chakrabarty

    Certified Buyer, Dwarka

    Feb, 2016

    Report Abuse


    The way of explanation in this book is very good.

    Sharat Chandra Kumar Maganti

    Certified Buyer, Hyderabad

    Jan, 2018

    Report Abuse

    Must have for any javascript delvoper

    Must have knowledge base for any developer.
    Flipkart delivery speed is awesome.

    Buying another couple of books for my friends.

    Udaykanth R

    Certified Buyer, Hyderabad

    Sep, 2014

    Report Abuse
    All 4 reviews
    Have doubts regarding this product?
    Safe and Secure Payments.Easy returns.100% Authentic products.
    You might be interested in
    Banking Recruitment Exam Books
    Min 20% Off
    Shop Now
    Min 30% Off
    Shop Now
    Mechanical Engineering and Material Books
    Min 10% Off
    Shop Now
    Mathematics and Science Books
    Min 30% Off
    Shop Now
    Back to top