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

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

问题描述

我试图使用从Ruby on Rails应用程序提供的Abobe Flex实现 Dashboard Dashboard 只会显示可以通过JSON,XML等Feed提供的图表和表格。



用户需要登录Flex前端,他们可以查看仪表板之前,所以我有这个工作的两个主要要求:



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

2。基于用户(id)的Ruby on Rails Web应用程序提供

使用Flex和Ruby on Rails可以实现这种设置吗?如果有的话,任何人都可以提供一些关于如何在任何有帮助的优秀教程上使用的建议吗?

谢谢!


由于rails可以很容易地通过REST风格的Web服务公开这些模型,而FLEX有一种方法可以从restful web services访问数据,所以我不明白为什么这个设置将不可能。



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


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.

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. A User can login via the Flex frontend, however Flex uses my Ruby on Rails application to perform the authentication

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

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?

Thanks!

解决方案

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.

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

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

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