Dustin Diaz is a user interface engineer who enjoys writing JavaScript, CSS, and HTML, as well as making interactive and usable interfaces to create passionate users.
Ross Harmes works as a frontend engineer in Sunnyvale, California, where he creates modular and reusable JavaScript components for Yahoo! Small Business.
As a web developer, you’ll already know that JavaScript™ is a powerful language, allowing you to add an impressive array of dynamic functionality to otherwise static web sites. But there is more power waiting to be unlocked--JavaScript is capable of full object-oriented capabilities, and by applying OOP principles, best practices, and design patterns to your code, you can make it more powerful, more efficient, and easier to work with alone or as part of a team.
With Pro JavaScript Design Patterns, you’ll start with the basics of object-oriented programming in JavaScript applicable to design patterns, including making JavaScript more expressive, inheritance, encapsulation, information hiding, and more. With that covered, you can kick-start your JavaScript development in the second part of the book, where you’ll find detail on how to implement and take advantage of several design patterns in JavaScript, including composites, decorators, façades, adapters, and many more.
Each chapter is packed with real-world examples of how the design patterns are best used and expert advice on writing better code, as well as what to watch out for. Along the way you’ll discover how to create your own libraries and APIs for even more efficient coding.
* Master the basics of object-oriented programming in JavaScript, as they apply to design patterns.
* Apply design patterns to your kick-start your JavaScript development.
* Work through several real-world examples.
發表於2024-10-31
Pro JavaScript Design Patterns 2024 pdf epub mobi 電子書 下載
JS再怎樣也是“基於對象”,不是真正的“麵嚮對象”,看這本書我還不如去研究Microsoft Ajax Library和jQuery瞭。。。要說設計模式,我建議還是多看看C#和Java方麵的吧,這本書涉及的設計模式內容也比較少 JS這種基於原型鏈的動態類型語言,要模仿麵嚮對象真的比較煩瑣,而且顯...
評分書的內容很好 但是,翻譯質量不敢恭維,很多地方讀起來很生硬,更糟糕的是,專有名詞都翻譯不當,比如將mixin class翻譯成 "摻元類",singleton翻譯成"單體",private翻譯成"私用"... 很多地方我都需要翻翻原版纔能弄明白書中的意思
評分 評分目前隻讀完第二章(interfaces),感覺有如芒刺在喉... 說實話,動態語言沒有內置interface是有道理的,但是自己動手造齣一個來,就為瞭去匹配各種模式的"形"?我認為有待商榷. 我不主張用js構造齣不必要的構件去迎閤pattern的"形",而是要去學習其"神",隨著閱讀繼續,隻期望書中的例子...
評分目前隻讀完第二章(interfaces),感覺有如芒刺在喉... 說實話,動態語言沒有內置interface是有道理的,但是自己動手造齣一個來,就為瞭去匹配各種模式的"形"?我認為有待商榷. 我不主張用js構造齣不必要的構件去迎閤pattern的"形",而是要去學習其"神",隨著閱讀繼續,隻期望書中的例子...
圖書標籤: javascript 設計模式 JavaScript web design 技術 模式 programming
1.深入理解JS OOP。 2.js的DRY
評分好書~
評分印象最深的是鴨子定律和mixin模式。
評分看到過的OOP最好實現的一本書,講的很詳細,層層深入,至於設計模式,個人感覺從JS入手不是件好事,除非本來就對設計模式化有很深的理解,不過本書還是很值得一看的,會學到很多東西,目前感覺講的最好的兩本javascript書之一,另一本是周愛民的大作,及其推薦。
評分印象最深的是鴨子定律和mixin模式。
Pro JavaScript Design Patterns 2024 pdf epub mobi 電子書 下載