JavaScript權(quán)威指南 第6版

出版時(shí)間:2011-1  出版社:東南大學(xué)出版社  作者:David Flanagan  頁數(shù):1078  
Tag標(biāo)簽:無  

內(nèi)容概要

  本書是一本針對JavaScript語言的核心內(nèi)容以及由瀏覽器定義的客戶端JavaScript應(yīng)用程序編程接口的程序員指南和綜合參考書。
  本書第6版涵蓋了HTML 5和ECMAScript
5。為了介紹當(dāng)今Web開發(fā)的最佳實(shí)踐,很多章節(jié)被完全重寫過。這一版新添加的章節(jié)詳細(xì)講解了jQuery和服務(wù)器端JavaScript編程。
  此書推薦給那些想學(xué)習(xí)Web編程技巧的有經(jīng)驗(yàn)的程序員,以及那些想要精通這門語言的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

章節(jié)摘錄

版權(quán)頁:   插圖:   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權(quán)威指南(影印版)(第6版)(套裝共2冊)》是一本專家級JavaScript程序員的必備參考,結(jié)構(gòu)合理,深入細(xì)節(jié)。涵蓋了HTML5和ECMAScript5。對于所有JavaScript開發(fā)人員都是不可或缺的一本參考書。

名人推薦

從1996年起,《JavaScript權(quán)威指南》就一直是JavaScript程序員的圣經(jīng)。盡管已經(jīng)印刷了五十多萬冊,網(wǎng)絡(luò)開發(fā)人員仍然對本書贊不絕口: “一本專家級JavaScript程序員的必備參考……結(jié)構(gòu)合理,深入細(xì)節(jié)?!?——Brendan Eich JavaScript的發(fā)明人,Mozilla首席技術(shù)官 “從《JavaScript權(quán)威指南》中學(xué)到的東西讓我開創(chuàng)了自己的事業(yè)?!?——Andrew Hedges Tapulous “《JavaScript權(quán)威指南》教給了我JavaScript?!?——Tbm Robinson 280 North共同創(chuàng)始人,Cappuccino共同發(fā)明人 “我知道JavaScript的哪些部分比較重要,從我那本《JavaScript權(quán)威指南》的書脊上某一區(qū)域的發(fā)皺程度就可以分辨出來?!?——J.Chris Anderson CouchBase的共同創(chuàng)始人,Apache CouchDB代碼貢獻(xiàn)者, 《CouchDB:The Deftnitive Guide》作者 “……對于所有JavaScript開發(fā)人員都不可或缺的一本參考書。如果我需要了解關(guān)于JavaScript的某個(gè)知識,我相信《JavaScript權(quán)威指南》會為我提供正確的答案。它就是這么棒?!?——Rey Bango 微軟Clien—Web社區(qū)項(xiàng)目經(jīng)理和jQuery團(tuán)隊(duì)成員

圖書封面

圖書標(biāo)簽Tags

評論、評分、閱讀與下載


    JavaScript權(quán)威指南 第6版 PDF格式下載


