Fabrication framework
来源:互联网 发布:羽绒枕品牌 知乎 编辑:程序博客网 时间:2024/06/06 01:32
Fabrication 基本上就是puremvc的升级版 ,特别专注在多模块的开发中。各个模块之间实现了很低的耦合度。
我现在在做的第三款游戏就是用这个做。很不错的。但国内的资料基本上没有。
(转)
Fabrication is a rapid application development extension for PureMVC.
Its goal is to write less code while adhering to the separation of concerns of PureMVC. Fabrication is built around the Multicore version of PureMVC as it provides a solid foundation to build multi-modular applications without the singleton issues. Here is a summary of the main features in Fabrication.
Facade extensions : With Fabrication you do not need to create a concrete facade for your application. It provides a standard facade that does the work of kick starting your application with the usual startup notification. You only need to provide the startup command to use with a getStartupCommand method. The rest of startup process is done for you.
Mediator extensions : Fabrication allows registration of mediators without waiting for its corresponding viewComponent to be created. This is especially useful when using deferred component instantiation. You no longer need to code creationComplete handles, bubble custom creation events, check for mediator registration and so on. Fabrication has a built in component resolver that detects when a component becomes available and creates the mediator for it. You only need to declare your intention of associating a mediator with a viewComponent. And this is not limited to just deferred instantiation. Coupled with application states you can declare high level mediators registration minus all the creation event listeners.
Notification extensions : Fabrication provides mediators to detect notification interests based on intent. You no longer need to declare notifications that your mediator is interested in with listNotificationInterests. Instead you simply write a handler function like, respondToChanged. Fabrication automatically interprets this as a mediator's interest in the "changed" notification name. This feature reduces the complexity in switch cases that can result in a Mediator's handleNotification.
Multi-module messaging extensions : Fabrication simplifies communication between multiple modules into PureMVC Notifications. To send messages between modules you simply use the routeNotification method. Such routed notifications are received by the destination module as standard PureMVC notifications. You can either register them with Commands or use them in mediators with the respondTo syntax.
Undo support : Fabrication recognizes Undo-Redo as an integral part of rich internet applications and has extensive support for it. It provides support for n-level undos with a clean set of APIs for different types of undo operations like property changes, object adding and removal, grouping, and implicit undos.
General PureMVC extensions : Fabrication also shortens some of the typical PureMVC programming syntax. Calls to facade.<registerMediator|registerProxy> etc can be performed directly with just registerMediator, registerProxy etc. Fabrication allows mapping multiple commands with the same notification names resulting in a form of implicit macro command.
Finally Fabrication is all PureMVC(Multicore). So any utilities/code that works with PureMVC will also work with Fabrication. Everything that PureMVC provides is there. Fabrication does not modify PureMVC, it only extends it.
Grab Fabrication here
http://fabrication.googlecode.com/
Read more about Fabrication at the blog
http://codedrunks.com/
Download examples
http://fabrication.googlecode.com/svn/fabrication/examples
Grab Fabrication here
http://fabrication.googlecode.com/
Read more about Fabrication at the blog
http://codedrunks.com/
Download examples
http://fabrication.googlecode.com/svn/fabrication/examples
- Fabrication framework
- 15869 computational aspects of fabrication
- AUTODESK.FABRICATION.CAMDUCT.V2017.WIN64-ISO\
- 使用Fabrication+PureMVC开发multi-modular Flex应用
- Design, fabrication and control of soft robots综述重读
- framework
- Framework
- Framework
- FrameWork
- Framework
- FrameWork
- framework
- Remove Kaspersky Anti Virus 7 and/ or 2009 Enhanced Protection Mode Fabrication(s)
- Framework概念
- Collection Framework
- Parlay Framework
- Spring framework
- .net framework
- 使用XDC工具创建基于Codec Engine的dm6446双核工程
- ORACLE初始化参数文件详细文档
- 人力资源管理的3P模型在ERP顾问团队的应用探讨
- URLClassLoader加载class到当前线程类加载器
- 我在opencms7.5以后的版本中问题?
- Fabrication framework
- java版简意俄罗斯方块
- scanf的用法
- Apache 访问名称为 php 的目录
- 判断回文
- 垃圾回收调优及JVM参数详解
- 091230 时间管理、拖延症
- 概要设计与详细设计的区别(转)
- openoffice二三事