flex 在不同组件之间共享数据 [英] flex sharing data between different components

查看:29
本文介绍了flex 在不同组件之间共享数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 flex 应用程序中有各种 mxml 组件,它们都需要显示基于相同数据的统计数据.我该怎么做呢?我是否需要一些像 cairngrom 或 puremvc 这样的 mvc 框架,或者没有它们我可以吗?有什么设计想法吗?

i have in my flex application various mxml components that all need to show stats based on the same data. how can i go about doing that? do i need some mvc framework like cairngrom or puremvc for that or can i do it without them? any design ideas?

推荐答案

Tour de Flex 现在有一个部分在指向现有各种选项的框架上.还可以查看我在 Flex 最佳实践.并在 架构模式上查看 Flex Screencast 中的第一步.

Tour de Flex now has a section on frameworks that points to the various options that are out there. Also check out a video I did on Flex Best Practices. And check out the First Steps in Flex Screencast on Architectural Patterns.

这篇关于flex 在不同组件之间共享数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