In this article it is mentioned what FleXtense will includes about the next version of FleXtense which we thought to publish as two parts. The new version of Flextense is going to release on 19.11.2007 as free for the Flex users. These are the remarkable features in this version:
1. .Net DataSet support with Flex (sending and receiving to web services),
2. Directly binding Collection Classes to Data Controls,
3. toXML and toJSON support for Collection Classes,
4. toXML and toJSON support for Entity Classes,
5. Bug Fixes on version 1.0
6. Credential settings for the access of WSDL files
1 .Net(DotNet) DataSet support with Flex ,
DataRow, DataRowCollection, DataColumn, DataColumnCollection, DataTable,
DataTableCollection and DataSet Classes has been added to FleXtense core library to work with .NET DataSet.
Flex DataSet Object Model

With help of these classes a DataSet can be returned from a Asp.Net web service or can be sent dataset object to a web service. You can directly connect to any data provider objects with any DataTable object (such as DataGrid, ComboBox) from tables collection in this dataset.
For Example:
var ds:DataSet = e.result //Type of Result is like the type of flextense.core.data.DataSet
datagrid.dataProvider = ds.tables.getTableByIndex(0).bindableData;
so as…
We will check out DataSet on the next blog article as in depth.
2. Directly binding Collection Classes to Data Controls,All collection clasees inherited ICollectionView according to the new code template. However, you can connect collection classes returning from web services directly to flex controls.
For Example:
var userCollection:UserCollection = e.result //Returns a value with type of UserCollection
datagrid.dataProvider = userCollection ;
The new added methods and properties with ICollectionView interface to Collection clesses.
Public PropertiesfilterFunction : Function
A function that the view will use to eliminate items that do not match the function's criteria.
length : int [read-only] The number of items in this view.
sort : Sort The Sort that will be applied to the ICollectionView.
Public MethodsaddEventListener(type:String, listener
:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false
):void Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
contains(item:Object):Boolean
Returns whether the view contains the specified object.
createCursor():IViewCursor
Creates a new IViewCursor that works with this view.
disableAutoUpdate():void
Prevents changes to the collection itself and items within the collection from being dispatched by the view.
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
enableAutoUpdate():void
Enables auto-updating.
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
itemUpdated(item:Object, property:Object = null, oldValue:Object = null, newValue:Object = null):void
Notifies the view that an item has been updated.
refresh():Boolean
Applies the sort and filter to the view.
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
Details about DataSet Usage and the other subjects will be placed on next blog article.