Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web-enabled application help needed...

Status
Not open for further replies.

phita

Programmer
Jun 8, 2001
82
KE
Hi,
I want to start a new project and the client insists that the application be web-enabled.
Please tell me exactly what a web-enabled app is and what it involves.
Can I create it using the VFP IDE, i.e. without using a web browser as the user interface?

Thanks
 
Hi Phita,

First, I would strongly suggest that you ask your client what they understand a web-based application is. They might mean that it is an app which runs on a web server and is accessible via browsers to users on the Internet. Or they might simply mean that it has to communicate in some way with existing web sites.

In other words, you need to know what the client wants. This is a fundamentally important point, and you cannot begin to design the app until you have sorted this with the client.

Assuming they want an app which actually runs on a web server, you will have to write all the functionality in the form of one or more COM objects. You will have to implement the user interface as a set of HTML pages. The HTML can communicate with the COM in several ways, of which the most common are: (i) instantiating the COM objects from a web-scripting language such as ASP or PHP; or (ii) using Microsoft's FoxISAPI (which is free with VFP) as an interface.

I have greatly simplified the explanation here. As you might have realised, it is very much a non-trivial exercise, especially if you have never done that kind of programming before.

The best souce of information I know is Rick Strahl's book, which covers just about everything you need to know on the subject. You can find more details of this book, including my review of it, on my web site (see below for URL). You sould also visit Rick's own site ( which contains a lot of useful material.

Good luck with this project. I hope you haven't quoted too a low price for it <g>.

Mike
Mike Lewis
Edinburgh, Scotland
 
Hi guys,
Thanks for your invaluable advice. One more things please. I have talked to the client and this is what he wants.
He operates a distribution business and has several depots. He wants the data to be centrally located on a server at the headquarters. Then the depots can access this data remotely. They shall all be running the same application (written in VFP) but extract the data via http. Is this possible, i.e. something like:

OPEN DATABASE 123.23.45.55\c\MyApp\Data\MyData

where &quot;c&quot; is the share name of drive C:

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top