Large Datasets in Flex

50 %
50 %
Information about Large Datasets in Flex

Published on November 28, 2007

Author: Elodie


Working with Large Datasets in Flex and ColdFusion:  Working with Large Datasets in Flex and ColdFusion Allen Manning Technical Director Prismix Ltd About the Presenter:  About the Presenter Technical Director of Usable Business Solutions Building Intranets right now in Flex and ColdFusion Allaire/Macromedia Alpha Tested ColdFusion 1.0 Hardened Web Application developer. Web Applications are Changing:  Web Applications are Changing The Technology is Changing The Terminology is Changing The Metaphor is Changing Different Angles based upon your history and involvement in the industry. Slide4:  “Internet as a transformative force in business… we see a dynamic, mutually reinforcing convergence.” “Rich client technology can transform the quality and boost the usefulness of Internet applications.” “…a post-browser approach to Internet applications and content.” “…A collection of disruptive trends are combining to create a new platform of opportunity surrounding the new Internet - one that dramatically surpasses the capabilities of the 1.0 Internet, but which at the same time fulfils many of its original promises.” Jeremey Allaire, “Internet Convergence 2.0” Angle 1 : “Convergence” Slide5:  “Take a 49¢ cup of coffee and serve it at Starbucks and customers will pay anywhere from $2 to $4 per cup! Why, because the customer is engaged in an experience - a series of memorable events that engage the consumer in a very personal way.” “Forrester Research found that investments in the user experience can deliver as much as 250% Return On Investment (ROI) in online commerce applications and significantly lower the cost of deploying enterprise-packed applications.” Al Ramadan VP of Marketing, Macromedia. Angle 2 : “Experience Matters” Slide6:  “Good User Interfaces are Invisible” - Alan Cooper “About Face” Good User Interfaces are about what you are working on. The Data is central and there are tools, palettes, and widgets to manipulate it. Conceptual Model of Desktop Applications has evolved to focus on Views around Data. Angle 3 : Web Apps are Becoming Data-Centric Slide7:  Web applications are being replaced by Next Generation Desktop Applications. Desktop Applications are better for business productivity than Web Applications. Angle 4 : Desktop Applications are replacing Web Applications Slide8:  No Pages Event driven programming Data Binding Business logic in client, some moving from server. This is essentially Flash Application Development. Web Developers know how to develop Enterprise Internet Applications, they now have better tools. Web Developers need to re-tool Slide9:  Let’s get real… Matt Chotin’s Blog on Large Datasets Software Engineer on Flex Team Problem : How do you give your customers a way of working with large amounts of data which makes sense to them? A Concrete Example Slide10:  Enterprise Applications Customers, Invoices, Purchase Orders, Press Releases, Software Releases, Bugs, Issues, Support Tickets, News Items, Version of News Items 10,000 + items is the standard <cfoutput query=“#qCompanyInvoices#”> </cfoutput> GOOD LUCK Traditional Web Applications Just Don’t Cut it… Large Amounts of Data Slide11:  Explicit vs. Implicit Paging Web vs. Desktop Explicit Paging - Web Page Implicit Paging - View Port Google vs. Explorer Slide12:  Google – Explicit Paging Slide13:  Explorer - Implicit Paging Slide14:  No paging Let’s break the datagrid! 1000 Rows = 4 Seconds 5000 Rows = Bye Bye Flash… Example 1- No Paging Slide15:  System Architecture Presentation Tier - Flex Business Tier - Flash Remoting Calls Integration Tier - ColdFusion / J2EE Wrapper Architectural Analysis Slide16:  Value Object (Transfer Object) “An object whose conceptual identity is based on a combination of values of its properties. “ Data Object Used to transfer data between tiers Pattern Analysis : Census Entry VO Slide17:  ValueListHandler (Core J2EE Pattern) Stateless Version (Non-Iterator) Implemented in a CFC : CensusService Pattern Analysis : ValueListService Slide18:  Conceptual model : “I want to see pieces of data.” (Google) Page Selector Custom Component Select page links to retrieve data The selector does most of the work Code Review Example 2 – Explicit Paging Slide19:  Visible Area of Conceptual Space Perform operations which maintain conceptual model Navigation Selection Sorting View Port Slide20:  Conceptual model : “I want to see all of my data.” (Explorer) Datagrid wired to Custom Data Provider Census Data Service Locator Ad-hoc server calls in the background. Example 3 – Basic Implicit Paging Slide21:  The data provider API <mx:DataGrid id="dg" widthFlex="1" heightFlex="1" vScrollPolicy="on" dataProvider="{dp}"> </mx:DataGrid> public function getItemAt(index : Number) { var item = data[index]; if (item == null) { item = miss(index); } return item; } Public function miss()… //if the page is not loaded call for it //var call = dataService.getElements(page * pageSize, pageSize, this); var call = dataService.getSortedElements(page * pageSize, pageSize, sortField, sortAscending, this); The SimplePagingDataProvider The data provider API is a set of methods and properties that a class must implement so that a Flex component recognizes it as a data provider. Slide22:  Conceptual model : “I want to manage all of my data.” Sorting - Capture Column Reordering Events Selection - Query Server and reselect after sort Code Review Example 4 – Full Implicit Paging Slide23:  Sorted Value List Handler Pattern (Stateless) Add sorting : getSortedElements Add selection : getSortedElementPosition Refactoring : Sorting and Selection Slide24:  Example 4 Cont Slide25:  Internal Architecture Q & A:  Q & A Pub not far away…

Add a comment

Related presentations

Related pages

Flex Datagrid - Large datasets | Adobe Community

Hello, I'm currently investigating a way to handle large datasets in flex. For example, I got a user table with about 100.000 users that I want to display ...
Read more

Displaying Large Datasets in an Interactive Table ...

Displaying Large Datasets in an Interactive Table. Working with large datasets can be quite cumbersome and somewhat painful if not done properly.
Read more

FlexCoders - DataGrids with large datasets Tips & Tricks?

DataGrids with large datasets Tips & Tricks?. Does anyone have any tips or tricks, in general, about optimizing the Flex client for best performance in ...
Read more

Adobe Air/Flex filtering large datasets - Stack Overflow

Hi I have an Air app that downloads a data set of around 100`000 objects and puts the objects in an ArrayCollection. I would like to apply various filters ...
Read more

Flex mobile list with large overhead datasets - Stack Overflow

I am having a problem where it is taking quite a long time to load a list with 100 entries. I am using a pregenerated arraycollection to pass to the data ...
Read more

Developing RIAs with WebORB, Flex, AJAX - Yahoo! Groups

Developing RIAs with WebORB, Flex, AJAX; Public Group, 3839 members; ... > > > > Hi Group > > > > In my flex client, I am retrieving a very large dataset ...
Read more

Scrolling Large Data Sets in Flex Charts | The Blog of ...

Scrolling Large Data Sets in Flex Charts. Sometimes you just have too much chart data to display it all at once. The problem with this is that if you bind ...
Read more

Large Data Sets (Part 1 of Many) - Adobe Systems

This is the first of what will most likely be many postings related to data management and Flex. Our opening topic is a brief discussion on large data sets ...
Read more

What HTML5 Means to Large Geospatial Datasets

In my previous post I talked about bringing large geospatial datasets to the web using existing standards and technologies. But what does the future hold?
Read more

Google Public Data Explorer

The Google Public Data Explorer makes large datasets easy to explore, visualize and communicate. As the charts and maps animate over time, the changes in ...
Read more