With the advent of the Flex development framework, developers can finally create the rich web-based, platform-independent applications they 've always wanted. such applications typically require data integration, which is necessary for any use case that requires keeping track of users, conducting authentication, or saving a user's data. you can use local data storage, but without the persistence and centralization brought by client-server communication, the application couldn't store large amounts of data, provide data to users regardless of where they log on, or expose the user to a community.
With the advent of the Flex Development Cabinet, developers can finally create the network-based clients they always want, independent of the platform's rich clients.Program.
it is unsurprising, then, that the flex framework actually comes equipped with multiple methods of client-server communication. if you 've been looking for a way for your flex clients to communicate with your. net back end or for a comparison of the varous communication methods, then this is the article for you. this article covers three methods of request/response communication. HTTP services provide a way to retrieve XML and text from static and dynamic server pages. web Services let clients call web methods that return objects. remoting allows you to call functions on the server, and sending and processing ing typed objects both ways. through the course of this article, you will learn how and when to use each, as well as see a practical comparison of the three.
Flash Player also natively supports other communication mechanic ISMs including raw HTTP requests and socket connections; however, they are outside the scope of this article. this article strictly covers the most common request/response-style communication used in enterprise applications. other methods may be helpful in specific situations, but also have a variety of drawbacks including different performance and scalability characteristics.
Fluorine. Net flash remoting gatewaysample files