Rails and Flex

二次信任 提交于 2019-12-12 13:23:47

问题


Any thoughts on using Flex to build an RIA for administering a complex rails app.

We are starting to find it difficult using ajax to keep our admin section intuitive and easy for users to work with.

Would welcome any advise or suggestions you all may have

Thanks

Dom


回答1:


You've got RoR guys working on this program and you've managed to develop a complex rails app that has enough subtleties that the admin section is difficult to use.

The answer to this problem is not to use a different programming language to create a whole nother kinda app to do the admin.

It will help more to get assistance in simplifying and organizing your admin section. Work through some paper sketches to get a better idea of how to present this complexity and maybe reveal complexity as you go along.

Complexity is handled often by using wizards or revealing suboptions as you go along. Spend some time with your users and watch them do their tasks.

With more details I could edit this answer with more specifics.




回答2:


Try investigating this book:




回答3:


Flex is certainly worth considering in your scenario. Generally, Flex is more mature development platform than AJAX is so if your server-side data are exposed via some reasonable interface (web services, REST-full services etc.), building a Flex front-end would make sense.

It really depends on your needs - Flex vs. AJAX is an interesting topic on its own.




回答4:


If you want to use XML for communication then there isn't much you need to do on the rails side. But if you want to use an AMF gateway you will want to checkout RubyAMF.

But I agree with MattK if you just want to redesign your admin section it's not worth adding in Flex. I think you just need to do some usability testing, take that feedback and refractor your interface.




回答5:


I would only consider using Flex in your situation if you already have Flex developers or if you could outsource that part of your project. The Flex modules simply call web services (written in Ruby or whatever) so there is a very nice separation between the two parts of your project. Since the interface between the two parts is an easily-mockable web service, outsourcing works well. There should be plenty of web shops local to you who could handle the work. An admin site should take only two to three weeks to develop in Flex if the developers are knowledgeable.



来源:https://stackoverflow.com/questions/135427/rails-and-flex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!