Learning JavaScript Design Patterns
A JavaScript and jQuery Developer's Guide
Publisher: O'Reilly Media
Final Release Date: July 2012
Pages: 254

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 experienced JavaScript developers 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!

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLearning JavaScript Design Patterns
 
4.4

(based on 43 reviews)

Ratings Distribution

  • 5 Stars

     

    (28)

  • 4 Stars

     

    (12)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (3)

93%

of respondents would recommend this to a friend.

Pros

  • Well-written (35)
  • Helpful examples (31)
  • Concise (27)
  • Easy to understand (27)
  • Accurate (25)

Cons

    Best Uses

    • Intermediate (32)
    • Expert (21)
    • Novice (12)
    • Student (10)
      • Reviewer Profile:
      • Developer (41), Designer (10), Educator (6)

    Reviewed by 43 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

     
    5.0

    Completely relevant to its title

    By Mehran Hatami

    from Iran, Tehran

    About Me Developer, Educator

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly Learning JavaScript Design Patterns:

      great to have these kinds of books online. I use this to teach JavaScript.

       
      4.0

      This book is awesome

      By Andreas

      from Los Angeles

      About Me Developer

      Pros

      • Helpful examples
      • Well-written

      Cons

      • To Verbose

      Best Uses

      • Intermediate

      Comments about oreilly Learning JavaScript Design Patterns:

      The book is pretty awesome, lots of code examples.
      points links to further reading.
      Cover all kinds of patterns.

       
      5.0

      Really Helpful.

      By Foysal

      from Dhaka

      About Me Developer

      Verified Reviewer

      Pros

      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

          Comments about oreilly Learning JavaScript Design Patterns:

          I have learned some patterns.

           
          5.0

          Excellent source of JS knowledge

          By mkelley33

          from Wake Forest, NC

          About Me Developer

          Verified Buyer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Expert
            • Intermediate
            • Novice
            • Student

            Comments about oreilly Learning JavaScript Design Patterns:

            Great book! I'm keeping a copy nearby whenever coding in JavaScript. The examples are pragmatic, easily applied, and help reenforce good code organization, style, readability, flexibility, and maintainainability.

             
            5.0

            very good

            By lascar

            from madrid

            About Me Developer

            Verified Buyer

            Pros

            • Accurate
            • Concise
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Student

              Comments about oreilly Learning JavaScript Design Patterns:

              great to understand patterns, why and how they are made for, and very good to understand how to apply them in javascript

               
              4.0

              Great resource

              By Shane

              from Atlanta, GA

              Pros

              • Accurate
              • Concise
              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                  Comments about oreilly Learning JavaScript Design Patterns:

                  Very good examples and short concise explanations of the different patterns.
                  A good resource to get a good understanding of the different patterns available in JavaScript

                   
                  4.0

                  My Goto Reference Book For JavaScript Pa

                  By Sukima

                  from New Haven, CT

                  About Me Developer, Educator

                  Verified Reviewer

                  Pros

                  • Accurate
                  • Concise
                  • Helpful examples

                  Cons

                    Best Uses

                    • Intermediate

                    Comments about oreilly Learning JavaScript Design Patterns:

                    I love the style of this book. It is organized well and makes it easy to lookup many common patterns. The book goes so far to explain the usual application of such patterns and offers several different styles for them. It also offers pros and cons for each pattern. It is obvious the author has done good research and has used these patterns in the wild.

                    The book is a reference book and does not read well front to back. It is designed as a lookup, Find the pattern you want or look up a patter by name and be provided with a sample and well written explanations. Great for conversation starters. A dictionary of good practises.

                    I also enjoyed the fact that opinion was a neutral as possible. In comparison with the famous books like "JavaScript: The Good Parts" the author in this book tries to show both advantages and disadvantages of each pattern allowing the reader to form their own opinion on what parts are useful for them.

                    I recommend this book be a staple in ever JavaScript developer's bookshelf.

                     
                    4.0

                    helpful, especially references to other

                    By Nim the swimmer

                    from SoCal

                    About Me Developer, Maker

                    Pros

                    • Easy to understand
                    • Helpful examples
                    • Well-written

                    Cons

                      Best Uses

                      • Intermediate
                      • Novice
                      • Student

                      Comments about oreilly Learning JavaScript Design Patterns:

                      helpful, especially references to other excellent explanations and tutorials on the web.

                       
                      4.0

                      I would recommend this book for a friend

                      By RK

                      from Sunnyvale,CA

                      About Me Designer, Developer, Educator

                      Verified Reviewer

                      Pros

                      • Accurate
                      • Concise
                      • Easy to understand
                      • Helpful examples
                      • Well-written

                      Cons

                        Best Uses

                        • Intermediate
                        • Novice
                        • Student

                        Comments about oreilly Learning JavaScript Design Patterns:

                        I'm a student learning Javascript for the first time. This book has enough examples that would help a student like me to get a good grasp on the concept.

                        (1 of 1 customers found this review helpful)

                         
                        5.0

                        The best Javascript design patterns book

                        By Raghu

                        from Pleasanton, CA

                        About Me Designer, Developer

                        Verified Reviewer

                        Pros

                        • Easy to understand
                        • Helpful examples

                        Cons

                          Best Uses

                          • Expert
                          • Intermediate
                          • Novice
                          • Student

                          Comments about oreilly Learning JavaScript Design Patterns:

                          As a lead architect, i was researching into MVVM, and landed on this online book. This book has explained not just that, but the pros and cons of a lot of patterns and JS libraries.

                          I highly recommend readign this book for any UI developer or architect.

                          Displaying reviews 1-10

                          Back to top

                          Previous | Next »

                           
                          Buy 2 Get 1 Free Free Shipping Guarantee
                          Buying Options
                          Immediate Access - Go Digital what's this?
                          Ebook: $33.99
                          Formats:  DAISY, ePub, Mobi, PDF
                          Print & Ebook: $38.49
                          Print: $34.99