A few months ago I did the same question to myself, basically what u`re doing in flex/flash is suppose to be the front end, and than you can write the back-end in Java for example.
I'm not sure what you mean by "The open source way".
The Flex SDK is open source, and it contains a command line compiler. I suppose if there is some console plugin to eclipse you could use it to fire off the command line compiler. You could also use ANT to compile your Flex/ActionScript code.
If you want to use an eclipse IDE for Flex, many people use Flash Builder; which is a commercial product and is not open source. FDT is an alternate eclipse based plugin for Flex, but it is also a commercial product.
Honestly, I think you should have read what Flex actually is before asking on here how do something Flex was not designed for. A good resource to get started is the DevNet: http://www.adobe.com/devnet/flex.html. As for using Flex in Eclipse, Adobe offers both an Eclipse plugin complete with everything you need to compile Flex, Adobe AIR and Flash applications. They also offer a standalone version of Eclipse with the plugin installed for you. Both are available at http://www.adobe.com/products/flashbuilder/.
发布评论
评论(3)
几个月前,我对自己提出了同样的问题,基本上你在 flex/flash 中所做的事情应该是前端,而不是你可以用 Java 编写后端。
一种简单的比较方法:
flex = JSP+javascript
mxml=jsp
动作脚本=javascript
A few months ago I did the same question to myself, basically what u`re doing in flex/flash is suppose to be the front end, and than you can write the back-end in Java for example.
One easy way it`s comparing :
flex = JSP+javascript
mxml=jsp
actionscript=javascript
我不确定你所说的“开源方式”是什么意思。
Flex SDK 是开源的,并且包含一个命令行编译器。我想如果有一些控制台插件可以用于 eclipse,您可以使用它来启动命令行编译器。您还可以使用 ANT 编译 Flex/ActionScript 代码。
如果你想使用 Flex 的 Eclipse IDE,很多人会使用 Flash Builder;这是一个商业产品,不是开源的。 FDT 是一个基于 Eclipse 的 Flex 替代插件,但它也是一个商业产品。
I'm not sure what you mean by "The open source way".
The Flex SDK is open source, and it contains a command line compiler. I suppose if there is some console plugin to eclipse you could use it to fire off the command line compiler. You could also use ANT to compile your Flex/ActionScript code.
If you want to use an eclipse IDE for Flex, many people use Flash Builder; which is a commercial product and is not open source. FDT is an alternate eclipse based plugin for Flex, but it is also a commercial product.
老实说,我认为您应该先了解一下 Flex 到底是什么,然后再在这里询问如何做一些 Flex 不是为之设计的事情。 DevNet 是一个很好的入门资源:http://www.adobe.com/devnet/flex .html。至于在 Eclipse 中使用 Flex,Adobe 提供了 Eclipse 插件,其中包含编译 Flex、Adobe AIR 和 Flash 应用程序所需的一切。他们还提供独立版本的 Eclipse,并为您安装了插件。两者均可从 http://www.adobe.com/products/flashbuilder/ 获取。
Honestly, I think you should have read what Flex actually is before asking on here how do something Flex was not designed for. A good resource to get started is the DevNet: http://www.adobe.com/devnet/flex.html. As for using Flex in Eclipse, Adobe offers both an Eclipse plugin complete with everything you need to compile Flex, Adobe AIR and Flash applications. They also offer a standalone version of Eclipse with the plugin installed for you. Both are available at http://www.adobe.com/products/flashbuilder/.