Step By Step: MVC Development with Business Objects

In the Getting Started guide, I've shown you how to use VFP's data language to create cursors and then display that data. This works well, but it's not really great application design and most applications do or should use business object for the data access.

In this guide, we'll take a more disciplined approach and I'll demonstrate how to use business objects using the wwBusinessObject class to manage your business logic and using a Model, View, Controller (MVC) based HTML rendering approach that separates your code from your HTML markup by using Scripts and Templates.

Online Sample Code

You can find the sample code for the completed projects at the following GIT BitBucket repository:

Web Connection Step By Step Samples on BitBucket

You can clone the repository, or use Download Button to grab a Zip file of the completed project folder.


© West Wind Technologies, 1996-2024 • Updated: 03/11/20
Comment or report problem with topic