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 .