I have an application written in C. I have to develop a GUI for it. This application will be connected to the internet and will send and receive requests and responses through the network.
One way is to write the code in PHP to send and receive requests and responses by POST or something, and compile the C code into an executable, and then use PHP's shell_exec() function to run that exe. Is this good approach?
I am a beginner and I want to know what would be the best way to go about this kind of thing. Performance is definitely important, but modern look and feel of GUI is also very important.