Monday, October 28, 2013

Today I am making Appendix B of my book available for free online

Today I am making one of the appendices of my book available for free: Appendix B: Frequently Misunderstood JavaScript Concepts. You might expect that appendices are just extra junk that authors stick at the end of the book to up their page count, like reference material that is readily available online. And if that were the case, this would be an uncharitable and worthless thing to do.

As it turns out, many have told me that Appendix B has been the most valuable part of the book for them, so I assure you that I am not releasing the "dregs" of the text. Unsurprisingly, many many more folks are interested in JavaScript in general than are interested in Closure Tools, which is presumably why this appendix has been a favorite.

Because the manuscript was written in DocBook XML, it was fairly easy to programmatically translate the XML into HTML. For some reason, I do not have a copy of the figure from Appendix B that appears in the book, so I had to recreate it myself. Lacking real diagramming tools at the time, I created the original illustration using Google Docs. It took several rounds with the illustrator at O'Reilly to get it reproduced correctly for my book. Since I was too embarrassed to include the Google Docs version in this "HTML reprint," I redid it using Omnigraffle, which I think we can all agree looks much better.

In some ways, the HTML version is better than the print or ebook versions in that (1) the code samples are syntax highlighted, and (2) it is possible to hyperlink to individual sections. Depending on how this is received, I may make more chunks of the book available in the future. As I mentioned, the script to convert the XML to HTML is already written, though it does contain some one-off fixes that would need to be generalized to make it reusable for the other chapters.

If you want to read the rest of Closure: The Definitive Guide (O'Reilly), you can find it on Amazon and other web sites that sell dead trees.

12 comments:

  1. If there ends up being any demand for it, I'd be happy to help out with making the editor chapter available too!

    ReplyDelete
  2. That was a very nice gesture, Michael. :-)

    ReplyDelete
  3. This excellent website really has all the information and facts
    khách sạn Hà Tĩnh
    khách sạn Sapa

    ReplyDelete
  4. 192.168.1.1 is a private IP address used to login the admin panel of a router. 192.168.l.l is pre-specified by the router companies as the default gateway address and can be used to make different changes to the router’s settings. 192.168.0.1

    ReplyDelete
  5. I am really happy to say it’s an interesting post to read. I learn new information from your article, you are doing a great job. Climbing mountains is an adventurous sport I also want to try this but cannot afford a training instructor. With this blog I think now I can fullfil my dream. I like to share a site that also help people for select Different Biology biologyresearchtopics.com Research Topics for there projects or homework.

    ReplyDelete
  6. WONDERFUL POST, IT REALLY HELPFUL TO ME. THANK YOU!
    고스톱

    ReplyDelete
  7. READING THIS ARTICLE IS SO AMZING, THERE IS SUCH A GREAT INFORMATION THAT I WAS LOOKING FOR.
    안전놀이터

    ReplyDelete
  8. VERY INTERESTING, I WISH TO SEE MUCH MORE LIKE THIS. THANK YOU FOR SHARING THIS KIND OF INFORMATION!
    성인웹툰

    ReplyDelete
  9. HI, EXCELLENT BLOG. THIS IS HELPFUL FACTS TO US, KEEP IT UP.
    HAVE A GREAT DAY!
    토토사이트

    ReplyDelete
  10. You may anticipate that appendices are simply greater junk that authors stick on the give up of the e-book to up their web page rely, like reference material this is without difficulty to be had on-line. If the essay is ready a specific event or dwells on the contents of a certain e-book, the irritating forms aashikaexporttraininginstitute.com have to be both present or past. Once the choice is made, it's far vital to paste to it.

    ReplyDelete
  11. I can say that a picky teacher is hard, I have writing a care plan where they do any written work, thanks to which I get good grades and it’s not difficult for me to study perfectly because they help me

    ReplyDelete