Large Datasets in Flex

Information about Large Datasets in Flex

Published on November 28, 2007

Author: Elodie

Source: authorstream.com

Content

Working with Large Datasets in Flex and ColdFusion:  Working with Large Datasets in Flex and ColdFusion Allen Manning Technical Director Prismix Ltd www.prismix.com 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… www.prismix.com

Related presentations


Other presentations created by Elodie

microwave ovens
06. 11. 2007
0 views

microwave ovens

shrek friendship
25. 12. 2007
0 views

shrek friendship

Collections Strategic Planning
01. 10. 2007
0 views

Collections Strategic Planning

CIMMYT 02
04. 10. 2007
0 views

CIMMYT 02

Oceania PowerPoint Presentation
09. 10. 2007
0 views

Oceania PowerPoint Presentation

20010412Merit
02. 11. 2007
0 views

20010412Merit

Belk
05. 11. 2007
0 views

Belk

VTKOverview
05. 11. 2007
0 views

VTKOverview

hazmat
07. 11. 2007
0 views

hazmat

BlastomycosisinDogs
16. 11. 2007
0 views

BlastomycosisinDogs

romanticismo
21. 11. 2007
0 views

romanticismo

section 4 eating out of home
30. 12. 2007
0 views

section 4 eating out of home

label flower parts
31. 12. 2007
0 views

label flower parts

Identifying Variables
01. 01. 2008
0 views

Identifying Variables

A Winfield
07. 01. 2008
0 views

A Winfield

fullyear03
04. 12. 2007
0 views

fullyear03

regionsofvagrade4par tA
03. 10. 2007
0 views

regionsofvagrade4par tA

borghys
15. 11. 2007
0 views

borghys

TEQdesign
26. 11. 2007
0 views

TEQdesign

ONR Workshop 6 4 02
24. 12. 2007
0 views

ONR Workshop 6 4 02

CH12 R
24. 02. 2008
0 views

CH12 R

fomac intro
26. 02. 2008
0 views

fomac intro

buy used fire trucks
28. 02. 2008
0 views

buy used fire trucks

LangeNFAIS07
19. 02. 2008
0 views

LangeNFAIS07

ma
11. 03. 2008
0 views

ma

Geographic Mapping of SARS
12. 03. 2008
0 views

Geographic Mapping of SARS

goodwin
14. 03. 2008
0 views

goodwin

Strat Hu Res Manag in Eu
18. 03. 2008
0 views

Strat Hu Res Manag in Eu

ImportTeleSeminarPP
27. 03. 2008
0 views

ImportTeleSeminarPP

LM EIP presentation
17. 12. 2007
0 views

LM EIP presentation

Module3
30. 03. 2008
0 views

Module3

CCGS
13. 04. 2008
0 views

CCGS

d01 005i
01. 12. 2007
0 views

d01 005i

fo
27. 09. 2007
0 views

fo

earl miller
19. 11. 2007
0 views

earl miller

Lect01
12. 12. 2007
0 views

Lect01

carol peters
18. 12. 2007
0 views

carol peters

cit
28. 12. 2007
0 views

cit

YLACL62
20. 11. 2007
0 views

YLACL62

GTC Products Presentation
03. 01. 2008
0 views

GTC Products Presentation

Perth summary
01. 01. 2008
0 views

Perth summary

chapter 12 powerpoint i
12. 11. 2007
0 views

chapter 12 powerpoint i

You found a WHAT
08. 11. 2007
0 views

You found a WHAT

Hughes
05. 11. 2007
0 views

Hughes

Luncheon Keynote Address Kenyon
03. 01. 2008
0 views

Luncheon Keynote Address Kenyon