Closure: The Definitive Guide

Przednia okładka
"O'Reilly Media, Inc.", 08.09.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
Chapter 2 Annotations for Closure JavaScript
Chapter 3 Closure Library Primitives
Chapter 4 Common Utilities
Chapter 5 Classes and Inheritance
Chapter 6 Event Management
Chapter 7 ClientServer Communication
Chapter 8 User Interface Components
Chapter 12 Using the Compiler
Chapter 13 Advanced Compilation
Chapter 14 Inside the Compiler
Chapter 15 Testing Framework
Chapter 16 Debugging Compiled JavaScript
Appendix A Inheritance Patterns in JavaScript
Appendix B Frequently Misunderstood JavaScript Concepts
Appendix C plovr

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

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