Book description
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
- Preface
-
1. MVC and Classes
- Early Days
- Adding Structure
- What Is MVC?
- Toward Modularity, Creating Classes
- Adding Functions to Classes
- Adding Methods to Our Class Library
- Class Inheritance Using Prototype
- Adding Inheritance to Our Class Library
- Function Invocation
- Controlling Scope in Our Class Library
- Adding Private Functions
- Class Libraries
- 2. Events and Observing
- 3. Models and Data
- 4. Controllers and State
- 5. Views and Templating
- 6. Dependency Management
- 7. Working with Files
- 8. The Real-Time Web
- 9. Testing and Debugging
- 10. Deploying
- 11. The Spine Library
- 12. The Backbone Library
- 13. EmberJS
- A. jQuery Primer
- B. CSS Extensions
- C. CSS3 Reference
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: JavaScript Web Applications
- Author(s):
- Release date: August 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449303518
You might also like
book
Modern JavaScript Web Development Cookbook
Over 90 recipes to help you write clean code, solve common JavaScript problems, and work on …
book
Secrets of the JavaScript Ninja, Second Edition
Summary More than ever, the web is a universal platform for all types of applications, and …
book
Advanced JavaScript
Gain a deeper understanding of JavaScript and apply it to build small applications in backend, frontend, …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …