The first step in getting going with Web Connection is to install the product. Web Connection ships as a self-extracting zip file that you download from the Web.
Click on the EXE file and unzip the application into a directory of your choice. The file is a WinZip self-extracting file, so it should ask you to either open the file or extract the content to a directory of your choice. I suggest you extract to a directory. This first step creates the Web Connection application directories, which are where all of the source and support files get installed.
Web Connection installs a hierarchy of directories as follows:
c:\wconnect classes* - VFP source and direct support files for the framework (required for development) Web - HTML sample pages Templates* - Templates for new Web projects and various generators Tools - several useful support tools and classes VisualStudio - Visual Studio Addin and Page Templates Samples - VFP source for the demos that ship with WWWC
The next vital step is to run the Setup program which is installed into the Application root directory. To run it, start Windows Explorer, go to the Web Connection install directory and double click on Setup.Exe.
Please go through this topic in the documentation:
It takes you through the installation steps, shows how to start up the server and run the sample application.
If you plan on using IIS, make sure IIS is installed and configured before you run the Setup program. You also have to be an administrator is you plan on using IIS. IIS Configuration topic
In lieu of full IIS, you can also use IIS Express or the Web Connection Web Server which are small, local Web Servers that doesn't require extensive configuration or admin rights. If you go this route choose IIS Express or Web Connection Web Server during configuration. Both servers have installation requirements. IIS Express Configuraton, Web Connection Web Server Configuration
Once you've installed Web Connection and maybe have played with the sample application, you'll probably want to create a new project. To take you through these steps please go through this tutorial:
This walk though demonstrates some of the core functionality of Web Connection and walks you through a few ways you can generate output and capture input in your applications.
If something goes wrong during installation and your server won't work you can look at the Setup Troubleshooting topic, which describes a number of problem scenarios and attempts to take you through them. If these don't work for you you should post a message on the message board at http://www.west-wind.com/wwThreads/.
This step serves two purposes: It makes sure that the installation works and lets you see Web Connection in action with demos that you can look at and code you can step through if you choose. Make sure you run the Web Connection server (
DO wcDemoMain.prg). You Should be able to navigate to http://localhost/wconnect/ to get started.
Most of the examples on the demo pages have links to show you the source code required to create that request by clicking on the
Show Code link on the bottom of the page. At this time you can also start poking around in the code, making a few adjustments, maybe creating a new method and stepping through the code to get an idea what's involved in writing code for Web functionality.
The user guide contains several getting started guides for Web Connection that let you see how Web Connection works. These are walk-throughs that show you common operations and the workflow to create Web requests with Web Connection.
See alsoRoadmap to starting out with Web Connection | Unzipping the self extracting Zip file | The Setup program | Setup troubleshooting | The Web Connection Management Console
Comment or report problem with topic