One can edit or upload source files for a compiler online, and have a program generated for them at a website, without compiling on a local machine. The server can compile the program and even launch the program inside the web browser as a CGI, or the program could be downloaded.
Note: The compile-studio just proves that a compiler can easily run on any typical server, and it is not the entire system. It is just a temporary but fully functional demo that hints at what comes next - a more advanced editor.
Currently available is a demo that shows you why this is easy and powerful for web developers looking to build fast native FPC/GCC cgi programs on remote servers in some country across the world:
You only need to upload an FPC compiler to your CGI-BIN, along with the RTL units that you need, and an FPC cfg file. It takes 5-15 minutes to upload FPC and the RTL, depending on your internet connection to do all this, and then you never would worry again about cross platform web development issues. It is really easy, actually, and once you have done it on one server you will know how to do it on any server (cpanel, plesk, or other typical hosting accounts).
This system could also work with GCC/D/Ada or other compilers too.
The advantage of the .PAS files over .PHP files is that with .PAS files and our system, we have strong typing and extra safety checks. One can compile their program and check for errors before launching it live.
The HTTP tunneling system lets you edit your source files in your favorite IDE or text editor on your PC, but you don't have to compile the program on your local machine.. you just upload source files to the server, and the server precompiles it for you - similar to PHP/ASP development but the programs run as true native programs!
Pretend you have a Linux server (cpanel/plesk, etc), but you are working on a Windows Desktop (windows xp, windows 98, windows 2000, etc).
First you would upload a linux fpc/ppc386 compiler somewhere in cgi-bin, along with the RTL units. We will provide this compiler if you don't have a copy form the fpc website (linux or the target you require).
The only thing you have to do was modify the main fpc.cfg file to point to the units relative to the ppc386 compiler. If the ppc386 elf compiler is in:
cgi-bin/compile-studio/fpc204/ ...the fpc.cfg file should be placed in that same directory.Then, the units could be placed in
cgi-bin/compile-studio/fpc204/units/i386-linux/..or somewhere similar.. it is up to you. Place them relative to ppc386 executable.
Before uploading the fpc.cfg file, first modify the -Fu paths:
-Fuunits/$fpctarget/rtl/ -Fuunits/$fpctarget/*/ etc.Why can I do this without supplying absolute path?
-Fu/absolute/path/cgi-bin/units/Because the fpc.cfg file is located in the same directory as ppc386... and it knows about relativity. The Units/ folder is relative to PPC386 executable.
One advantage of using something like compile-studio is that you get to see your typo/typechecking errors before deploying the application, whereas without any compilation you would risk deploying a live application with typo/typechecking issues..(many PHP scripts for example give you the typical "error on line 5" message).
Obviously that doesn't mean your web programs that you produce with compile studio have to be private... of course you can make them public.