Janyou's blog

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

           偶然翻到《AdvancED Flex 3》这本书,发现里面有个Shashank Tiwari设计用于Flex开发的Fireclay Framework非常类似于目前自己开发使用的框架。

  特别是里面的registry、service设计,几乎一模一样,看来于我心有戚戚焉。此类设计非常适合于大型组件开发,可以制作类似于plugin或addin的结构。

此框架同时适合Flex和AS的开发,应该化大力完善推广之。 Flex framework的发展走上了java web framework的老路,越来越heavy、complex,实际是适合于

flex这种开发环境是“light pattern framework”,只定义开发子目录、少量开发接口,少量共通类、workflow,framework swc越小越好。

 

  基本构架图

image

Conceptual representation of the model and services and
modules that invoke these services

image

The generic registry model, with its finder and keeper
(managers) and the assembler

posted on 2009-12-14 11:46  janyou  阅读(227)  评论(0编辑  收藏  举报