求Javascript和Design Pattern都比较熟悉的朋友

liuruhong 2004-04-05 10:07:29
前段时间比较忙,一直没有时间去做一些javascript脚本库的完善,日前的xtree功能方面已经完善,不过在结构方面还不是很合理

希望和大家一起讨论

PS:我所有的问题都是送分的,郁闷,居然有一个帖子忘记结了,被扣信誉分了
...全文
89 5 打赏 收藏 转发到动态 举报
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
  • 打赏
  • 举报
回复
呵呵~~内部工作人员被扣分,显示出斑竹的铁面无私……
^^
Description 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. Author Stoyan Stefanov includes several examples for each pattern 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 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

87,997

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