出版社: O'Reilly Media, Inc.
出版年: 2010-09-21
页数: 236
定价: USD 29.99
装帧: Paperback
ISBN: 9780596806750
内容简介 · · · · · ·
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 -...
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
作者简介 · · · · · ·
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 t...
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.
目录 · · · · · ·
1. Introduction
2. Essentials
3. Literals and Constructors
4. Functions
5. Object Creation Patterns
· · · · · · (更多)
1. Introduction
2. Essentials
3. Literals and Constructors
4. Functions
5. Object Creation Patterns
6. Code Reuse Patterns
7. Design Patterns
8. DOM and Browser Patterns
Index
· · · · · · (收起)
喜欢读"JavaScript Patterns"的人也喜欢的电子书 · · · · · ·
喜欢读"JavaScript Patterns"的人也喜欢 · · · · · ·
JavaScript Patterns的书评 · · · · · · ( 全部 6 条 )
这是本好书,可惜被翻译烂了。
值得称道的渐进式讲解
我对这本书的评价就短而精悍。
值得一读JavaScript模式
> 更多书评 6篇
论坛 · · · · · ·
石川更系统总结了JavaScript常用模式,非常棒! | 来自有人 | 2012-03-06 10:07:15 | |
非常不错的书 | 来自song | 1 回应 | 2011-05-21 10:02:53 |
这本书的其他版本 · · · · · · ( 全部3 )
-
中国电力出版社 (2012)8.7分 279人读过
-
美商歐萊禮股份有限公司臺灣分公司 (2012)暂无评分 1人读过
以下书单推荐 · · · · · · ( 全部 )
- JavaScript核心语言学习路线图 (RednaxelaFX)
- 书单-编程-前端 (LZX)
- MIT Electrical Engineering and Computer Science (恩布勒姆)
- Getting Better at JavaScript (Mescoda)
- JavaScript 学习资源推荐 (震怒的香蕉蛋挞)
谁读这本书? · · · · · ·
二手市场
· · · · · ·
订阅关于JavaScript Patterns的评论:
feed: rss 2.0
0 有用 Jeao&Leon 2020-03-17 23:20:31
什么都叫pattern ,问题是都是基础语法,换个pattern就来骗钱吗? 倒是真有一个章节用js来实现了一些四人帮的design pattern。
1 有用 蝉 2013-10-10 11:00:40
:无
1 有用 E.T 2012-09-05 23:04:18
大部分内容在 Good Parts 这本书里都已经讲过了啊,剩下的又讲得太浅。
0 有用 ISpring 2014-12-08 01:09:24
浅显易懂又涵盖全面
0 有用 Tars 2015-11-13 14:41:33
javascript进阶必读吧
1 有用 Revlekt 2022-01-02 11:18:33
毕竟是10年前写的书了,在这期间javascript语言本身已经发生了很大变化,现在更推荐使用最新语言编写的类似内容:https://www.patterns.dev/posts/classic-design-patterns/
0 有用 Jeao&Leon 2020-03-17 23:20:31
什么都叫pattern ,问题是都是基础语法,换个pattern就来骗钱吗? 倒是真有一个章节用js来实现了一些四人帮的design pattern。
0 有用 豆友87715711 2018-07-01 22:56:14
第七章讲了很多设计模式值得一看。
1 有用 momo 2017-03-28 14:57:05
记一下, 防止忘了
0 有用 Tars 2015-11-13 14:41:33
javascript进阶必读吧