JavaScript权威指南 第6版

出版时间:2011-1  出版社:东南大学出版社  作者:David Flanagan  页数:1078  
Tag标签:无  

内容概要

  本书是一本针对JavaScript语言的核心内容以及由浏览器定义的客户端JavaScript应用程序编程接口的程序员指南和综合参考书。
  本书第6版涵盖了HTML 5和ECMAScript
5。为了介绍当今Web开发的最佳实践,很多章节被完全重写过。这一版新添加的章节详细讲解了jQuery和服务器端JavaScript编程。
  此书推荐给那些想学习Web编程技巧的有经验的程序员,以及那些想要精通这门语言的JavaScript程序员。

作者简介

作者:(美国)弗拉纳根(David Flanagan)  David Flanagan也是《The Ruby Programming》、《Java in a Nutshell》和《JavaScript Pocket Reference》的作者。

书籍目录

Preface
1.Introduction to JavaScript
Part I.Core JavaScript
2.Lexical Structure
3.Types, Values, and Variables
4.Expressions and Operators
5.Statements
6.Objects
7.Arrays
8.Functions
9.Classes and Modules
10.Pattern Matching with Regular Expressions
11.JavaScript Subsets and Extensions.
12.Server-Side JavaScript.
Part II.Client-Side JavaScript
13.JavaScript in Web Browsers
14.The Window Object,
15.Scripting Documents
16.ScriptingCSS.
17.Handling Events
18.Scripted HTTP,
19.The jquery Library
20.Client-SideStorage.
21.Scripted Media and Graphics
22.HTML5 APIs
PartIII.CoreJavaScript Reference
Core JavaScript Reference
Part IV.Client-Side JavaScript Reference
Client-Side JavaScript Reference
Index

章节摘录

版权页:   插图:   Many classes define more specific versions of the toString() method. The toString() method of the Array class, for example, converts each array element to a string and joins the resulting strings together with commas in between. The toString() method of the Function class returns an implementation-defined representation of a function. In practice, implementations usually convert user-defined functions to strings of Java-Script source code. The Date class defines a toString() method that returns a humanreadable (and JavaScript-parsable) date and time string. The RegExp class defines a toString() method that converts RegExp objects to a string that looks like a RegExp literal:The other object conversion function is called value0f(). The job of this method is less well-defined: it is supposed to convert an, "ject to a primitive value that represents the object, if any such primitive value exists. Objects are compound values, and most objects cannot really be represented by a single primitive value, so the default valueOf() method simply returns the object itself rather than returning a primitive. Wrapper classes define value0f() methods that return the wrapped primitive value. Arrays,functions, and regular expressions simply inherit the default method. Calling valueOf() for instances of these types simply returns the object itself. The Date class defines a valueOf() method that returns the date in its internal representation: the number of milliseconds since January 1, 1970: With the toString() and valueOf() methods explained, we can now cover object-to-string and object-to-number conversions. Do note, however, that there are some special cases in which JavaScript performs a different object-to-primitive conversion. These special cases are covered at the end of this section. To convert an object to a string, JavaScript takes these steps: If the object has a toString() method, JavaScript calls it. If it returns a primitive value, JavaScript converts that value to a string (if it is not already a string) and returns the result of that conversion. Note that primitive-to-string conversions are all well-defined in Table 3-2. If the object has no toString() method, or if that method does not return a primitive value, then JavaScript looks for a valueOf() method. If the method exists, Java-Script calls it. If the return value is a primitive, JavaScript converts that value to a string (if it is not already) and returns the converted value. Otherwise, JavaScript cannot obtain a primitive value from either toString() or valueOf(), so it throws a TypeError.

编辑推荐

《JavaScript权威指南(影印版)(第6版)(套装共2册)》是一本专家级JavaScript程序员的必备参考,结构合理,深入细节。涵盖了HTML5和ECMAScript5。对于所有JavaScript开发人员都是不可或缺的一本参考书。

名人推荐

从1996年起,《JavaScript权威指南》就一直是JavaScript程序员的圣经。尽管已经印刷了五十多万册,网络开发人员仍然对本书赞不绝口: “一本专家级JavaScript程序员的必备参考……结构合理,深入细节。” ——Brendan Eich JavaScript的发明人,Mozilla首席技术官 “从《JavaScript权威指南》中学到的东西让我开创了自己的事业。” ——Andrew Hedges Tapulous “《JavaScript权威指南》教给了我JavaScript。” ——Tbm Robinson 280 North共同创始人,Cappuccino共同发明人 “我知道JavaScript的哪些部分比较重要,从我那本《JavaScript权威指南》的书脊上某一区域的发皱程度就可以分辨出来。” ——J.Chris Anderson CouchBase的共同创始人,Apache CouchDB代码贡献者, 《CouchDB:The Deftnitive Guide》作者 “……对于所有JavaScript开发人员都不可或缺的一本参考书。如果我需要了解关于JavaScript的某个知识,我相信《JavaScript权威指南》会为我提供正确的答案。它就是这么棒。” ——Rey Bango 微软Clien—Web社区项目经理和jQuery团队成员

