Flex 和 Ruby on Rails [英] Flex and Ruby on Rails

查看:23
本文介绍了Flex 和 Ruby on Rails的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用来自 Ruby on Rails 应用程序的 Abobe Flex 实现一个 仪表板.仪表板将只显示可以由 JSON、XML 等提要提供的图表和表格.

I'm trying to implement a Dashboard using Abobe Flex which is fed from a Ruby on Rails application. The Dashboard will just display charts and tables which can be fed by JSON, XML etc. feeds.

用户需要先登录 Flex 前端才能查看仪表板,因此我有两个主要要求才能使其正常工作:

A User will need to login into the Flex frontend before they can view the Dashboard, so I have two main requirements for this to work:

1. 用户可以通过 Flex 前端登录,但是 Flex 使用我的 Ruby on Rails 应用程序来执行身份验证

1. A User can login via the Flex frontend, however Flex uses my Ruby on Rails application to perform the authentication

2. 从基于用户 (id) 的 Ruby on Rails 网络应用程序提供的提要收集数据

2. Gather data from feeds being provided by Ruby on Rails web application based on the User (id)

Flex 和 Ruby on Rails 是否可以进行此设置?如果是这样,任何人都可以向我提供一些建议,说明如何在任何可能有帮助的优秀教程中进行这项工作?

Is this setup possible with Flex and Ruby on Rails? If so can anyone provide me with some advice on how to get this working on any great tutorials out there which could help?

谢谢!

推荐答案

由于 rails 可以很容易地通过 RESTful web 服务暴露模型,而且 FLEX 有一种从 restful web 服务访问数据的方法我不明白为什么设置不可能.

Since the rails can easily expose the models through RESTful web services, and FLEX has a way of accessing data from restful web services I don't see why the setup would not be possible.

这是涵盖您感兴趣领域的网站:http://flexonrails.net/

This is the site that covers your area of interest: http://flexonrails.net/

这篇关于Flex 和 Ruby on Rails的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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