大家论坛

 找回密码
 注册
查看: 2696|回复: 6

[分享] [Apress] Pro JavaScript Design Patterns [复制链接]

Rank: 15Rank: 15Rank: 15

积分
1218
帖子
364
精华
18
经验
668 点
威望
24 点
金币
440
发表于 2008-2-22 13:44:00 |显示全部楼层

Pro JavaScript Design Patterns

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.

What you’ll learn

  • How to apply object–oriented programming techniques in JavaScript
  • How to take advantage of inheritance, interfaces, and encapsulation and information hiding to kick–start your JavaScript development
  • How to implement several design patterns in your JavaScript projects, including factory, façade, bridge, composite, adapter, decorator, flyweight, proxy, command, observer, and chain of responsibility
  • How to make your code easier to manage in a team environment, as well as on your own
  • How to create your own libraries and APIs

Who is this book for?

This book will be an invaluable learning tool for any experienced JavaScript developer.

附件: 你需要登录才可以下载或查看附件。没有帐号?注册

使用道具 举报

Rank: 26Rank: 26Rank: 26Rank: 26Rank: 26Rank: 26

积分
26271
帖子
6751
精华
1
经验
19500 点
威望
0 点
金币
19457
发表于 2008-2-23 11:22:00 |显示全部楼层

介个是要顶滴

使用道具 举报

Rank: 10Rank: 10

积分
477
帖子
207
精华
3
经验
238 点
威望
0 点
金币
188
发表于 2008-2-23 14:21:00 |显示全部楼层

javascript也有设计模式

倒是看看

使用道具 举报

Rank: 2Rank: 2

积分
17
帖子
3
精华
0
经验
13 点
威望
0 点
金币
25
发表于 2010-7-23 15:09:42 |显示全部楼层
,不容易啊,终于找到一份可以看的

使用道具 举报

Rank: 2Rank: 2

积分
46
帖子
23
精华
0
经验
23 点
威望
0 点
金币
23
发表于 2010-7-25 01:11:59 |显示全部楼层
按"Ctrl+Enter"直接提交

使用道具 举报

Rank: 5Rank: 5Rank: 5

积分
163
帖子
9
精华
0
经验
133 点
威望
6 点
金币
79
发表于 2010-11-5 07:26:11 |显示全部楼层
??????????????????

使用道具 举报

Rank: 3

积分
59
帖子
7
精华
0
经验
49 点
威望
0 点
金币
22
发表于 2011-8-19 16:05:56 |显示全部楼层
Thanks for share

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版|Archiver|大家网 ( 京ICP备06071611号 )  

GMT+8, 2012-2-11 07:21 , Processed in 0.123928 second(s), 12 queries , Gzip On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部