JavaScript Web Applications: jQuery Developers' Guide to Moving State to the Client

Front Cover
"O'Reilly Media, Inc.", Aug 11, 2011 - Computers - 278 pages

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
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Chapter 1 MVC and Classes
1
Chapter 2 Events and Observing
19
Chapter 3 Models and Data
31
Chapter 4 Controllers and State
49
Chapter 5 Views and Templating
65
Chapter 6 Dependency Management
73
Chapter 7 Working with Files
81
Chapter 8 The RealTime Web
97
Chapter 10 Deploying
133
Chapter 11 The Spine Library
141
Chapter 12 The Backbone Library
165
Chapter 13 The JavascriptMVC Library
185
Appendix A jQuery Primer
207
Appendix B CSS Extensions
217
Appendix C CSS3 Reference
223
Index
243

Chapter 9 Testing and Debugging
107

Other editions - View all

Common terms and phrases

Bibliographic information