In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail the ways of communication between Flex and the server. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
The way Flex communicates with the server
One of the most important aspects of Flex development is communication with servers and databases. There are about seven such communication methods I know, among which Blazeds and LCDS can be summed up as one. If you want to achieve communication between Flex and client applications, I think the main method used is: Socket communication. On the Web side, Flex provides three classes to communicate with the server: HTTPService,ReObject and WebService. In addition, we can also use external intermediate plug-ins to let Flex communicate with the server. I know Blazeds (Lcds), Red5 (FMS) streaming server, PHPRPC.
The ◆ HTTPService class is used for Hypertext transfer Protocol (HTTP) to implement communication with the server. The Flex application sends the data to the server with a GET or POST request and processes the XML or string returned by the request. Using this HTTPService class, you can communicate with PHP pages, ColdFusion pages, JSP pages, Javaservlet,RubyonRails, and MicrosoftASP pages.
The ◆ RemoteObject class can communicate with the server through an ActionScriptMessageFormat (AMF) object. Generally speaking, we can also classify Blazeds and Lcds into this category. RemoteObject can also communicate with java or coldFusion remote gateways, or with .NET and PHP through open source projects such as AMFPHP.SabreAMF or WebORB.
The ◆ WebService class communicates with web services, using SOAP-based XML or XML,web services to define their interfaces through web Services description language (WSDL).
The ◆ Socket class can communicate directly with the application without having to communicate on the basis of Web, and the method of communication is roughly the same as that of Socket between JAVA or .NET.
This is the end of the article on "what are the ways of communication between Flex and the server?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.