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. 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
  5. HI, EXCELLENT BLOG. THIS IS HELPFUL FACTS TO US, KEEP IT UP.
    HAVE A GREAT DAY!
    토토사이트

    ReplyDelete
  6. 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
  7. 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
  8. FluxBB is fast light user friendly forum software for your website FluxBB is designed as a lighter faster alternative to some of the traditional feature heavy forum applications for the further information go to the given link funny classification essay topics A classification essay is one where your job is to classify or divide different events or people or subjects into groups based on a similar principle.

    ReplyDelete
  9. 777tha สล็อต สล็อตเว็บไซต์ตรงซึ่งสามารถเข้าเล่นได้โดยทันทีโดยไม่ต้องผ่านเอเย่นต์หรือผู้แทนทั้งได้โอกาสรับ pg slot โปรโมชั่นและก็สิทธิประโยชน์ที่มากมายในแต่ละครั้งที่เข้ามาเล่นเกม

    ReplyDelete
  10. ufa pg slot club สามารถเล่นบันเทิงใจเล่นเพลิดเพลิน เล่นได้ทุกแห่งตลอดเวลา บวกกับกระบวนการทำรายได้จริงสามารถเบิกเงินรางวัล pgslot  เกมออกมาได้ ถอนจากระบบเว็บไปสู่บัญชีธนาคา

    ReplyDelete
  11. Pg Slot Pacman พบกับการเล่นสุดล้ำยุคที่ยกขบวนมาด้วยตัวเกมน่ารักน่าชัง PG SLOT การเล่นที่แปลกแปลกทันยุคทันสมัย แม้กระนั้นการแจกรางวัลกับไม่แปลกเลย เพราะว่ามีรางวัลให้เหมือนกับจริง

    ReplyDelete