I want to know the good practices when developing applications utilizing GWAN.
I have starter small app (but crucial part of big project) which will be utilizing C++ OOP. At least that means I have classes to get initialized on HTTP requests.
How I am supposed to structure the sources in order to use them in effective and practical manner while developing for GWAN? Do I have to develop the application separately and link it like a shared/static library? Or can I include them and GWAN do the build as it's doing for the scripts in the CSP folder? I found that if I put them in the CSP folder the result is failure to startup the server as it fails with error for missing main function in the cpp files which are holding classes implementations. Because of this I accepted that putting sources in CSP is not the way to do the work and there should only be initial script which will route all requests to the application.
Another thing which is related is that I am struggling to find out practical working environment to allow me to build and test faster in the case I'd have to build a library to be utilized trough CSP. Maybe I will create a way to test the app separately, however testing fast in GWAN environment is a non-visible solution for me at this time, which I believe is there.
The deployment of updated version of the APP under GWAN should happens as easy and fast as possible - what is the way? I do know that this question will likely clear by acknowledging answers to the above but let me leave it just in case I am very wrong with my current understandings on this whole topic.