Project Post-Mortem

only for RuBoard - do not distribute or recompile

Project Post-Mortem

Figure 9.6 shows the application after it has been run as it normally would at the end of the month. It takes about 30 seconds to process from start to finish, which is not bad.

Figure 9.6. The Worldwide Commissions application in action.
graphics/09fig06.gif

What could have been done better? Well, for starters, the Data Display Control probably could have been made more generic and less application-dependent. For that matter, on a larger project, it might be worthwhile to create a MySQL-specific data display widget from scratch. One that would let the user edit cells in place would be ideal and could probably be implemented using a table widget instead of a CList widget, putting entry widgets in the table s cells so the user could edit them directly. Oh well, that is why there is a version 2 of the product.

frm_table_display doesn t automatically expand its child widgets when the form is resized; it would be better if the table display area in the center of the form would automatically get the maximum allowable space.

Although the tables are sufficiently indexed, and the entire application runs completely in about 30 seconds, this metric is for a final dataset in tbl_commissions of about 100,000 rows. This has two implications: Will the dataset ever approach one million rows? And if it does, will response time be adequate? Also, a back-and-forth progress bar (the type that shows action-in-progress, not percent completed) would be a nice feature in case the user has to wait for the software. As it is now, if the user types the executable name from the command line, the terminal window will show some progress. However, if the user double-clicks an application icon, that terminal window is not displayed.

only for RuBoard - do not distribute or recompile


MySQL Building User Interfaces
MySQL: Building User Interfaces (Landmark)
ISBN: 073571049X
EAN: 2147483647
Year: 2001
Pages: 119

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net