Monday, October 21, 2002
Speed Up User Interface Code
Posted by Andy Sjostrom in "DEVELOPER" @ 11:53 AM
http://www.devbuzz.com/content/zinc_evb_performance_grid_pg1.asp
Most Pocket PC database applications visualize data in a grid format. Too bad that the current grid control performs like the Swedish tax system. It sucks, pure and simple. Pete Vickers has written an excellent article about how to make the listview control do the work instead. Pete is definately on track. Since Chris and I wrote our Pocket PC development book we always use the listview control for visualizing data in a grid format. If only we could get Sweden a tax system that works, too!
"This article was inspired by a recent project, Pocket RDA. Pocket RDA provides remote data access from the Pocket PC to any ADO compliant database. The results were returned into a grid control, and could be saved or copied to the clipboard. In 'program' testing, things looked great (don't they always!!), the 30 or so customer records returned quickly. (As we all know, most 'programmer testing' is carried out with the same 10 records.) I was a bit more concerned with the performance of 100 plus records, but decided it was probably network load (software guys blame the hardware - hardware guys blame the software!). Then when I got into 'real' testing with 2000 records plus, it crawled to a standstill."
Most Pocket PC database applications visualize data in a grid format. Too bad that the current grid control performs like the Swedish tax system. It sucks, pure and simple. Pete Vickers has written an excellent article about how to make the listview control do the work instead. Pete is definately on track. Since Chris and I wrote our Pocket PC development book we always use the listview control for visualizing data in a grid format. If only we could get Sweden a tax system that works, too!
"This article was inspired by a recent project, Pocket RDA. Pocket RDA provides remote data access from the Pocket PC to any ADO compliant database. The results were returned into a grid control, and could be saved or copied to the clipboard. In 'program' testing, things looked great (don't they always!!), the 30 or so customer records returned quickly. (As we all know, most 'programmer testing' is carried out with the same 10 records.) I was a bit more concerned with the performance of 100 plus records, but decided it was probably network load (software guys blame the hardware - hardware guys blame the software!). Then when I got into 'real' testing with 2000 records plus, it crawled to a standstill."