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 Samples - VFP source for the demos that ship with WWWC wwThreads - VFP Source for the Message Board wwReader - VFP Source for the Message Board Offline Reader application
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. The Setup program topic takes you through the installation steps - please read these topics as you step through the installation.
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. For IIS setup please see the IIS Configuration topic.
In lieu of full IIS, you can also use IIS Express which is a small, local Web Server that doesn't require extensive configuration or admin rights. If you go this route choose IIS Express during configuration.
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