Lift-off

This chapter will give you first insights into the functionality of the Active FoxPro Pages and how to build and execute simple AFP documents.

In the configuration presented here we use c:\inetpub\wwwroot as the root directory for the Web server. Whenever you invoke this in the browser the Web server will attempt to display a standard HTML page. Different Web servers display different standard pages.

In the IIS, this page is default.htm, in Apache it is index.htm. You have the option to make your free choice, however, and you may change this at any time. For the deployment of AFP we recommend setting the default page to default.afp or index.afp.

To get to your Web server inside the browser, enter the computer's domain name in the address bar. If the computer in question does not have its own domain you may use the computer name or IP address as target address. If you are working directly on the machine you may also use http://localhost/.

We will save our first AFP example in the folder c:\inetpub\wwwroot. To build it, any text editor will do. Notepad would be best, as it is available on all Windows systems.

More:

Hello World

What time is it?

Data Access

Selective Data Acess