Jump to content

geantbrun

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

geantbrun's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi guys, I'm relatively new to the domain of web programming and I need your opinion about the design of my website (server platform is Linux). The target audience is financial institutions, not too much traffic on the site but each client needs from time to time heavy calculations. Typically, the institution enters some parameters and the site would return results later (graphs, pdf file). 1 - I'm considering Joomla for the website design with some forms component to get user parameters filled in mysql tables. 2 - in some ways, I have to launch a program in the background (don't know how) that will do the number crunching (see below). 3 - the routine is started (but not finished) and the control returns to the the website. A message like this shows: "Thank you, you will receive an email when results are ready". The step 2 could be done by a C++ program (actually, I already coded the heavy loops in this language) but I was thinking of PHP as a wrapper of the main routine in C. In PHP, it's easy to read parameters from mysql tables, create graphs (open flash charts?) and send email confirmation at the end. My questions are: - is this design good? Am I missing something? - is it a good idea to wrap the C routine with PHP? how to launch the PHP program in the background? - how to pass parameters from PHP to C++? Instead of having a neat solution to pass parameters, would it be easier to dump data in text files for the communication between PHP and C++? Data is not big here (and it's equally true for the input and the output) and time to read and write files is not important compared to the time for calculations itself. Any hint would be greatly appreciated, Patrick
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.