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
- 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
Modern Software Engineering: Doing What Works to Build Better Software Faster
Improve Your Creativity, Effectiveness, and Ultimately, Your Code In Modern Software Engineering, continuous delivery pioneer David …
book
You Don't Know JS: Up & Going
It’s easy to learn parts of JavaScript, but much harder to learn it completely—or even sufficiently—whether …
book
How Linux Works, 3rd Edition
Unlike some operating systems, Linux doesn’t try to hide the important bits from you—it gives you …
book
Building Micro-Frontends
What's the answer to today's increasingly complex web applications? Micro-frontends. Inspired by the microservices model, this …