今天开始研究V2Componets

碌碌无为那么久了,还是做点实际点的事情吧。

今天开始系统研究V2Component,目的在于了解一个大公司怎样在一个功能有限的环境下扩展自己的产品构建Component Framework;了解其设计思想和实现方法。

V2的骂声很多,但不管怎样,作为一个已经发布的framework,还是有一定研究价值的,至少可以总结他人的不足。为什么V2在对customization的支持上那么憋足?特别是skinning和theme,livedoc上怨声载道?通用性和个性化之间应该怎样根据产品的定位来取舍?怎样在底层做优化,保证继承层数很多是不至于慢得要死?接口与继承及复合怎样协调?如何努力做到as simple as possible and as clear as possible?

其实我相信正如很多人所说:V2的实现“确实是烂”,不过他山之石可以攻玉也!

V2的源码全部开放

Find version 2 (v2) architecture source code in the following locations:

  • Windows: C:\Documents and Settings\[User Folder ]\Local Settings\Application Data\Macromedia\Flash MX 2004\[Language Code]\Configuration\Classes
  • Macintosh: HD:\Users\[User Folder]\Application Support\Macromedia\Flash MX 2004\[Language Code]\Configuration\Classes

fla文件

[installfolder]\en\Configuration\ComponentFLA

Advertisements
This entry was posted in Flash and ActionScript. Bookmark the permalink.

3 Responses to 今天开始研究V2Componets

  1. Taco says:

    hi~终于回来了!

  2. Tyler says:

    不错,奕男兄,继续努力哈,hoho

  3. Taco says:

    恭喜發財 幸福滿滿!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s