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.5

(based on 46 reviews)

Ratings Distribution

  • 5 Stars

     

    (30)

  • 4 Stars

     

    (13)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (3)

93%

of respondents would recommend this to a friend.

Pros

  • Well-written (37)
  • Helpful examples (33)
  • Easy to understand (30)
  • Concise (29)
  • Accurate (26)

Cons

    Best Uses

    • Intermediate (34)
    • Expert (21)
    • Novice (12)
    • Student (10)
      • Reviewer Profile:
      • Developer (42), Designer (10), Educator (6), Maker (3)

    Reviewed by 46 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

     
    4.0

    Very Helpful

    By Georgie

    from Laguna Beach, CA

    About Me Maker

    Verified Reviewer

    Pros

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

    Cons

      Best Uses

      • Intermediate

      Comments about oreilly Learning JavaScript Design Patterns:

      Very clear, concise and helpful.

       
      5.0

      Very easy to understand

      By Pongneng

      from Chiang Mai, Thailand

      About Me Developer

      Pros

      • Easy to understand

      Cons

      • Need More Example

      Best Uses

      • Intermediate

      Comments about oreilly Learning JavaScript Design Patterns:

      To me this the best to begin the journey of design pattern. Comparing to GoF book. This one would be a lot more simple and easy to understand and of course the best choice for javascript developer to learn design pattern. Code example is really great. It's concise and made a good job on illustrating the idea. The author did a really good job on choosing the code example.
      But however some topic like mediator pattern (as far as I read). It's need more code example to make me understand the application of it.

       
      5.0

      Well Explained Background Information

      By Blueprinter

      from Portland, ME

      Verified Reviewer

      Pros

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

      Cons

        Best Uses

          Comments about oreilly Learning JavaScript Design Patterns:

          I often read multiple sources of information with no good understanding at the end. After reading very little in this book, I gained critical knowledge very quickly. Thank you.

           
          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.

            (0 of 1 customers found this review helpful)

             
            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.

                          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: $43.99
                          Print: $39.99