Closure: The Definitive Guide

Przednia okładka
"O'Reilly Media, Inc.", 8 wrz 2010 - 592
4 Recenzje

If you're ready to use Closure to build rich web applications with JavaScript, this hands-on guide has precisely what you need to learn this suite of tools in depth. Closure makes it easy for experienced JavaScript developers to write and maintain large and complex codebases—as Google has demonstrated by using Closure with Gmail, Google Docs, and Google Maps.

Author and Closure contributor Michael Bolin has included numerous code examples and best practices, as well as valuable information not available publicly until now. You'll learn all about Closure's Library, Compiler, Templates, testing framework, and Inspector—including how to minify JavaScript code with the Compiler, and why the combination of the Compiler and the Library is what sets Closure apart from other JavaScript toolkits.

  • Learn how the Compiler significantly reduces the amount of JavaScript users have to download when visiting your site
  • Discover several ways to use the Compiler as part of your build process
  • Learn about type expressions, primitives, and common utilities
  • Understand how Closure emulates classes and class-based inheritance
  • Use Closure Templates on the server and the client from either JavaScript or Java
  • Test and debug your JavaScript code, even when it's compiled
  

Co mówią ludzie - Napisz recenzję

Review: Closure: The Definitive Guide

Recenzja użytkownika  - Glenn - Goodreads

Before reading this book, I hacked around on Google Closure and got some results from exploring their web site. This book really filled in a lot of the gaps in information that was missing from the ... Przeczytaj pełną recenzję

Review: Closure: The Definitive Guide

Recenzja użytkownika  - Vadim - Goodreads

Great programming book. Teaches how to develop large-scale applications using JavaScript. Przeczytaj pełną recenzję

Spis treści

Chapter 1 Introduction to Closure
1
Chapter 2 Annotations for Closure JavaScript
25
Chapter 3 Closure Library Primitives
45
Chapter 4 Common Utilities
73
Chapter 5 Classes and Inheritance
111
Chapter 6 Event Management
137
Chapter 7 ClientServer Communication
155
Chapter 8 User Interface Components
181
Chapter 12 Using the Compiler
333
Chapter 13 Advanced Compilation
379
Chapter 14 Inside the Compiler
427
Chapter 15 Testing Framework
465
Chapter 16 Debugging Compiled JavaScript
497
Appendix A Inheritance Patterns in JavaScript
505
Appendix B Frequently Misunderstood JavaScript Concepts
515
Appendix C plovr
531

Chapter 9 Rich Text Editor
241
Chapter 10 Debugging and Logging
289
Chapter 11 Closure Templates
303

Kluczowe wyrazy i wyrażenia

Informacje o autorze (2010)

Michael Bolin is a former Google engineer who spent his four years there working on Google Calendar, Google Tasks, and the Closure Compiler. As a frontend developer, he used the Closure Tools suite on a daily basis and made a number of contributions to it. His last project at Google was to open-source the Closure Compiler. He is a blogger, often writing about web development, and graduated with both Computer Science and Mathematics degrees from MIT.

Informacje bibliograficzne