PHP does what now?
So another session I visited yesterday was given by a hydrodynamical engineer (if I recall correctly) that used PHP to help him generate floodmodels. At first this didn’t sound like a task you would consider PHP to be good for but then he explained how he used it.
He has written a library that ‘glues’ all the seperate FORTRAN / C programs together using PHP so he can input raw data at the beginning and at the end it comes out the way he wants to without the need for him to input-output-input-outpunt-etc all the data into every seperate program. In between he uses MySQL and flat text files to save the intermediate data.
After all the processing is finished he then takes PHP with the GD extension and creates charts, animations and even small animated flooding movies from the data he has stored in the database.
The actual work, even though impressive, wasn’t that interesting to me, the interesting thing is that this engineer took PHP to do a job that it was good at, glueing components together. Utilising it strengths and acknowledging it’s weaknesses allowed the engineer to make his life easier. This should be a good lessen for all of you.