Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Starting a new project..

$
0
0
Re: Starting a new project..
FoxInCloud
Re: Starting a new project..
Apr. 16, 2013
10:42 pm
3RH1COI93Show this entire thread in new window
Gratar Image based on email address
From:LLS
To:Michele
Hi Michele

Why did you need to use F.A.A with a new project ?

When i create on scratch a new project for a new application, i use:
- aw.vcx
- my own vcx name mylls.vcx based on aw.vcx
- all the new forms, objects are base on mylls.vcx
- all my code is using the wFormCallBack
- etc..
I never used again FAA for a new project..

Regards
Gilles


At the moment my structure is:

Commons\Common.VCX

ErpAcut\Erp.Vcx (derived from ..\Commons\Commons.Vcx)

ErpSupport\Support.VCX (derived from ..\ErpAcut\Erp.Vcx)

Without Adaptation....If i make the adaptation (project erpSupport\XXX.pjx) probably ..\Commons\Commons.Vcx will bb derived from XXX.Vcx (then derived from aw.vcx)


But what happens when i'll make the projects YYY in ErpAcut\YYY.PJX and i run the adaptation again ?



Ciao Michele,

regarding the classes, all your projects can share 'xxx.vcx' done by FAA.
to do this, I would rather have the following structure:
- projects\xxx.vcx
- projects\sharedLib1.vcx derived on xxx.vcx
- projects\sharedLib2.vcx derived on sharedLib1.vcx
- projects\*.vcx derived on *.vcx
-- project1\xxxTest1.pj?
-- project1\xxxTest.prg
-- project1\forms derived on *.vcx above
-- project1\site\xxxTest
-- project1\site\xxxProd

idem for project2-n

some tips:
1- you can rename xxxTest.pj? to whatever you want, even if you keep the rest with the default name
2- in needed, you can modify the COM server name in the project properties dialog (VFP default is .
3- you can redefine the same extension (*.xxx) on several sites or virtual directories in order to direct requests to the appropriate wc.dll; e.g.:
/project1/xxxTest/*.xxx go to \project1\xxxTest\bin\wc.dll
/project2/xxxTest/*.xxx go to \project2\xxxTest\bin\wc.dll
etc.



I have to create a new project, but i need to use many objects of the previous project.

In this i have a class container (Mobile.Vcx) that contains many objects i want in the new project. How can i do to start the new project ?

Copy the old one in a new folder and modify it or create one from new and rewrite my classes ? The old one has the prefix mob (mobtest and mobprog). Can i manually rename all the suffix mob with another one and create a new one ?




Viewing all articles
Browse latest Browse all 10393

Trending Articles