JavaScript Web Applications
jQuery Developers' Guide to Moving State to the Client
Publisher: O'Reilly Media
Released: August 2011
Pages: 282

Building rich JavaScript applications that bring a desktop experience to the Web requires moving state from the server to the client side—not a simple task. This hands-on book takes proficient JavaScript developers through all the steps necessary to create state-of-the-art applications, including structure, templating, frameworks, communicating with the server, and many other issues.

Throughout the book, you'll work with real-world example applications to help you grasp the concepts involved. Learn how to create JavaScript applications that offer a more responsive and improved experience.

  • Use the Model-View-Controller (MVC) pattern, and learn how to manage dependencies inside your application
  • Get an introduction to templating and data binding
  • Learn about loading remote data, Ajax, and cross-domain requests
  • Create realtime applications with WebSockets and Node.js
  • Accept dropped files and upload data with progress indicators
  • Use major frameworks and libraries, including jQuery, Spine, and Backbone
  • Write tests and use the console to debug your applications
  • Get deployment best practices, such as caching and minification
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaJavaScript Web Applications
 
3.7

(based on 10 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (4)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (1)

78%

of respondents would recommend this to a friend.

Pros

  • Concise (5)
  • Easy to understand (5)
  • Well-written (5)
  • Accurate (4)
  • Helpful examples (4)

Cons

  • Not comprehensive enough (3)

Best Uses

  • Intermediate (6)
  • Expert (3)
  • Novice (3)
    • Reviewer Profile:
    • Developer (8)

Reviewed by 10 customers

Sort by

Displaying reviews 1-10

Back to top

 
3.0

Covers important issues for programmers

By CodeFever

from Ontario. Canada

About Me Designer, Developer, Educator

Pros

  • Accurate

Cons

  • Difficult to understand
  • Not comprehensive enough

Best Uses

  • Expert

Comments about O'Reilly Media JavaScript Web Applications:

This is a useful book because it attempts to explain how JavaScript MVCs are designed and used. The thing I didn't like was the lack of detail and examples for the reader to see practical applications of the concepts in the early chapters. Instead the author steams through MVC designs sacrificing depth for breadth in the process.

(0 of 1 customers found this review helpful)

 
5.0

Useful for transition from ActionScript3

By Daniel

from London

About Me Developer

Verified Reviewer

Pros

  • Helpful examples

Cons

    Best Uses

    • Intermediate
    • Novice

    Comments about O'Reilly Media JavaScript Web Applications:

    I came form AS3 background and I couldn't make my head around the mess that pure JS is. This book was really helpful for someone like me who has experience with more structured language and want to learn the real life practices of adding a structure to JS code.

    (5 of 14 customers found this review helpful)

     
    1.0

    Spine promotion

    By Robin

    from Sherwood, England

    Pros

      Cons

      • Not comprehensive enough
      • Shallow Content
      • Too basic

      Best Uses

        Comments about O'Reilly Media JavaScript Web Applications:

        The author has advertised this book as a side product of a travelling. Hence, expect the content quality to be proportional to that matter.

        The book is mainly based on the javascript framework Spine developed by the author. Just like the name of the library, most of the architecture of Spine itself is based on the popular Backbone library. While the title of the book is of a general nature, instead of focusing on presenting general design principles, it tries to promote the Spine library.

        In short, if you are an intermediate front end web programmer, the book wouldn't offer you anything that you don't know.

        (3 of 5 customers found this review helpful)

         
        4.0

        Deep dive into JavaScript Development

        By m2web

        from Erlanger, KY

        About Me Developer

        Verified Reviewer

        Pros

        • Comprehensive
        • Concise
        • Extensive Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about O'Reilly Media JavaScript Web Applications:

          I started this book thinking that it would provide a basic overview of the use of JavaScript within web application development. Boy was I wrong! This text is really a manual on creating a full featured JavaScript web based app. Given that the author is the creator of Spine.js, he is qualified to create an extensive JavaScript Manual.

          As a Java and .Net developer, this text is more that I require concerning the use of JavaScript. However, I am sure that as time goes on and JavaScript is more embedded in various frameworks via the likes of JQuery, etc. this book will become more practical for me.

          Instead of giving a chapter by chapter review, here is the summary of the overall content of the book (as if such is easy to do for this comprehensive work). This book is not for those just starting JavaScript development. However, if you have experience in another language, this resource will serve you well as you move into further JavaScript programming.

          The initial part of the book deals with the concept of the MVC framework, models, events and event handling, controllers, application state, views, and templating. The examples are mostly in JQuery which is also my framework of choice for JavaScript development. MacCaw also covers Node.js, Socket.IO, and WebSockets. Moreover, he also provides an examples on testing, debugging your apps, as well as a look at the Backbone and Spine.js (which he created) libraries. Finally, the text provides further information on JQuery, CSS extensions, and CSS3 in the appendixes.

          When you are ready to take take the deep dive into developing a JavaScript based we application, this is your manual.

          (6 of 9 customers found this review helpful)

           
          5.0

          A book to take you to the next level

          By beachcomber

          from Hastings England

          About Me Developer

          Verified Reviewer

          Pros

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

          Cons

            Best Uses

            • Intermediate

            Comments about O'Reilly Media JavaScript Web Applications:

            If (like me) your an experienced web developer who is comfortable with using JavaScript/jQuery and are wanting a book that will help you move your JavaScript skills into application development, then this is the one for you.

            My one (small) gripe is that I was particularly interested in Backbone.js so would have liked a larger chapter with more worked examples - hopefully someone out there is working on a dedicated backbone.js book. other than that it's very good, and is one of the few JavaScript books I've read in a long time that I felt has taught me something that is both new and useful.

            (5 of 9 customers found this review helpful)

             
            5.0

            Very good

            By Hoisel

            from Brasil

            About Me Developer, Sys Admin

            Verified Reviewer

            Pros

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

            Cons

              Best Uses

              • Expert
              • Intermediate

              Comments about O'Reilly Media JavaScript Web Applications:

              The best javascript book I've read. The book doens´t focuses in the language sintax, but how to leverage the language to build full web applications. Congratulations

              (3 of 7 customers found this review helpful)

               
              4.0

              Acquired To Learn Backbone.js

              By ktabors

              from Oakland, CA

              About Me Developer

              Verified Reviewer

              Pros

              • Concise
              • Easy to understand
              • Well-written

              Cons

                Best Uses

                • Intermediate
                • Novice

                Comments about O'Reilly Media JavaScript Web Applications:

                I acquired the book because I wanted to learn more Backbone.js; the framework's docs and an example app weren't doing it for me.

                The book's chapter on Backbon was well written and it made sense to me. It explained the MVC framework followed by an example using it. I prefer examples that teach so I wasn't thrilled, but it was well done so I'm just being prejudicial. The framework's reference section didn't bug me like they usually do because the author was brief and highlighted the important parts rather then every detail.

                Getting the book I knew other parts of the book would be useful too. While reading the Backbone chapter I found I need to read the sections on AJAX URLs and templates too.

                Received this as part of the blogger program.

                (6 of 7 customers found this review helpful)

                 
                4.0

                Great intermediate JS book

                By Esteban

                from Oslo, Norway

                About Me Developer

                Verified Reviewer

                Pros

                • Accurate
                • Helpful examples
                • Well-written

                Cons

                  Best Uses

                  • Intermediate

                  Comments about O'Reilly Media JavaScript Web Applications:

                  This book is a great introduction to serious Javascript programming. It's perfect to take you from knowing some Javascript to knowing everything you need (techniques, tips, day-to-day practical problems, libraries) to create maintainable, efficient Javascript applications.

                  It's probably also a good book if you don't really "get" Javascript (eg. if you think that Javascript is a limited, annoying language) and need to be shown how it can be used effectively in real, complex applications. Probably not a book for you if you have been writing complex Javascript applications for years, but I'm sure you could still learn something from it.

                  The book uses the MVC pattern for all the code and examples (the book is full of them). Some parts were pretty demanding for the reader, as you have to read and understand a lot of code.

                  I got this book as part of the O'Reilly Blogger Review Program.

                  (11 of 35 customers found this review helpful)

                   
                  2.0

                  Active Record ORM and MVC in JavaScript

                  By nohorse

                  from Eugene, OR

                  About Me Developer

                  Verified Reviewer

                  Pros

                  • Easy to understand

                  Cons

                  • Not comprehensive enough

                  Best Uses

                  • Novice

                  Comments about O'Reilly Media JavaScript Web Applications:

                  A more accurate name for this book might have been "JavaScript for Ruby on Rails developers". The author is very focused on ORM and MVC in JavaScript. There is some good information in here concerning language elements in general and some specific issues like cross origin requests, local storage, templates, Node.js, testing and deployment considerations. Some insightful commentary on the current state of JavaScript. So if you love Ruby and Active Record and are making the move to JavaScript you will find lots of familiar concepts reflected in a new language. If Ruby on Rails is not your thing, I can't recommend this one because all the examples are bent toward implementing Active Record and MVC.

                  (5 of 7 customers found this review helpful)

                   
                  4.0

                  1st impression of the early release Ed.

                  By LA

                  from NYC

                  Verified Reviewer

                  Pros

                  • Concise
                  • Easy to understand
                  • Well-written

                  Cons

                    Best Uses

                      Comments about O'Reilly Media JavaScript Web Applications:

                      The book is very readable and easy to follow. I hope when it is finalized it will include sample files illustrating the ideas! (there never seems to be any reference to accompanying files in the book).

                      Displaying reviews 1-10

                      Back to top

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