Flex 模块开发工作流程
我刚刚开始研究在 Flex 中使用模块,想知道你们是如何开发它们的。我了解如何使用它们(加载、卸载、应用程序域、共享类等),但我想知道创建它们并在多个应用程序中使用它们的良好工作流程是什么。
如果我正在构建可重用的应用程序组件(文本编辑器、图像裁剪器、指南针等),并且我想在许多不同的应用程序中重用它们,那么我似乎会:
1)专门为这些模块之一创建一个应用程序 2)在该应用程序中创建一个模块 3)自行开发模块,使其正常工作 4)以某种方式将共享库链接到它(就像我将在所有模块之间使用的库项目) 5)...然后我不清楚接下来会发生什么。我现在有 10 个模块/应用程序,我想开始将它们混合在一起形成可用的应用程序。最好的方法是什么?我希望不必复制粘贴代码和 swf,如果可能的话,使用 git 子模块之类的东西。
非常感谢
I have just started looking into using Modules in Flex and would like to know how you all go about developing them. I understand how to use them (load, unload, application domains, shared classes, etc.), but I'm wondering what a good workflow is in creating them and using them in multiple applications.
If I were building reusable application components (text editor, image cropper, compass, whatever), and I wanted to reuse them in many different applications, it seems like I would:
1) Create an Application specifically for one of those modules
2) Create a Module inside that Application
3) Develop the Module by itself, make it work right
4) Link shared libraries to it somehow (like library projects I would use between all of the modules)
5) ... then I'm unclear what's next. I now have lets say 10 Module/Applications, and I want to start mashing them together into usable applications. What's the best way to do this? I would like to not have to copy-paste code and swfs, using something like git submodules if an equivalent is possible.
Thanks so much
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您正在寻找SWC 文件。
I think you're looking for SWC files.