Coming from a VFP and VPME background, I am wondering what is the best practice for applications that use SQL Databases. In VFP applications I normally use Views for Forms and Reports and separate them into two or more databases. Also, I would try to use Views instead of Filters most of the time. Is the way I would do it in VFP still the best way for SQL database applications?
- Is it best to separate tables and views into separate databases? I noticed the Strataflix and Strataframe samples both show views and tables together in the same DB but this may be just for simplification
- Should Maintenance Forms be based on views or tables?
- Should Reports use views or tables?
- When is it best to use a View as opposed to a table or a table with a filter?
- Also, I plan to develop applications using SF that I want to be able to sell just parts of as well as the entire application as a whole. For example, I'm working on a Safety Review application that could be sold as a complete package or someone might just want to purchase the OSHA package, ADA package, Driver/Employee File package, Vehicle Inspections package, etc. I might also have a Lite/Express version too for example.
- I'd be interested how others are doing it and what make the most sense in terms of flexibility, especially since I have the opportunity to start from "scratch" so to speak.
Thanks!
Russ Brown (Using C#2010/SQL Server 2008)