Flex Viewer 開發教程(7)Widget與伺服器互動
本小節將不涉及具體的程式碼細節,因為Widget與伺服器的互動不會因為Flex Viewer的架構而有所不同,瞭解了Flex程式如何與伺服器端進行互動,直接應用到Widget中即可。下表是Flex與伺服器端進行互動可用的技術,具體細節可參考《Flex 4 in Action》中的第15章。
Communication Server Support |
Application |
Benefits |
HTTP (includes REST and RPC hybrids) -All |
Simple Widget-based applications; speed and real-time UI updates aren’t required. |
Easy implementation via the HTTPService object; RPC hybrid protocols can be invoked using RemoteObject. |
SOAP/WSDL -All |
Data aggregation from external web services. |
Easy implementation; pull data from multiple outside resources regardless of platform. |
AML -BlazeDS&LiveCycle Data Services(LCDS):Java, -.NETZend: PHP -AMFPHP: PHP -WebOrb: .NET, Ruby, PHP |
Approaching enterprise level; speed is important; data is usually pulled from server by polling. |
Binary data compression makes communications 12 times faster; strong data typing; multiplatform support. |
RTMP -LiveCycle Data Services(LCDS), -Flash Media Server(FMS) |
Enterprise level, messaging, instantaneous UI updates; data can be pushed to the client; streaming media content; data intensive RIAs. |
Integrates into existing J2EE infrastructure; document management, rapid data transfer, clustering, data tracking, syncing, paging, and conflict resolution. |
Flash Remoting -Native to ColdFusion |
Robust, enterprise platform for client/server Flex communications; native. |
Seamless integration with the Flash platform; removes the need for an intermediate code library to do data type mapping and date serialization. |
JSON -All (JavaScript data objects are serialized and transferred in binary form.) |
AIR applications that use AJAX or Flex applications that use the ExternalInterface API. |
Easy implementation with the HTTPService object; part of the AS3CorLib library. |
相關文章
- Flex Viewer 開發教程(5)Widget與Widget互動FlexView
- Flex Viewer 開發教程(4)Widget與Map互動FlexView
- Flex Viewer 開發教程(3)Widget與WidgetTemplateFlexView
- Flex Viewer 開發教程(6)Widget與共享資料FlexView
- Flex Viewer 開發教程(2)Widget配置檔案FlexView
- Flex Viewer 開發教程(1)Flex Viewer配置檔案FlexView
- Flex Viewer 解析(四)自定義WidgetFlexView
- Flex Viewer 解析(五)Widget之間通訊FlexView
- Flex Viewer 解析(一)Flex Viewer簡介FlexView
- Flex Viewer 解析(三)Flex Viewer架構解析FlexView架構
- Flex Viewer 解析(二)Flex Viewer原始碼包結構FlexView原始碼
- odoo 開發入門教程系列-模組互動Odoo
- Flex與後臺互動的幾種方法詳解Flex
- [開發教程]第1講:Bootstrap使用者介面與互動架構boot架構
- angularjs與伺服器互動AngularJS伺服器
- Android與Flutter混合開發-UI互動AndroidFlutterUI
- Android混合開發之WebView與Javascript互動AndroidWebViewJavaScript
- iOS 與 JS 互動開發知識總結iOSJS
- iOS開發:網頁JS與OC互動(JavaScriptCore)iOS網頁JSJavaScript
- iOS開發-javaScript互動iOSJavaScript
- 元件化開發跨module互動方式—ModuleBus互動元件化
- 元件化開發跨module互動方式---ModuleBus互動元件化
- Flex Viewer 解析 完整版 (pdf + source code)FlexView
- vue 與原生app的對接互動(混合開發)VueAPP
- 以太坊Solidity程式語言開發框架————7、合約互動Solid框架
- android.support.v7.widget.SearchView開發記錄(一)AndroidView
- H5與APP混合開發通訊互動記錄H5APP
- Solana 開發學習之透過RPC與Solana互動RPC
- iOS 使用Swift開發WidgetiOSSwift
- 安卓開發之 App Widget安卓APP
- 《Linux網路開發必學教程》7_TCP 與 UDPLinuxTCPUDP
- 寫給VR手遊開發小白的教程:(五)Cardboard外掛與Android之間的通訊互動VRAndroid
- 用Eclipse開發FlexEclipseFlex
- laravel使用workerman 使用者互動、伺服器互動Laravel伺服器
- 百度地圖開發-與地圖的互動功能 06地圖
- iOS開發之構建WidgetiOS
- Google AR 互動的開源與幕後Go
- Flex開發實戰(一)--Flex的詳細介紹Flex