资源描述:
《JavaScript.Design.Patterns.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、cyanyelloWmaGenTaBlackpanTone123cBooksforprofessionalsByprofessionals®TheeXperT’sVoice®inWeBDeVelopmenTCompanioneBookAvailableProJavaScript™DesignPatternsProJavaScriptDearReader,Webprogrammingisbecomingmorecomplexandcollaborativeeachday.AnewJavaScript™libraryisbo
2、rneachweek,andwearegettingclosertothetimewhenwebapplicationscanseamlesslyreplacethosefoundonourdesktops.Itisnolongerpossibletodesignthebehaviorofyoursiteshaphazardlywithoutthinkingaboutlong-termsoftwaremaintainability.ProTheJavaScriptlanguagehasmatured.Wehavereac
3、hedapointwheresoft-waredevelopmenttechniquesonceconsideredusefulonlyinlanguagessuch™asJavaandC++arebeingappliedtowebprogramming.Therefore,wefeltthetimehascomeforabookthatexploresobject-orienteddesignprinciplesandappliesthemtotheJavaScriptlanguage.Thetechniquesnee
4、dedtoimplementpatternslikefactory,singleton,observer,composite,andfacadeinJavaScriptareeasilyunderstood,buttheyhavenotpreviouslybeendiscussedindepthinJavaScriptasinglebook.WewantedtoshowprogrammersthatJavaScriptcontainsfeaturesonparwithotherhigh-levellanguagesand
5、isanobject-orientedprogramminglanguageinitsownright.Infact,wewrotethebookthatweourselveshavealwaysDesignPatterns™wantedtoread.Inthisbook,wewillteachyouaboutcommonlyusedsoftwarepatternsfordesigningthecodethatdrivesyourwebsitesandapplications.YouwilllearnDesignPatt
6、ernsobject-orientedJavaScriptprogramming,startingwithroutinetasksandpro-gressingtoadvancedtechniquesandpatterns.WewillhelpyoucreatelibrariesandAPIsthatcanbeusedbyothers,aswellasshowyoutechniquesthatwillhelpyouinteractwithotherJavaScriptprogrammersandworkeffective
7、lyinlargeteams.Mostofall,wewillshowyouhowpowerful,expressive,andflexibletheJavaScriptlanguagecanbe.RossHarmesandDustinDiazTheessentialsofobject-orientedJavaScript™programmingCompanioneBookRelateDtitleSSeelastpagefordetailson$10eBookversionHarmes,SOURCE CODE ONLIN
8、EISBN-13:978-1-59059-908-2RossHarmesandDustinDiazwww.apress.comISBN-10:1-59059-908-XDiaz54499US$44.99ShelveinWebdevelopmentUserlevel:9781590599082Intermediate–