資源描述:
《You Don't Know JS- Async & Performance(中)》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、www.it-ebooks.infoTableofContents1.Introduction2.Preface3.Foreword4.TableofContent5.Chapter01:Asynchrony:Now&Later6.Chapter02:Callbacks7.Chapter03:Promises8.Chapter04:Generators9.Chapter05:ProgramPerformance10.Chapter06:Benchmarking&Tuning11.AppendixA:`a
2、synquence`Library12.AppendixB:AdvancedAsyncPatterns13.AppendixC:Acknowledgmentswww.it-ebooks.infoYouDon'tKnowJS:Async&PerformancePurchasedigital/printcopyfromO'ReillyTableofContentsForeword(byJakeArchibald)PrefaceChapter1:Asynchrony:Now&LaterChapter2:Cal
3、lbacksChapter3:PromisesChapter4:GeneratorsChapter5:ProgramPerformanceChapter6:Benchmarking&TuningAppendixA:Library:asynquenceAppendixB:AdvancedAsyncPatternsAppendixC:ThankYou's!www.it-ebooks.infoYouDon'tKnowJSPrefaceI'msureyounoticed,but"JS"inthebookseri
4、estitleisnotanabbreviationforwordsusedtocurseaboutJavaScript,thoughcursingatthelanguage'squirksissomethingwecanprobablyallidentifywith!Fromtheearliestdaysoftheweb,JavaScripthasbeenafoundationaltechnologythatdrivesinteractiveexperiencearoundthecontentweco
5、nsume.Whileflickeringmousetrailsandannoyingpop-uppromptsmaybewhereJavaScriptstarted,nearly2decadeslater,thetechnologyandcapabilityofJavaScripthasgrownmanyordersofmagnitude,andfewdoubtitsimportanceattheheartoftheworld'smostwidelyavailablesoftwareplatform:
6、theweb.Butasalanguage,ithasperpetuallybeenatargetforagreatdealofcriticism,owingpartlytoitsheritagebutevenmoretoitsdesignphilosophy.Eventhenameevokes,asBrendanEichonceputit,"dumbkidbrother"statusnexttoitsmorematureolderbrother"Java".Butthenameismerelyanac
7、cidentofpoliticsandmarketing.Thetwolanguagesarevastlydifferentinmanyimportantways."JavaScript"isasrelatedto"Java"as"Carnival"isto"Car".BecauseJavaScriptborrowsconceptsandsyntaxidiomsfromseverallanguages,includingproudC-styleproceduralrootsaswellassubtle,
8、lessobviousScheme/Lisp-stylefunctionalroots,itisexceedinglyapproachabletoabroadaudienceofdevelopers,eventhosewithjustlittletonoprogrammingexperience.The"HelloWorld"ofJavaScriptissosimplethatthelanguageisinvitingandeasytoge