图书封面

图书标签Tags

评论、评分、阅读与下载


    JavaScript权威指南 第6版 PDF格式下载


用户评论 (总计36条)

 
 

  •   javascript学习必备
  •   介绍JavaScript基础做好的书
  •   这是我买的第一本JavaScript书,里面的内容非常多,但是很好读懂。在学校图书馆翻阅过国内的一些所谓的Javascript教材,但是感觉不够系统,让人看完之后还是云里雾里的。所以我就果断买下了~
  •   其实,网上都有PDF的版本,包括中文版的。但是为了支持正版,还是买了纸质的。还有,流利阅读英文文档对于一个程序员来说很重要,因为很多东西没有中文版的。而且,中文版本,翻译的错误百出,连一个勘误表也没有,坑爹啊!!!!
  •   本人的英文只是勉强过6级,但是能看懂这本书,看过第5版中文版的就觉得这是必买的书!!!!第六版新增jquery相关内容
  •   这本是影印版,英文的,原汁原味,看起来比翻译的更有味道。作为第六版更新和添加了一些东西,非超好
  •   好书,影印版的,要啃很长时间了
  •   此书不看一生遗憾呀!!!
  •   这书很好,很喜欢!
  •   买书过程愉快。书本身不错,全面。
  •   给力的国外书,不是混的,要的就是效果,要的就是坚定,要的就是很好
  •   苦等淘宝团队的翻译至今未出。
  •   电话联系了,说是给退换货,现在开始等相关人员跟我联系呢
  •   相当不错的书,不过全是e文的,看上去很有难度,e文不错的可以买本参考
  •   发现英文比译成汉语之后还容易懂些……-_-
  •   怎么只有上册,不是说全两册吗?
  •   汗……只给我发了上册,坑爹啊……本来书积压的有点烂,想退货。果断退货……
  •   发错了书,就算了,可能是不小心,但是第二次发的书是皱的,诶!希望以后不要这样了。
  •   很不错的书。但买回来发现是纯英文版的,慢慢看吧。
  •   电脑里一直都有pdf版,看得眼睛好累就买了书。印刷字体太小了,看的时间长了眼睛吃不消。
  •   书破损的很厉害,而且明显不是快递过程中造成的,明显发货的时候就这样对于这种情况,发货的时候起码应该告知一下吧!!
  •   书质量不错送货时间也挺快!本身书的内容就不用多说!值得购买和收藏的一本JAVASCRIPT好书!
  •   对得起它的名字:THE DEFINITIVE。
  •   内容非常喜欢,原版英文的内容非常给力,只是书来的时候,上册真不像是新书,外皮根本就很旧,第一次在亚马逊买到不是新品的东西,但是也没精力去折腾了,因为急需内容所以就算了,还好里面的内容纸张还不错,干净并且有厚度,这点还算不错。
  •   原书书的内容非常好,翻译的也还可以,但书的印刷质量太差了,油墨是一摸一手黑,弄得页面也到处是黑指印,在印刷技术如此高的今天,有这样的印刷真是出版社界的耻辱,真是愧对了作者和读者。
  •   书的纸张相当不错JS入门必备工具书推荐!
  •   发货速度还行,到货速度也不错。书到了的时候有些压痕,估计是物流暴力分拣所致。很厚的一本700多页。拿着也挺重。想锻炼英语,所以选了这本。希望能有点帮助吧。
  •   包装神马的都不错,纸质手感很好,细细看看
  •   书写得很好,对学习js有很大的帮助。质量也相当不错。
  •   o my good! 竟然是英文的!质量还可以,阅读有困难啊!
  •   厚厚的2本,啃完肯定能改变你的编写代码的习惯,提高效率。神殿级的javascript宝典~
  •   速度收货
  •   作为送给团队成员的生日礼物很合适
  •   经典犀牛书
  •   这才是真正的权威
  •   物美价廉,无破损
 

250万本中文图书简介、评论、评分,PDF格式免费下载。 第一图书网 手机版

京ICP备13047387号-7