Date:  10/15/2002 06:12:42 PM Msg ID:  000926
From:  FoxWeb Support Thread:  000912
Subject:  Re: 3 Tier Concept With FoxWeb
The definition of tiers in a Web based application is not very clear, so you should be a little more specific.  What's the first tier (presentation layer)?  Is it the browser, or is it the server side application that creates the HTML code?
 
In any case, FoxWeb is designed to be called directly by the Web server, so there can't be another presentation layer between the Web server and FoxWeb.  Typically FoxWeb scripts make up both the presentation and data logig layers, but if you want you can create components that contain the data logic and interface with the database, and call them from your FoxWeb scripts.  These components can be created in any language that supports the creation of COM objects, such as VFP, VB and C++.
 

FoxWeb Support Team
support@foxweb.com email

Sent by Bret Hobbs on 10/08/2002 05:28:24 AM:
Can FoxWeb be used in a three tier concept as the middle tier?  What we have here is a new development that begins with Dreamweaver and ends with FoxPro.  What I would like is that all of my data logic be put into FoxWeb versus lets say calling COM objects or Web Services.  Does anyone have advice on how to do this or words of warning.  We would like to set up this new web system to be independent in all tiers.  So if we decide to go to a different front end or middle or back end we would not have to rewrite the whole project.  The best I have done in the past is 2 tier with the presentation layer and the data logic layer being combined.  Which is not the best way to go.  Any help would be appreciated.
 
Bret

The early bird may get the worm, but the second mouse gets the
cheese.