【原书链接】 http://www.amazon.com/DOM-Scripting-Design-JavaScript-Document/dp/1590595335/sr=11-1/qid=1164349980/ref=sr_11_1/103-4901794-2076652 【原书评内容】 Turns you into a JavaScript surgeon, March 21, 2007 Reviewer: Craig Cecil 'Professional Software Engineering' (Baltimore, MD USA) JavaScript is like a scalpel--in the wrong hands, it can lead to disaster; in the hands of a skilled surgeon, it is a powerful tool. In Jeremy Keiths DOM Scripting, the guiding principle throughout is to turn you into that surgeon. The book opens by putting JavaScript into historical perspective, then follows that with the basics of the JavaScript language and the Document Object Model (DOM). From those basics, Keith layers and weaves best practices such as standards support, progressive enhancement, graceful degradation, and accessibility, all while slowly building components that reach a final crescendo in a complete website example. (Heres a hint: if your web pages have any in-line JavaScript code or handlers such as , youre doing things wrong.) If youre looking for in-depth Ajax material here, look elsewhere. This book is all about doing JavaScript correctly--so you wont cut yourself later
【翻译书评】 JavaScript就像一把手术刀——在不恰当的人手里,它可能会带来灾难,但在熟练的外科医生手里,它就是一个强大工具。在Jeremy Keith的DOM编程这本书里面,贯穿始终的指导思想是要让你成为这样的外科医生。这本书开头首先回顾了一下JavaScript的历史,接着介绍了JavaScript语言和文档对象模型(DOM)的基础知识。利用这些知识,Keith通过逐步开发组件,最终实现了一个完整的网站实例,同时也展示了最佳的实践技巧,例如支持标准,渐进式改进,平稳的性能退化,可访问性。(下面是一个例子:如果你的网页里面使用了内嵌的JavaScript代码或者处理程序,那么你就把事情弄糟了。)如果你正在寻找一些深入介绍Ajax的资料,那么请到别处去找。这本书只关注于如何正确地使用JavaScript,以免你日后会伤到自己。
|