Book on Closure (aka shameless self-promotion)

22 views
Skip to first unread message

bolinfest

unread,
Jan 27, 2010, 8:13:29 PM1/27/10
to Closure Library Discuss
Today a partial draft of my book, Closure: The Definitive Guide, was
made available via O'Reilly Rough Cuts:

http://blog.bolinfest.com/2010/01/im-semi-published-author-closure.html

It's only a partial draft because I'm not done writing yet :) There is
a lot of information in there on the Library, much of which is not
captured in any public documentation provided by Google. To be honest,
I'm not sure if there is _private_ documentation on this level of
detail, so if you've been struggling to grok the Closure Library, I
hope this helps you out!

Cheers,
Michael

salbertson

unread,
Feb 1, 2010, 2:56:35 PM2/1/10
to Closure Library Discuss
Thanks Michael, I got a Safari account and downloaded the book. Do you
have any idea how often updates will be added?

bolinfest

unread,
Feb 1, 2010, 7:41:53 PM2/1/10
to Closure Library Discuss
Hi, Thanks for downloading!

The request from the staff at O'Reilly is that updates are sizable
chunks, usually a few chapters at a time. I'm currently working on
information on the Compiler (Chapters 11-13), though 11 is just about
done. I think it will take me a month and a half to finish to finish
drafting all three chapters, though I expect that to total at least 80
pages of content, so perhaps an update sooner than that will be
merited.

Cheers,
Michael

salbertson

unread,
Feb 1, 2010, 8:12:05 PM2/1/10
to Closure Library Discuss
I am looking forward to chapter 7, "Client-Server Communication". Any
chance that will come out any time soon?

Gytis

unread,
Feb 2, 2010, 5:04:58 AM2/2/10
to Closure Library Discuss
Hi salbertson,

could you tell more about the book? Does it cover the basics only, or
is it more in-depth and digs into advanced features? I'm really
curious about it, and would like to buy it, but if it does the basics
only, which i can dig out my self, in a couple of evenings, id don't
want to spend money on that :)

bolinfest

unread,
Feb 2, 2010, 8:31:10 PM2/2/10
to Closure Library Discuss
I'll be honest, I'm going to come back to that chapter a after I
finish the compiler stuff for a few reasons. First, I think the
compiler information will benefit more people right now. Second, I
have some other ex-Googler friends who are working with the browser
channel stuff more extensively than I ever have, so I'm waiting to
pick their brains for best practices once they're done experimenting.
Third, after writing six chapters on the Library, I needed to switch
things up a little for a little while.

I assume you have already read Google's cookbook entry on XhrIo:
http://code.google.com/closure/library/docs/xhrio.html

What sort of information are you looking for?

bolinfest

unread,
Feb 6, 2010, 4:07:58 PM2/6/10
to Closure Library Discuss
Hi Gytis, I'm sure you're more interested in salbertson's response so
he can give you a more honest answer, but my goal is to cover
everything from the basics to advanced topics (it is, after all, a
Definitive Guide). I've also been trying to include information on why
things are designed the way the are in Closure, along with best
practices. This should help you get the most out of the suite.

For what it's worth, when I worked at Google, I used Closure to help
build Google Calendar and Google Tasks, and I also wrote the UI for
the Closure Compiler Service, so I like to think I have a fair bit of
Closure knowledge to impart :)

Evgeny

unread,
Feb 18, 2010, 4:16:42 PM2/18/10
to Closure Library Discuss
Michael, what happened with the book?

Do you accept cash?

Thanks.
Evgeny.

Evgeny

unread,
Feb 18, 2010, 4:52:45 PM2/18/10
to Closure Library Discuss
sorry, should have been more clear - the link to Safari appears to be
broken.

Evgeny.

Nathan Naze

unread,
Feb 18, 2010, 6:33:44 PM2/18/10
to closure-lib...@googlegroups.com
You should be able to see the rough cut version here:
http://my.safaribooksonline.com/9781449381882

Note that it's part of O'Reilly's Rough Cuts program and does not yet
exist in print. For the same reason, one can only buy in on the site,
presumably not with cash.

Nathan

Evgeny

unread,
Feb 24, 2010, 5:20:20 PM2/24/10
to Closure Library Discuss
the link does not work for me. I get "page not found" error when
accessing from UC Ivine network.

