JavaScript Web Applications (Google eBook)

Front Cover
"O'Reilly Media, Inc.", Aug 18, 2011 - Computers - 255 pages
8 Reviews

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

User ratings

5 stars
3
4 stars
2
3 stars
1
2 stars
2
1 star
0

Review: JavaScript Web Applications

User Review  - Sergey Ermakovich - Goodreads

Very useful book. I particularly like CSS3 reference at the end - it's compact, but yet powerfull. Read full review

Review: JavaScript Web Applications

User Review  - Miloš - Goodreads

I loved that it's a short book. Unfortunately it's a bit too broad for it's size. it's still a good introduction on how Javascript client-side frameworks are put together and used. It should make reading the actual source of backbone or some other library easier during day to day development. Read full review

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

Common terms and phrases

About the author (2011)

Alex MacCaw is a Ruby/JavaScript developer & entrepreneur. He has written a JavaScript framework, Spine and developed major applications including Taskforce and Socialmod, as well as a host of open source work. He speaks at Ruby/Rails conferences in NYC, SF and Berlin. In addition to programming he is currently traveling round the world with a Nikon D90 and surfboard.

Bibliographic information