Date:  09/08/2009 12:04:57 PM Msg ID:  004021
From:  FoxWeb Support Thread:  004020
Subject:  Re: Hiding core codes in a .app?
You can absolutely do what you are asking for (both the .app and .fxp solutions). In fact, you could even just deploy the .fxp files for your .fwx scripts too. Once compiled, the .fwx files are not necessary for operation of the server.
FoxWeb Support Team email
Sent by Ali Koumaiha on 09/08/2009 11:44:37 AM:

I have a client where im developing a web application for him that uses FoxWeb server 4.3

what i want to do, is move my "core" codes from the scripts and i want to put them in a non-visible to the eye type format.

so, i created a class, i called it PortalClass, put it in a prg and all is working fine now still.

In the fwx:

oPortal = CreateObject("PortalClass")
oPortal.CustNo = "CDS100"
.... fwx script goes here...

however, PortalClass.prg is visible to him, and i do not want them to see it. 

can I turn PortalClass.prg into a, or just an fxp?

Then, how can i call/init my classes inside the from his fwx scripts without exposing my codes?

i hope i made sense in this post.