Partager via


Design Considerations

Some of the design decisions you make impact how you create parts of the application. Some of the considerations you need to take into account include:

  • Central or common tasks users perform.

  • Size of the data set needed.

  • Single or multiple users.

  • People that the application users include.

  • Local or remote data.

Common User Activities

Even if your end users are working with customers, orders, and parts, how they are working with this information will determine how your application should deal with the data. An order entry form might be necessary for some applications, but would not be a good tool for managing inventory or tracking sales, for example.

Database Size

If you are working with large sets of data, you need to consider performance issues. You might want to change the way users navigate data. For example, if you have a small number of records in a table, you can let users navigate records in the table one record at a time. However, if you have a large number of records, consider providing other ways for users to access the data, for example, using lists, dialog boxes, filters, custom queries, and so on. For more information, see Optimizing Applications, Using Controls, and Displaying Data in Views.

Single User vs. Multiple Users

It's a good idea to create your application with the assumption that multiple users will be accessing the database at the same time. Visual FoxPro makes it easy to program for shared access. Programming for Shared Access describes techniques for allowing multiple users to simultaneously access your database.

International Considerations

If you know your application will be used only in a single-language environment, you don't have to worry about internationalization. If, on the other hand, you want to expand your market, or if your users could be dealing with international data or environment settings, you'll want to take these factors into account as you create the application. Developing International Applications discusses the issues you'll need to deal with as you develop applications for international use.

Local vs. Remote Data

If your application deals with remote data, you'll manage it differently than you would manage native Visual FoxPro data. How to: Create Views explains how to create views to local or remote data.

Backing up Your Source Code

In all application development, it's a good practice to make complete backup copies of your original program files before you build an application. Store the backup copies separately from your compiled applications.

Note

Be sure to maintain separate copies of your original source programs for future use. You cannot re-create your source programs from their compiled code.

See Also

Other Resources

Application Planning

Developing International Applications

Programming for Shared Access

Optimizing Applications