`
k1280000
  • 浏览: 195273 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

swiz quick start

    博客分类:
  • Flex
 
阅读更多

 

day 1

 

completed 1: 

Roughly know how use swiz , how to config the swiz.

swiz is almost like the spring framework :

1. import swiz > swiz-framework-v1.3.1.swc .

2. provide the beanProviders which is pretty like the ApplicationContext of spring.

3. regist the configuration file in the swiz and the swiz:config which is more function 

  on the performance of load.

4. regist the models/services/controllers which you want managed by swiz and inject in 

  somewhere in the configuration file.

5. create the models/services/controllers you want and use the instance in the container 

  (beanProviders) wherever with the use of metedata tag [Inject].

 

   

-------------------------------------------------------------------------------------------------

 

completed 2: 

  how to dispatch and handle evnets in both visual and non-visual components.

1. in visual components we can dispatch the event in any place if you like 

  as to the handle you can use the metedata tag [EventHandler(event="",properties="")]

  to tell the swiz the handle location . use the properties as the in params for

  the handler.

2. as to the non-components use [Dispatcher] to instructs swiz to inject a dispatch ,

  events dispatched via this dispatcher can trigger methods annotated with [EventHandler].

 

 

day 2 :

 

https://github.com/swiz/

http://www.adobe.com/cn/devnet/flex/articles/ioc_frameworks_print.html

http://www.martinfowler.com/articles/injection.html

difference between [Autowire] and [Inject] : inject is more like the upgrade of autowire 

分享到:
评论

相关推荐

    swiz-framework-develop

    Swiz is a brutally simple micro-architecture for creating Rich Internet Applications with ActionScript 3 and Adobe Flex ## How to Contribute The Swiz team welcomes contributions to the framework in ...

    swiz框架1.0压缩包

    把swiz框架放在这,以方便大家下载,swiz框架为主流的flex开发框架之一,过两天如果有需要的话,我会把电子书传上来

    Swiz 1.4 最新源码

    swiz框架的最新官网源码,供大家一同学习!

    f最新lex swiz框架

    Swiz 模仿了Spring 框架,它的核心是个简单的控制反转框架。借助于IoC框架,应用组件(例如视图)无需实例化其依赖(所用的对象),甚至都不用查找。在组件创建时框架会注 入这些依赖(因此术语“依赖注入”也用来...

    Swiz的sample

    Flash/Flex 框架应用 Swiz例子

    flex swiz框架ppt

    一个模仿Spring的flex框架,使用IOC来控制注入。

    Flash/Flex 框架应用 Cairngorm、Mate、PureMVC以及Swiz 的典型例子

    附件是关于 Flash/Flex 几个重要框架 Cairngorm、Mate、PureMVC以及Swiz 的典型例子,由 Tony Hillerson 提供 Homepage: http://insideria.com

    swiz 弹出框的处理

    NULL 博文链接:https://zhenghuazhi.iteye.com/blog/987412

    FLEX 系统管理器 SystemManager

    SystemManager是Flex应用的主控者,它控制着应用窗口,Application实例,弹出窗口,cursors,并管理着ApplicationDomain中的类。SystemManager是FlashPlayer实例化的第一个类,它存储了主应用窗

    node-swiz:REST API中对象的序列化和验证框架

    node-swiz是一个序列化和验证框架,旨在与通常使用XML和JSON作为传输方式的RESTful API一起使用。 安装 npm install swiz 教程和介绍 运行测试 npm run-script test 建置状态 执照 node-swiz在下分发。

    Flex IOC框架比较分析示例代码

    常用Flex IOC框架比较分析示例代码,有Spring ActionScript、 Parsley、Flicc和Swiz这几个框架

    Flex IOC 框架概览

    Flex4 Base 控制反转(inversion of Control,IOC),也称为依赖注入(Dependency injection,DI),在过去几年中已经成为流行的软件设计模式,从而导致许多Flex开发者投入到此类框架的探索,其中就包括...Flicc 和 Swiz

    parsley2 中文指南

    若你不知道parsley,但您一定听过Cairngorm、Mate、PureMVC、Swiz或SpringAcitonScript,只要听说过其中之一就好了,因为parsley也是他们行列中的一员,是Adobe项目组今年7月份推荐的一个灵活的flex框架!

    adobe starling as3 flash 3d Starling演讲PPT以及附件

    这个框架的特性方面,很像Swiz和RobotLegs。特性列表如下: • 依赖注入(DI)/控制反转(IOC) • 视图代理(View Mediation) • 事件捕获(Event Handling) • 非侵入性框架 • 配置简单 • 容易扩展 • 包含了很多对您...

Global site tag (gtag.js) - Google Analytics