FLEX 服务器端交互: remoteObject & AsyncToken & 数据定时刷新 & Timer

动态调用RemoteObject:
Dynamically invoke remote object methods?
[url]http://forums.adobe.com/thread/780801?tstart=-1[/url][quote]
roName.getOperation(methodName).send(methodParams)
[/quote]


[size=medium]关于AsyncToken:[/size]
An AsyncToken Primer
[url]http://blog.olivermerk.ca/index.cfm/2008/6/8/AsyncToken-primer[/url]
What is the point of the ASyncToken?
[url]http://stackoverflow.com/questions/4663090/what-is-the-point-of-the-asynctoken[/url][quote]Two things stand out:
1 You can assign more than one responder to an AsyncToken;
2 You can bind the result of the AsyncToken.
You might find these two things useful depending on what kind of data you're working with... Also there might be more to it than this.[/quote]
[url]http://www.flexafterdark.com/docs/ActionScript-AsyncToken[/url][quote]An AsyncToken is a dynamic object, so you can add whatever properties you want to it.[/quote]

Tracking results from multiple,simultaneous service calls(通过AsyncToken)
[url]http://cookbooks.adobe.com/post_Tracking_results_from_multiple_simultaneous_servic-922.html[/url]

[b]Calling multiple methods from one RemoteObject in Flex and Actionscript using BlazeDS:
[url]http://whatwouldnickdo.com/wordpress/532/calling-multiple-methods-from-one-remoteobject-in-flex-and-actionscript-using-blazeds/[/url][/b]


[b][size=medium]定时刷新:[/size][/b]
FLEX TIMER:
[url]http://livedocs.adobe.com/flex/3/html/help.html?content=08_Dates_and_times_1.html[/url]
直接替换结果集,实现刷新策略,并通过设置datagird的verticalScrollPosition和horizontalScrollPosition防止在刷新时出现滚动条的重置:
[url]http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/[/url]


Large Data Sets:
一 [url]http://blogs.adobe.com/mchotin/2004/03/large_data_sets.html[/url]
二 [url]http://blogs.adobe.com/mchotin/2004/04/large_data_sets_1.html[/url]
三 [url]http://blogs.adobe.com/mchotin/2004/05/large_data_sets_2.html[/url]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值