社区
JavaScript
帖子详情
求Javascript和Design Pattern都比较熟悉的朋友
liuruhong
2004-04-05 10:07:29
前段时间比较忙,一直没有时间去做一些javascript脚本库的完善,日前的xtree功能方面已经完善,不过在结构方面还不是很合理
希望和大家一起讨论
PS:我所有的问题都是送分的,郁闷,居然有一个帖子忘记结了,被扣信誉分了
...全文
91
5
打赏
收藏
求Javascript和Design Pattern都比较熟悉的朋友
前段时间比较忙,一直没有时间去做一些javascript脚本库的完善,日前的xtree功能方面已经完善,不过在结构方面还不是很合理 希望和大家一起讨论 PS:我所有的问题都是送分的,郁闷,居然有一个帖子忘记结了,被扣信誉分了
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
liuruhong
2004-04-06
打赏
举报
回复
to wanghr100(灰豆宝宝.net)
你是怎样去看代码的呢,我觉得完全读没有这个必要,找一个格式化工具,将代码格式化好,然后认真的看清楚他们类之间的继承关系及其如何系统工作,至于一些非常具体的实现,根本没有必要完全看懂的,要用的时候才去看就足够了
script的OOP和传统的OOP还是不同,你可以从bindows看到一些非常巧妙的设计,我觉得这个才是我们真正可以学习的,你可以看到在object based的继承是如何...........呵呵,就我个人而言,还是比较欣赏,可惜这段时间做的不多
fason
2004-04-05
打赏
举报
回复
脚本库是类库还是常用函数库?
wanghr100
2004-04-05
打赏
举报
回复
向老大学习啊.
近日在学习WebFX网站上的代码.能否给个指点.
另如何学习Bindows呢?
多谢了.
liuruhong
2004-04-05
打赏
举报
回复
呵呵,其实无所谓的了,反正偶也不是经常来,就是混,扣吧扣吧不是罪
心云意水
2004-04-05
打赏
举报
回复
呵呵~~内部工作人员被扣分,显示出斑竹的铁面无私……
^^
Mastering
JavaScript
Design
Pat
tern
s
Mastering
JavaScript
Design
Pat
tern
s
JavaScript
Pat
tern
s
Description What's the best approach for developing an application with
JavaScript
? This book helps you answer that question with numerous
JavaScript
coding
pat
tern
s 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
. Author Stoyan Stefanov includes several examples for each
pat
tern
as well as practical advice for implementing them. What's the best approach for developing an application with
JavaScript
? This book helps you answer that question with numerous
JavaScript
coding
pat
tern
s 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
Pat
tern
s includes practical advice for implementing each
pat
tern
discussed, along with several hands-on examples. You'll also learn about anti-
pat
tern
s: 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
pat
tern
s are simpler al
tern
atives to constructor functions * Discover different ways to define a function in
JavaScript
* Create objects that go beyond the basic
pat
tern
s 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
pat
tern
s such as Singleton, Factory, Decorator, and more * Examine
pat
tern
s that apply specifically to the client-side browser environment
Learning
JavaScript
Design
Pat
tern
s - Addy Osmani.pdf
With Learning
JavaScript
Design
Pat
tern
s, you’ll learn how to write beautiful, structured, and maintainable
JavaScript
by applying classical and modern
design
pat
tern
s to the language. If you want to keep your code efficient, more manageable, and up-to-date with the latest best practices, this book is for you. Explore many popular
design
pat
tern
s, including Modules, Observers, Facades, and Mediators. Learn how modern architectural
pat
tern
s—such as MVC, MVP, and MVVM—are useful from the perspective of a modern web application developer. This book also walks experienced
JavaScript
developers through modern module formats, how to namespace code effectively, and other essential topics. Learn the structure of
design
pat
tern
s and how they are written Understand different
pat
tern
categories, including creational, structural, and behavioral Walk through more than 20 classical and modern
design
pat
tern
s in
JavaScript
Use several options for writing modular code—including the Module
pat
tern
, Asyncronous Module Definition (AMD), and CommonJS Discover
design
pat
tern
s implemented in the jQuery library Learn popular
design
pat
tern
s for writing maintainable jQuery plug-ins "This book should be in every
JavaScript
developer’s hands. It’s the go-to book on
JavaScript
pat
tern
s that will be read and referenced many times in the future."—Andrée Hansson, Lead Front-End Developer, presis!
JavaScript
87,997
社区成员
224,709
社区内容
发帖
与我相关
我的任务
JavaScript
Web 开发 JavaScript
复制链接
扫一扫
分享
社区描述
Web 开发 JavaScript
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章