Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create new project
Message
From
09/04/2018 09:31:42
 
 
To
08/04/2018 12:32:39
General information
Forum:
Visual FoxPro
Category:
FoxInCloud
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01659235
Message ID:
01659260
Views:
85
This message has been marked as the solution to the initial question of the thread.
>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.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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform