Stoyan Stefanov is a Yahoo! web developer, book author (Object-Oriented JavaScript), book contributor (Even Faster Web Sites, High Performance JavaScript), and technical reviewer (JavaScript: The Good Parts, PHP Mashups). He speaks regularly about JavaScript, PHP, and other web development topics at conferences and on his blog (http://www.phpied.com). Stoyan is the creator of the smush.it image optimization tool and architect of Yahoo's performance optimization tool YSlow 2.0.
What's the best approach for developing an application with JavaScript? This book helps you answer that question with numerous JavaScript coding patterns and best practices. If you're an experienced developer looking to solve problems related to objects, functions, inheritance, and other language-specific categories, the abstractions and code templates in this guide are ideal -- whether you're writing a client-side, server-side, or desktop application with JavaScript. Written by JavaScript expert Stoyan Stefanov -- Senior Yahoo! Technical and architect of YSlow 2.0, the web page performance optimization tool -- JavaScript Patterns includes practical advice for implementing each pattern discussed, along with several hands-on examples. You'll also learn about anti-patterns: common programming approaches that cause more problems than they solve. Explore useful habits for writing high-quality JavaScript code, such as avoiding globals, using single var declarations, and more Learn why literal notation patterns are simpler alternatives to constructor functions Discover different ways to define a function in JavaScript Create objects that go beyond the basic patterns of using object literals and constructor functions Learn the options available for code reuse and inheritance in JavaScript Study sample JavaScript approaches to common design patterns such as Singleton, Factory, Decorator, and more Examine patterns that apply specifically to the client-side browser environment
發表於2024-05-20
JavaScript Patterns 2024 pdf epub mobi 電子書 下載
https://github.com/jayli/javascript.patterns 本書中文版在這裏,翻譯進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行...
評分https://github.com/jayli/javascript.patterns 本書中文版在這裏,翻譯進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行中,進行...
評分本書確實不錯,讓我重新學習瞭一遍設計模式,以前還真的沒有注意過這方麵可以重用。 雖然,本書中間有些許翻譯不準確的地方,不過,從外文到中文似乎總有一些問題,除非拋開原著。 從整體上來說,本書還是閱讀很流利的,推薦大傢閱讀。
評分相當給力。從封裝到麵嚮對象,再到設計模式,最後性能優化。這本書做為入門後提高是不錯的選擇。 討厭的輸入限製。 討厭的輸入限製。 討厭的輸入限製。 討厭的輸入限製。 討厭的輸入限製。 討厭的輸入限製。 討厭的輸入限製。 討厭的輸入限製。 討厭的輸入限製。 討厭的輸入限...
評分最近正在復習這本書,滿眼的乾貨,實在。 當初是看完object-oriented javascript這本書之後接著看瞭這本,兩本書真是一脈相承,但是這本更少涉及基礎,強調實戰提升,多是建立在js語言獨有特性上的pattern的總結分析,什麼代碼規範啦,設計模式啦,都有涉及。 還有很多一般注...
圖書標籤: javascript JavaScript 設計模式 前端開發 編程 O'Reilly pattern Programming
var obj = {}
評分什麼都叫pattern ,問題是都是基礎語法,換個pattern就來騙錢嗎? 倒是真有一個章節用js來實現瞭一些四人幫的design pattern。
評分For more experienced developers/javascript developers.
評分It is a only book to tell me the detail about object patterns and the difference between each one.
評分對function和object的討論相當精闢。吐點槽,最後兩章雞肋瞭啊!js談design pattern? 用oo的思路思考js等於正常人非要學結巴說話。dom patterns? 這就是應該jquery這種library搞定的煩心事。
JavaScript Patterns 2024 pdf epub mobi 電子書 下載