Google I/O 2011: JavaScript Programming in the Large with Closure Tools
Why Stack Overflow recommends it
Stack Overflow users link it when answering questions about what Google Closure offers over jQuery, where to find real-world Closure usage, and how to read Closure Compiler output.
Recommended by 2 people across 2 different months, 2010 to 2013.
What it is
A Google I/O 2011 conference talk by Michael Bolin, author of Closure: The Definitive Guide, on building very large JavaScript applications with Google's Closure Tools (Library, Compiler, Templates). It draws on how Gmail and Google Maps are built, and includes a look at compiled Closure output.
What people said
Recommends Evgeny · 2010-02 · Stack Overflow · on “What does Google Closure Library offer over jQuery?”
Edit : take a look at this youtube video [this video] it may answer some questions about Google Closure better. Probably the best sources of information on google closure are project discussion group [LINK] , wiki, doc pages, demos and a yet unfinished book by Michael Bolin [LINK] that is now available from safari books site. one thing I can tell right away - there is a steeper learning curve for closure vs jQuery but it may be well worth it due to the library's vastness, clear organization and the benefit of using it together with the compiler and the templating tool. closure library in that respect is more like dojo than jQuery , and some concepts were borrowed from dojo , according to Michael
Recommends raju-bitter · 2012-08 · Stack Overflow · on “Examples of Google Closure apps outside of google?”
Michael Bolin - the author of "Closure: The Definitive Guide" - did a presentation at Google I/O 2011 called "JavaScript Programming in the Large with Closure". The recording can be found on Youtube [this video]
Cites rodrigo-silveira · 2013-08 · Stack Overflow · on “What does Math.random() do in this JavaScript snippet?”
I'm watching this Google I/O presentation from 2011 [this video] At minute 39:31, Michael shows the output of the closure compiler, which looks like the code included below. My question is what exactly is this code doing (how and why) // Question #1 - floor & random? 2147483648? Math.floor(Math.random() * 2147483648).toString(36); var b = /&/g, c = /</g,d=/>/g, e = /\"/g, f = /[&<>\"]/; // Question #2 - sanitizing input, I get it... // but f.test(a) && ([replaces]) ? function g(a) { a = String(a); f.test(a) && ( a.indexOf("&") != -1 && (a = a.replace(b, "&")), a.indexOf("<") != -1 && (a = a.replace(c, "<")), a.indexOf(">") != -1 && (a = a.replace(d, ">")), a.indexOf('"') != -1 && (a = a