Things to take care of while building Flex Web Applications
Posted by flexrays on May 7, 2008
FourĀ important points to take care of while building Flex Web Applications
1. Avoid use of too many containers in the flex application
Flash Player uses a hieratical display object graph. The deeper containers are nested the longer the rendering takes by hindering the performance of your application. As per Adobe it is 100 percent avoidable.
2. Avoid use of very long animations
Most animations are simply TOO LONG and they will annoy users. Developers should make sure that the animations have meaning and provide context.
3. Avoid use of complicated itemRenderers in List, Datagrid
As mentioned in the first point, ItemRenderer is one of the place where containers can get deeply nested. The number of item renderers which are rendered by the DataGrid is the number of visible rows times the number of visible columns. This slows down the applications. When complex layout logic is needed in an item renderer, it is best to use UIComponent (or other more low-level classes) and position the contents for that cell manually.
4. Make use of Runtime Shared Libraries (RSL)
Runtime Shared Libraries (RSL) is available for reducing the size of your applications.