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
Publisher resources
Table of contents
- JavaScript Web Applications
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- 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. The JavascriptMVC Library
- A. jQuery Primer
- B. CSS Extensions
- C. CSS3 Reference
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Copyright
Product information
- Title: JavaScript Web Applications
- Author(s):
- Release date: August 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449315283
You might also like
book
Learning Node.js: A Hands-On Guide to Building Web Applications in JavaScript
Learning Node.js A Hands-On Guide to Building Web Applications in JavaScript Node.js makes it far easier …
book
JavaScript Application Design
The fate of most applications is often sealed before a single line of code has been …
book
Programming JavaScript Applications
Take advantage of JavaScript’s power to build robust web-scale or enterprise applications that are easy to …
book
Clean Code in JavaScript
Get the most out of JavaScript for building web applications through a series of patterns, techniques, …