Several methods are enough to transfer data to the Flex binary file from the Rails application. Right now, I'm using the old e4x resultFormat with the xml.erb template. I did AMF before, but I feel that embedding parameters in the embedding itself is the best solution because you don't have to wait for the browser to download the swf binary and the binary to make the web request.
With all of this in mind, what is the best practice for rendering a Flex widget with a Rails connector these days?
, Flex . Flex , , , . SWF , 200-300 K Flex.
- , Flot JavaScript, . , Flex - , .
- , html, swf . , , .
, . swf, . , - , , , xml, , ActiveRecord:: Base # to_xml, .
, , "", ? , AMF RemoteObject Flex , Flex HTTPService.
Read about them here: Flex ActionScript 3.0 documentation
Source: https://habr.com/ru/post/1696708/More articles:How to manage web application by email? Or how to run a PHP script by sending an email? - cakephpWhat languages support covariance on return types of inherited methods? - java"getting" the path in Linux - cПереход на графический интерфейс без потери бизнес-логики, написанной в COBOL - user-interfaceDo you know of any “best practice” or “what works” vi for programmers? - unixUserControl rendering: write link to current page? - web-applicationsHow can I disable an exception using ddbg - dhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1696711/how-can-i-allow-incoming-connections-to-a-server-inside-of-virtualbox&usg=ALkJrhiGM0U9MNvVwWaH2lc3VbkHllSUfgSetting DataGridView.DefaultCellStyle.NullValue to null during development increases the error when adding runtime rows - nullHow to print css using background images using a WebBrowser control - c #All Articles