开发者

how to integrate a flex application into a rails environment

I have a webpage based 开发者_运维问答on ruby on rails. For one task I need some more complex user interface which I plan to do with a flex programm. The question is, how I can start the a new window with my flex programm and hand over the right url where the flex app can load its data in XML format...

Thanks in advance Markus


Remember that a Flex delivery is just a SWF file, with some extra magic around. You could just load it on a regular view or even a html file on the public directory and then have it talk with your Rails app.

We currently use Flex for charting some statistics and it was really painless to integrate. Since Rails favorites a RESTful approach, you can make your Flex app just call the right URIs for data and then work with the result (either JSON or XML).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