>Hi,
>
>I have to construct a small app which to be run with FitC and would like to start from 0, however most information seems to be about converting existing applications and not creating a framework or application from scratch. I wonder if there is a sample application (one screen app) that I could look at to get started.
>
>Regards,
>
>Koen
Hi Koen,
As this is a raising demand, we'll probably add a "new project" option in
FAAFor now, you just need to:
- create a new project
- add all libraries you think of using for the project
- add a new form with a command button and some code such as cmdOK.click()
- open this project in FAA
- go through the 3 steps
At this point, FAA has created for you (among others):
- a class library with sub-classes of the FoxInCloud base classes "aw.vcx", named 'xxx.vcx' (you choose 'xxx')
- an app environment class "xxxSets.prg"
- your localhost test site: http://localhost/xxxTest/
To later develop your app, use classes from 'xxx.vcx'; eg. to create a new form:
create form myform as xxxFrm from xxx.vcx
Drag and drop controls from your xxx.vcx to your form.
To learn how to code the FoxInCloud way, the main resource are:
Note you can get the same applications running in your VFP IDE after you've downloaded and installed the free
FoxInCloud Web App Studio --> see "FoxInCloud" menu
Here is a table with all adaptations sorted by desc. importance, with links to tutorial and detailed hints (also in awAdapterStat.zip attached):
ftp://foxincloud.com/ab/awAdapterStat.dbfftp://foxincloud.com/ab/awAdapterStat.fptftp://foxincloud.com/ab/awAdapterStat.cdx
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)