Posts

Showing posts from August 16, 2009

"Protocols that RULE the FLEX world"

In the context of RIA, protocols that we need to get familiarized with are 1. REST - HTTP Object <mx:httpservice> 2. SOAP - WebServices Object WSDL <mx:webservices> 3. AMF - Remote Objects <mx:remoteobject> 4. XML Sockets (myXML = new XMLSocket;) RIA's essentially reside on the client and communicate with the servers only to request and process data unlike normal web apps which are page-centric. First is the widely used, REST(Responseful State Transfer) includes - HTTP(Hyper Text Transfer Protocol): HTTP Service Component typically consumes XML responses. They let you send HTTP GET, POST, HEAD, OPTIONS, PUT, TRACE, and DELETE requests and include data from HTTP responses in a Flex application. Flex does not support mulitpart form POSTs . The HTTPService's send() method makes the call to the JSP page. The resultFormat property of the HTTPService component is set to object , so the data is sent back to the Flex application as a graph of ActionScript object...