{"id":278,"date":"2009-05-15T06:51:14","date_gmt":"2009-05-15T06:51:14","guid":{"rendered":"http:\/\/kubasek.com\/blog\/pragmatic_craftsman\/?p=278"},"modified":"2009-05-15T06:51:14","modified_gmt":"2009-05-15T06:51:14","slug":"dom-scripting","status":"publish","type":"post","link":"https:\/\/pragmaticcraftsman.kubasek.com\/?p=278","title":{"rendered":"DOM Scripting"},"content":{"rendered":"<p><?php addBook(\"DOM Scripting\", \"Jeremy Keith\", \"\",\"\",\"\", \/*pic-location*\/ \"http:\/\/farm3.static.flickr.com\/2373\/3532621685_1458690d53.jpg?v=0\", \/*isbn*\/ \"1-59059-533-5\", \/*date-read*\/ \"5\/2009\", \/* stars -- number*\/ \"3\"   ); ?><\/p>\n<p>I believe in doing things the right way. So does the author of this book. In this regard, this is a great book: You learn what the right way is.<\/p>\n<p><strong>Not for hard-core developers.<\/strong> The intended audience is web designers. I second that. This book is also an excellent choice if you&#8217;re just thinking whether web-development with JavaScript is for you. Or if you want to read about web-development&#8217;s best practices (read chapter 5). It is not thorough and does not cover the advanced topics, like OO programming, etc.<\/p>\n<p><strong>Doing things right. <\/strong>And how to get there. This the nicest feature about this book. Slowly, sometimes first showing the bad approach and then refactoring to a more best-practices oriented solution. Nicely done. I wish more beginning books had an approach like this.<\/p>\n<p><strong>Separation of concerns<\/strong>: Separation of layers. My main objective for reading this book was so I learn more about the best practices. I did not learn anything new, but reading about the best practices again is a nice refresher. Separating structure, presentation, and behavior is the most important best practice when doing web development. The author does a good job explaining and really diving into this concept.<\/p>\n<p>To say it once more, <strong>HTML, CSS, and JavaScript should be separate<\/strong>. You&#8217;ll learn that in this book.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I believe in doing things the right way. So does the author of this book. In this regard, this is a great book: You learn what the right way is. Not for hard-core developers. The intended audience is web designers. I second that. This book is also an excellent choice if you&#8217;re just thinking whether [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-books"],"_links":{"self":[{"href":"https:\/\/pragmaticcraftsman.kubasek.com\/index.php?rest_route=\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pragmaticcraftsman.kubasek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pragmaticcraftsman.kubasek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pragmaticcraftsman.kubasek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pragmaticcraftsman.kubasek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=278"}],"version-history":[{"count":0,"href":"https:\/\/pragmaticcraftsman.kubasek.com\/index.php?rest_route=\/wp\/v2\/posts\/278\/revisions"}],"wp:attachment":[{"href":"https:\/\/pragmaticcraftsman.kubasek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pragmaticcraftsman.kubasek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pragmaticcraftsman.kubasek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}