注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

神魔破杜梓的叨叨堂

Programming every day!

 
 
 

日志

 
 
 
 

AS3中的LINQ  

2008-05-08 09:20:52|  分类: My Tech |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
原文地址
For the past week I have been deeply involved over on the .NET side working with C#, Parallel FX and PLINQ ( Parallel LINQ). LINQ has been very useful as it saved me tons of times getting data back from large data structures and I thought to my self it would be neat if there was something like this for Actionscript 3. Well after i finished my work with .NET I fired up Flex Builder and started to work on a library for actionscript that does exactly what LINQ does . Its turning out to be really great and i want to give a few people the chance to test it out . If you want to play around with GAIQL (G-unIX Actionscript Integrated Query Language) then leave a comment or email me at Faisal@g-unix.com with the subject GAIQL Tester . Ill send you the swc to test it out.

For others who want to wait till the final release (Why Would you do that!) here is something that might convince you . Say if you wanted to check if an entry was in the array , all you would have to do to find out is the following :

private var q:GAIQL = new GAIQL()
private var result:Array = q.Call("FROM myarray GET thevalueiwant" ,this);

and the value you want doesn't have to be hard coded, it can be passed as a variable . Then you can simply check the length of your result array to see if it got populated or not .
  评论这张
 
阅读(431)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017