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.
我个人认为这个本比较适合有基础的人去学习,必须有一定的设计经验和C或者C++底层基础,如果不能从内存和语言机制角度去理解,学起来会比较吃力。如果有编译原理的基础更好。个人觉得javascript 的设计机制有违直觉,如果不能从内存角度去分析问题,对于这本书来说会觉得压力山大
评分我个人认为这个本比较适合有基础的人去学习,必须有一定的设计经验和C或者C++底层基础,如果不能从内存和语言机制角度去理解,学起来会比较吃力。如果有编译原理的基础更好。个人觉得javascript 的设计机制有违直觉,如果不能从内存角度去分析问题,对于这本书来说会觉得压力山大
评分目前只读完第二章(interfaces),感觉有如芒刺在喉... 说实话,动态语言没有内置interface是有道理的,但是自己动手造出一个来,就为了去匹配各种模式的"形"?我认为有待商榷. 我不主张用js构造出不必要的构件去迎合pattern的"形",而是要去学习其"神",随着阅读继续,只期望书中的例子...
评分JS再怎样也是“基于对象”,不是真正的“面向对象”,看这本书我还不如去研究Microsoft Ajax Library和jQuery了。。。要说设计模式,我建议还是多看看C#和Java方面的吧,这本书涉及的设计模式内容也比较少 JS这种基于原型链的动态类型语言,要模仿面向对象真的比较烦琐,而且显...
评分书还行。不过光看书自学觉得挺累的,有些操作,好多遍都搞不明白。我找了一个猎豹网校,上面都是这类IT课程,看着视频,有老师教,学起来更容易些。不懂还可以随时请教的,觉得还不错。
好书~
评分印象最深的是鸭子定律和mixin模式。
评分不管是语言特性和设计模式都讲解得深入。的确是Pro
评分看到过的OOP最好实现的一本书,讲的很详细,层层深入,至于设计模式,个人感觉从JS入手不是件好事,除非本来就对设计模式化有很深的理解,不过本书还是很值得一看的,会学到很多东西,目前感觉讲的最好的两本javascript书之一,另一本是周爱民的大作,及其推荐。
评分看到过的OOP最好实现的一本书,讲的很详细,层层深入,至于设计模式,个人感觉从JS入手不是件好事,除非本来就对设计模式化有很深的理解,不过本书还是很值得一看的,会学到很多东西,目前感觉讲的最好的两本javascript书之一,另一本是周爱民的大作,及其推荐。
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有