用戶評論 (總計(jì)36條)

 
 

  •   javascript學(xué)習(xí)必備
  •   介紹JavaScript基礎(chǔ)做好的書
  •   這是我買的第一本JavaScript書,里面的內(nèi)容非常多,但是很好讀懂。在學(xué)校圖書館翻閱過國內(nèi)的一些所謂的Javascript教材,但是感覺不夠系統(tǒng),讓人看完之后還是云里霧里的。所以我就果斷買下了~
  •   其實(shí),網(wǎng)上都有PDF的版本,包括中文版的。但是為了支持正版,還是買了紙質(zhì)的。還有,流利閱讀英文文檔對于一個(gè)程序員來說很重要,因?yàn)楹芏鄸|西沒有中文版的。而且,中文版本,翻譯的錯誤百出,連一個(gè)勘誤表也沒有,坑爹啊?。。?!
  •   本人的英文只是勉強(qiáng)過6級,但是能看懂這本書,看過第5版中文版的就覺得這是必買的書!!!!第六版新增jquery相關(guān)內(nèi)容
  •   這本是影印版,英文的,原汁原味,看起來比翻譯的更有味道。作為第六版更新和添加了一些東西,非超好
  •   好書,影印版的,要啃很長時(shí)間了
  •   此書不看一生遺憾呀!?。?/li>
  •   這書很好,很喜歡!
  •   買書過程愉快。書本身不錯,全面。
  •   給力的國外書,不是混的,要的就是效果,要的就是堅(jiān)定,要的就是很好
  •   苦等淘寶團(tuán)隊(duì)的翻譯至今未出。
  •   電話聯(lián)系了,說是給退換貨,現(xiàn)在開始等相關(guān)人員跟我聯(lián)系呢
  •   相當(dāng)不錯的書,不過全是e文的,看上去很有難度,e文不錯的可以買本參考
  •   發(fā)現(xiàn)英文比譯成漢語之后還容易懂些……-_-
  •   怎么只有上冊,不是說全兩冊嗎?
  •   汗……只給我發(fā)了上冊,坑爹啊……本來書積壓的有點(diǎn)爛,想退貨。果斷退貨……
  •   發(fā)錯了書,就算了,可能是不小心,但是第二次發(fā)的書是皺的,誒!希望以后不要這樣了。
  •   很不錯的書。但買回來發(fā)現(xiàn)是純英文版的,慢慢看吧。
  •   電腦里一直都有pdf版,看得眼睛好累就買了書。印刷字體太小了,看的時(shí)間長了眼睛吃不消。
  •   書破損的很厲害,而且明顯不是快遞過程中造成的,明顯發(fā)貨的時(shí)候就這樣對于這種情況,發(fā)貨的時(shí)候起碼應(yīng)該告知一下吧??!
  •   書質(zhì)量不錯送貨時(shí)間也挺快!本身書的內(nèi)容就不用多說!值得購買和收藏的一本JAVASCRIPT好書!
  •   對得起它的名字:THE DEFINITIVE。
  •   內(nèi)容非常喜歡,原版英文的內(nèi)容非常給力,只是書來的時(shí)候,上冊真不像是新書,外皮根本就很舊,第一次在亞馬遜買到不是新品的東西,但是也沒精力去折騰了,因?yàn)榧毙鑳?nèi)容所以就算了,還好里面的內(nèi)容紙張還不錯,干凈并且有厚度,這點(diǎn)還算不錯。
  •   原書書的內(nèi)容非常好,翻譯的也還可以,但書的印刷質(zhì)量太差了,油墨是一摸一手黑,弄得頁面也到處是黑指印,在印刷技術(shù)如此高的今天,有這樣的印刷真是出版社界的恥辱,真是愧對了作者和讀者。
  •   書的紙張相當(dāng)不錯JS入門必備工具書推薦!
  •   發(fā)貨速度還行,到貨速度也不錯。書到了的時(shí)候有些壓痕,估計(jì)是物流暴力分揀所致。很厚的一本700多頁。拿著也挺重。想鍛煉英語,所以選了這本。希望能有點(diǎn)幫助吧。
  •   包裝神馬的都不錯,紙質(zhì)手感很好,細(xì)細(xì)看看
  •   書寫得很好,對學(xué)習(xí)js有很大的幫助。質(zhì)量也相當(dāng)不錯。
  •   o my good! 竟然是英文的!質(zhì)量還可以,閱讀有困難?。?/li>
  •   厚厚的2本,啃完肯定能改變你的編寫代碼的習(xí)慣,提高效率。神殿級的javascript寶典~
  •   速度收貨
  •   作為送給團(tuán)隊(duì)成員的生日禮物很合適
  •   經(jīng)典犀牛書
  •   這才是真正的權(quán)威
  •   物美價(jià)廉,無破損
 

250萬本中文圖書簡介、評論、評分,PDF格式免費(fèi)下載。 第一圖書網(wǎng) 手機(jī)版

京ICP備13047387號-7