The step by step guide takes you through creating a new project and then creating several request handler methods that respond to Web requests. This guide is an introduction to some of the features of Web Connection and uses primarily FoxPro data language commands directly in code to access data and display it.
You can find the sample code for the completed projects at the following Github repository:
You can clone this repository, or grab a Zip file of the completed project folder so you can grab the HTML templates to avoid typing all the HTML and code manually.
After you've worked through this guide we recommend you check out the Step By Step with the wwBusiness Object guide, which uses the wwBusiness object to handle data access. Besides using the business object and showing how to utilize a business object in a Web based application, it also shows a few more advanced techniques for generating HTML interfaces in your applications.
Web Connection works with three different Web servers, two of which are considered development Web servers:
- Full IIS (used for production, optionally for dev)
- IIS Express (dev only)
- Web Connection Web Server (dev, optionally for production)
For local development we recommend you use either IIS Express or the Web Connection Web Server both of which require installation (instructions in the first topic).
Servers can be used interchangeably assuming they are installed and configured - it's easy to switch between them. Functionality between different server types is very, very close, but there can be very small differences. Always test your application on your final production server before taking it live.
- Step 1 - Creating a new project
- Step 2 - Testing the installation
- Step 3 - Adding our own Request Method
- Step 4 - Adding simple User Input with QueryStrings
- Step 5 - Drilling down into the customer list
- Step 6 - Scripts and Templates and Setting up an HTML Editor
- Step 7 - Capturing Form Data Using Scripts and Templates
- Step 8 - Capturing Data and Validation Errors
- Step 9 - Bonus: Use Live Reload and an External Editor to speed up HTML and Code Editing
Comment or report problem with topic