Flash与Flex [英] Flash versus Flex
本文介绍了Flash与Flex的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在任何地方找到使用Flex和Flash的优点和缺点的简洁列表。
I've tried looking everywhere for a concise list of the advantages and disadvantages of using Flex vs. Flash.
来自编程背景,我绝对喜欢Flex。
Coming from a programming background, I absolutely love Flex. It's easy to pick up, and since it can use flash classes, why would I want to use Flash without flex?
Flex:
优点:
- 有利于RIA开发
- 提供许多用户输入选项
- 构建布局系统
- MXML对非程序员来说更容易 li>
- 您可以快速组合组件来创建小应用程序
- 组件可以在大型项目中提供优势,因为它们具有模块化的
性质。 / li>
- 可以使用linux开发
- 有一个不错的组件生命周期用于验证等。
- good for RIA development
- provides many user-input options out of the box
- Build in lay-outing system
- the MXML is easier for non-programmers
- You can quickly combine components to create small applications
- components can provide an advantage in large-scale projects because of their modular nature.
- can be developed using linux
- has a nice component lifecycle for validation, etc.
缺点:
- 增加.swf的大小
- 自定义组件的外观可能需要比预期长很多,具体取决于您要查找的视觉样式。
- 当您发现需要一个不存在的自定义组件时,您可能需要回到Flash来执行组件的真正编程工作和打包。
- Flex的灵活性意味着您将阅读很多文档
- Flex框架中的错误
- 您最终将需要妥协Flex框架的架构
- increases the size of your .swf
- Customizing the look of components can take a lot longer than anticipated, depending on the visual style you're looking for
- when you find out you need a custom component that doesn't exist, you might need to go back to Flash to do the real programming work and packaging of the component
- The "flexibility" of Flex means you will be reading a lot of documentation
- Bugs in the Flex framework
- You eventually will need to compromise with the architecture of the Flex framework
Flash
Flash
优点:
- 非常适合制作电影/动画
- 时间轴可以更容易让设计师/动画师概念化
- 您可以编写任何您喜欢的内容;
- good for making movies/animations
- Timeline can be easier for designers/animators to conceptualize
- when working from scratch, provides a great deal of control.
- easier for someone with a programming background
- You can program whatever you like; no compromises with existing frameworks
缺点:
- 时间线对于程序员来说可能是令人生畏的(虽然你可以相当安全地忽略它)
- 某些类型的应用程序的开发将比使用Flex更慢
- 无法使用linux开发
- 用户输入验证必须全部在代码中处理。无内置验证。
- 需要实现您自己的布局系统
<
- only provides basic user input (text box) out of the box.
- timeline can be daunting for programmers (although you can quite safely ignore it)
- Development of certain types of applications will be slower than with Flex
- can't be developed using linux
- user input validation must all be handled in the code. No built-in validation.
- need to implement your own lay-outing system
推荐答案
Flash和Flex都使用相同的底层渲染引擎,只是使用不同的前端 - 结束。 Flash更适合制作电影和动画。 Flex更适合应用程序开发。
Flash and Flex both use the same underlying rendering engine, just with different front-ends. Flash is better suited for making movies and animations. Flex is better for application development.
这篇关于Flash与Flex的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文