> >> > > could you tell more about thebook? Does it cover the basics only, or


> >> > > is it more in-depth and digs into advanced features? I'm really
> >> > > curious about it, and would like to buy it, but if it does the basics
> >> > > only, which i can dig out my self, in a couple of evenings, id don't
> >> > > want to spend money on that :)
>
> >> > > On 1 Vas, 21:56, salbertson <scott.o...@gmail.com> wrote:
>

> >> > > > Thanks Michael, I got a Safari account and downloaded thebook. Do you


> >> > > > have any idea how often updates will be added?
>
> >> > > > On Jan 27, 5:13 pm, bolinfest <bolinf...@gmail.com> wrote:
>

> >> > > > > Today a partial draft of mybook, Closure: The Definitive Guide, was

bolinfest

unread,
Feb 24, 2010, 7:11:34 PM2/24/10
to Closure Library Discuss
Unfortunately, you are not the only person to hit this issue (though I
have been unable to reproduce it myself), and I spoke to the O'Reilly
folks, and they have no idea what is going on, either. Certainly if
you do a search for it (http://www.google.com/search?q=closure
+definitive+guide) the URL in question is the first result and works
just fine for me.

Maybe your university has some funny account setup with O'Reilly's
safarionline? As in, maybe students get free access to some things,
but not others which is causing the link to fail?

Evgeny

unread,
Feb 24, 2010, 7:41:50 PM2/24/10
to Closure Library Discuss
I've spoken to the library folks and they've suggested it is a problem
with the book re-seller the website.

not only we cannot access the book through the university network, it
is impossible to even register a commercial personal account from our
network.

Tonight I am driving to the neighbor town to order a book online :).
First time experience.

Cheers and please keep writing.

Evgeny.

Nathan Naze

unread,
Feb 24, 2010, 7:44:21 PM2/24/10
to closure-lib...@googlegroups.com
> Tonight I am driving to the neighbor town to order a book online :).
> First time experience.

Don't -- the book isn't in print. It's online only while Michael
continues to write it.

Try proxying through something outside the university network -- or
some other internet connection, like a coffee shop.

Nathan

deepu

unread,
Feb 27, 2010, 1:08:00 AM2/27/10
to Closure Library Discuss
I just bought this book from Safari online and i loved what i read
till now.

The Author did a great job of explaining why closure was designed the
way it was and how to make best use of it.

The only problem is it stops at the exact point where things start to
get interesting. Desperately waiting for the next 3 chapters.

Cheers,
Deepu.

On Feb 25, 5:44 am, Nathan Naze <nn...@google.com> wrote:
> > Tonight I am driving to the neighbor town to order abookonline :).
> > First time experience.
>
> Don't -- thebookisn't in print.  It's online only while Michael

bolinfest

unread,
Mar 3, 2010, 6:00:40 PM3/3/10
to Closure Library Discuss
Hi Deepu, I have good news and bad news for you. The good news is that
another 80pp of content were released today:

http://blog.bolinfest.com/2010/03/update-to-closure-definitive-guide.html

The bad news [for you] is that they are on the Closure Compiler.

I started working on the chapter on UI Components this week, though.

Evgeny

unread,
Mar 5, 2010, 7:48:28 PM3/5/10
to Closure Library Discuss
Michael, you mention on your blog that it's best to give feedback at
the O'Reiley site,
but it does not work for the reason that has already been discussed.

on p.124 a function mail.Message seems to be missing a parameter
if I understand it correctly

Evgeny.


On Mar 3, 3:00 pm, bolinfest <bolinf...@gmail.com> wrote:
> Hi Deepu, I have good news and bad news for you. The good news is that
> another 80pp of content were released today:
>

> http://blog.bolinfest.com/2010/03/update-to-closure-definitive-guide....

bolinfest

unread,
Mar 7, 2010, 12:19:06 PM3/7/10
to Closure Library Discuss
To be clear, does it not work if you are on a (university?) network
that interferes with my.safaribooks.com or does it not work for anyone
at all? I think it's the former, which should affect a small number of
users, though I am sorry that you are part of that minority!
Reply all
Reply to author
Forward
0 new messages