Rich Internet Applications and Flex                       Vijay Kalangi
•   Breaking the Application into components•   UIComponent on top    •   Extended from other classes which provide event ...
Class Hierarchy for display component
•   Easy to build, debug and maintain•   Ease team development•   Suite of reusable code•   Loose coupling - data in and o...
• Components for dataloading
• using lists • labelfunction  private function multiDisplay(item:Object):String{  return item.category+”: “+item.name+” $...
• using datagroups     <s:Application xmlns:fx=”http://ns.adobe.com/mxml/     2009”     xmlns:s=”library://ns.adobe.com/fle...
• Your own itemrenderer •   Should extend IDataRenderer or subclass that already extends IDataRenderer     interface •   g...
• Virtualization • Create only what you need • Recycle! • implementing virtualization
• List of meta tags - URL
Upcoming SlideShare
Loading in …5
×

Rich Internet Applications and Flex - 5

465 views
421 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
465
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Rich Internet Applications and Flex - 5

    1. 1. Rich Internet Applications and Flex Vijay Kalangi
    2. 2. • Breaking the Application into components• UIComponent on top • Extended from other classes which provide event dispatching, containment of other objects.
    3. 3. Class Hierarchy for display component
    4. 4. • Easy to build, debug and maintain• Ease team development• Suite of reusable code• Loose coupling - data in and out needs to be specified !
    5. 5. • Components for dataloading
    6. 6. • using lists • labelfunction private function multiDisplay(item:Object):String{ return item.category+”: “+item.name+” $”+item.cost; }
    7. 7. • using datagroups <s:Application xmlns:fx=”http://ns.adobe.com/mxml/ 2009” xmlns:s=”library://ns.adobe.com/flex/spark” > <s:DataGroup itemRenderer=”spark.skins.spark.DefaultItemRenderer” > <s:dataProvider> <s:ArrayList> <fx:String>Jeff Tapper</fx:String> <fx:String>Mike Labriola</fx:String> <fx:String>Matt Boles</fx:String> <fx:String>Simeon Bateman</fx:String> • </s:ArrayList> </s:dataProvider> <s:layout> <s:VerticalLayout/> </s:layout> </s:DataGroup>
    8. 8. • Your own itemrenderer • Should extend IDataRenderer or subclass that already extends IDataRenderer interface • get and set methods for data •
    9. 9. • Virtualization • Create only what you need • Recycle! • implementing virtualization
    10. 10. • List of meta tags - URL

    ×