>>I am working on a small application that should run on FiC server. 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.
>>
>>Until now I copied the ab folder and subclassed the form class, and I could run the analyzer over that code, but it seems to make more sense to write the "correct" code from the start I suppose.
>
>Hi Christian
>
>As this is a raising demand, we'll probably add a "new project" option in
FAA>
>For 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.dbf>
ftp://foxincloud.com/ab/awAdapterStat.fpt>
ftp://foxincloud.com/ab/awAdapterStat.cdxOne quesiton, should I also add the aw.vcx Library to the project and use those classes as superclasses for all new classes, or is that not necessary?
Christian Isberner
Software Consultant