{"id":1050,"date":"2009-02-03T19:46:38","date_gmt":"2009-02-04T03:46:38","guid":{"rendered":"http:\/\/www.alephnaught.com\/Blog\/?p=1050"},"modified":"2009-02-03T19:46:38","modified_gmt":"2009-02-04T03:46:38","slug":"review-of-javascript-performance-rocks","status":"publish","type":"post","link":"https:\/\/www.alephnaught.com\/Blog\/2009\/02\/03\/review-of-javascript-performance-rocks\/","title":{"rendered":"Review of JavaScript Performance Rocks!"},"content":{"rendered":"<div id=\"content_div-1050\">\n<ul>\n<li><strong>Title:<\/strong> <a href=\"http:\/\/javascriptrocks.com\/performance\/\" target=\"_blank\">JavaScript Performance Rocks!<\/a><\/li>\n<li><strong>Author:<\/strong> Thomas Fuchs and Amy Hoy<\/li>\n<\/ul>\n<p>This ebook does rock!\u00c2\u00a0 I&#8217;ve been doing various kinds of web development for years and I learned some useful tricks.<\/p>\n<p>The book is 107 pages organized into 4 sections:<\/p>\n<ol>\n<li>Intro<\/li>\n<li>Loadtime<\/li>\n<li>Runtime<\/li>\n<li>iPhone<\/li>\n<\/ol>\n<p>Each section takes a no-holds-barred approach to the content.<\/p>\n<p>My favorite section was on caching for load time performance; there were some great ideas that I hadn&#8217;t seen before (and need to make time to try out).\u00c2\u00a0 There are lots of small suggestions that can altogether make a big difference &#8211; for example, &#8220;Google offers a bunch of the most popular JavaScript libraries, hosted up gzipped and with good cache settings for your convenience.&#8221;\u00c2\u00a0 I also appreciate the suggestion to minify JavaScript, but not mung it: &#8220;You shouldn&#8217;t minify your JavaScript with any of the tools that add obfuscation, because the client has to decompress it with JavaScript. This can be slow.&#8221;<\/p>\n<p>I also got a lot of value from the Runtime section dealing with JavaScript performance; I found the discussion around event bubbling cool, which is where &#8220;you assign the event to a container element, and nodes inside it do or do not participate in the event as it travels up the chain.&#8221;\u00c2\u00a0 I plan to use some of those tips the next time I need to do a &#8220;Web 2.0&#8221;-kinda thing.\u00c2\u00a0 The weakest section is the one on the iPhone, as its short and incomplete, based on my reading of the content (this is a beta document after all and this section is marked under construction).<\/p>\n<p>There are a lot of links to other references included in the ebook, along with links to the tools the authors recommend for improving JavaScript performance.<\/p>\n<p>You will love the presentation of this ebook &#8211; the fonts are large enough to read easily on a monitor (and for someone my age that matters), and the page size has an aspect ratio that&#8217;s friendly for computer display.\u00c2\u00a0 Many ebooks are just PDFs &#8220;printed&#8221; from a paper-based portrait layout, which makes it hard to read page by page, since Acrobat doesn&#8217;t do continuous scrolling.<\/p>\n<p>I read the book over two days, probably four hours in all; its written in a very fun, easy to read.\u00c2\u00a0 Thanks to the very complete table of contents, its easy to use <a href=\"http:\/\/javascriptrocks.com\/performance\/\" target=\"_blank\">JavaScript Performance Rocks!<\/a> as a reference guide as well.<\/p>\n<p>The book is still in beta, and so some of the trailing sections are still under construction.\u00c2\u00a0 Even given that, I&#8217;m glad I bought a copy, its easily worth the price already IMHO.<\/p>\n<p>And I promise to update this review once the 1.0 version comes out.<\/p>\n<\/div>\n<div class=\"translate_block\" style=\"display: none;\">\n<hr class=\"translate_hr\" \/>\n<a class=\"translate_translate\" id=\"translate_button_post-1050\" lang=\"en\" xml:lang=\"en\" href=\"javascript:show_translate_popup('en', 'post', 1050);\"><span>Translate<\/span><\/a><img data-recalc-dims=\"1\" src=\"https:\/\/i0.wp.com\/www.alephnaught.com\/Blog\/wp-content\/plugins\/google-ajax-translation\/transparent.gif?resize=16%2C16&#038;ssl=1\" id=\"translate_loading_post-1050\" class=\"translate_loading colorbox-1050\" style=\"display: none;\" width=\"16\" height=\"16\" alt=\"\" \/>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Title: JavaScript Performance Rocks! Author: Thomas Fuchs and Amy Hoy This ebook does rock!\u00c2\u00a0 I&#8217;ve been doing various kinds of web development for years and I learned some useful tricks. The book is 107 pages organized into 4 sections: Intro Loadtime Runtime iPhone Each section takes a no-holds-barred approach to the content. My favorite section [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,4],"tags":[462,465,2371,461,464],"class_list":["post-1050","post","type-post","status-publish","format-standard","hentry","category-books","category-computer","tag-amy-hoy","tag-caching","tag-javascript","tag-thomas-fuchs","tag-web-development"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2w3Qj-gW","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/posts\/1050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/comments?post=1050"}],"version-history":[{"count":0,"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/posts\/1050\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/media?parent=1050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/categories?post=1050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alephnaught.com\/Blog\/wp-json\/wp\/v2\/tags?post=1050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}